Ignore:
Timestamp:
Apr 9, 2010, 3:20:58 PM (15 years ago)
Author:
Silvan Scherrer
Message:

Samba 3.5.x: update to 3.5.2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vendor/current/source3/smbd/reply.c

    r414 r427  
    23972397                ret = SMB_VFS_LSTAT(conn, smb_fname);
    23982398        } else {
    2399                 ret = SMB_VFS_LSTAT(conn, smb_fname);
     2399                ret = SMB_VFS_STAT(conn, smb_fname);
    24002400        }
    24012401        if (ret != 0) {
     
    58475847                          smb_fname_str_dbg(smb_fname_dst)));
    58485848
     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
    58495864                notify_rename(conn, fsp->is_directory, fsp->fsp_name,
    58505865                              smb_fname_dst);
Note: See TracChangeset for help on using the changeset viewer.