diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-10-26 09:52:00 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:04:47 -0500 |
commit | 1fa9cb1449c5022f3ea55c4d9ceb02d2cd761cbf (patch) | |
tree | e51c51e4ed5fc60bb72dc946d4156edab05d7fb3 /source4/ntvfs | |
parent | b3ada7f4f51392efd7292be023c11e9574b58458 (diff) | |
download | samba-1fa9cb1449c5022f3ea55c4d9ceb02d2cd761cbf.tar.gz samba-1fa9cb1449c5022f3ea55c4d9ceb02d2cd761cbf.tar.bz2 samba-1fa9cb1449c5022f3ea55c4d9ceb02d2cd761cbf.zip |
r3258: fixed "don't change" attribute for RAW_SFILEINFO_BASIC_INFO
(This used to be commit 51f84800d50f44ec47a34e1c922c6197eb794558)
Diffstat (limited to 'source4/ntvfs')
-rw-r--r-- | source4/ntvfs/posix/pvfs_setfileinfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ntvfs/posix/pvfs_setfileinfo.c b/source4/ntvfs/posix/pvfs_setfileinfo.c index 4b00a8ac5d..bba3ee3747 100644 --- a/source4/ntvfs/posix/pvfs_setfileinfo.c +++ b/source4/ntvfs/posix/pvfs_setfileinfo.c @@ -226,7 +226,7 @@ NTSTATUS pvfs_setpathinfo(struct ntvfs_module_context *ntvfs, if (info->basic_info.in.change_time) { newstats.dos.change_time = info->basic_info.in.change_time; } - if (info->basic_info.in.attrib != FILE_ATTRIBUTE_NORMAL) { + if (info->basic_info.in.attrib != 0) { newstats.dos.attrib = info->basic_info.in.attrib; } break; |