Changeset 427 for vendor/current/source3/smbd/reply.c
- Timestamp:
- Apr 9, 2010, 3:20:58 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vendor/current/source3/smbd/reply.c
r414 r427 2397 2397 ret = SMB_VFS_LSTAT(conn, smb_fname); 2398 2398 } else { 2399 ret = SMB_VFS_ LSTAT(conn, smb_fname);2399 ret = SMB_VFS_STAT(conn, smb_fname); 2400 2400 } 2401 2401 if (ret != 0) { … … 5847 5847 smb_fname_str_dbg(smb_fname_dst))); 5848 5848 5849 if (lp_map_archive(SNUM(conn)) || 5850 lp_store_dos_attributes(SNUM(conn))) { 5851 /* We must set the archive bit on the newly 5852 renamed file. */ 5853 if (SMB_VFS_STAT(conn, smb_fname_dst) == 0) { 5854 uint32_t old_dosmode = dos_mode(conn, 5855 smb_fname_dst); 5856 file_set_dosmode(conn, 5857 smb_fname_dst, 5858 old_dosmode | FILE_ATTRIBUTE_ARCHIVE, 5859 NULL, 5860 true); 5861 } 5862 } 5863 5849 5864 notify_rename(conn, fsp->is_directory, fsp->fsp_name, 5850 5865 smb_fname_dst);
Note:
See TracChangeset
for help on using the changeset viewer.