diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-12-18 01:16:04 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:07:29 -0500 |
commit | b02c5abfb470575a67ced192b2913b5a1c73dd3e (patch) | |
tree | 74469dac6ab1533fa12acbed6a534a0b9e448097 /source4/ntvfs/posix/pvfs_util.c | |
parent | b706555b3a4ed3c8d459ae86b4c332fa41041f57 (diff) | |
download | samba-b02c5abfb470575a67ced192b2913b5a1c73dd3e.tar.gz samba-b02c5abfb470575a67ced192b2913b5a1c73dd3e.tar.bz2 samba-b02c5abfb470575a67ced192b2913b5a1c73dd3e.zip |
r4262: a sniff from kukks showed that the FILE_ATTRIBUTE_NORMAL handling in
pvfs was not correct. This should fix a xcopy bug on OS/2.
(This used to be commit 7251f1fcdd8980e9c49a58e665374025e07bb8d0)
Diffstat (limited to 'source4/ntvfs/posix/pvfs_util.c')
-rw-r--r-- | source4/ntvfs/posix/pvfs_util.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/source4/ntvfs/posix/pvfs_util.c b/source4/ntvfs/posix/pvfs_util.c index 67dd9d22b3..6026b9fbf3 100644 --- a/source4/ntvfs/posix/pvfs_util.c +++ b/source4/ntvfs/posix/pvfs_util.c @@ -70,9 +70,6 @@ NTSTATUS pvfs_match_attrib(struct pvfs_state *pvfs, struct pvfs_filename *name, */ uint32_t pvfs_attrib_normalise(uint32_t attrib) { - if (attrib == 0) { - attrib = FILE_ATTRIBUTE_NORMAL; - } if (attrib != FILE_ATTRIBUTE_NORMAL) { attrib &= ~FILE_ATTRIBUTE_NORMAL; } |