OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-322-g68aace4
Gerrit Code Review
Thu, 28 Oct 2010 10:47:10 -0700 (PDT)
The following commit has been merged in the master branch:
Author: Rod Widdowson <firstname.lastname@example.org>
Date: Thu Oct 28 18:34:41 2010 +0100
Windows: fix built in touch
Recent versions of windows add a whole bunch of attributes above
A_ARCH. (FILE_ATTRIBUTE_NOT_CONTENT_INDEXED was what bit be but
encryption of compression would do it).
This makes ~_A_ARCH not a good choice for testing nonwritability
of a file - so files with these new attributes just get silently ignored.
Using an explicit mask is much better. So do that.
Reviewed-by: Derrick Brashear <email@example.com>
Tested-by: Derrick Brashear <firstname.lastname@example.org>
src/config/touch.c | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
OpenAFS Master Repository