Ignore:
Timestamp:
Jun 4, 2010, 3:11:43 PM (15 years ago)
Author:
Silvan Scherrer
Message:

Samba Server 3.5: merged changes from 3.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/source3/smbd/reply.c

    r429 r454  
    56525652        bool dst_exists, old_is_stream, new_is_stream;
    56535653
     5654/* borrowed from 3.3 source patch by Apple */
     5655#ifdef __OS2__
     5656        bool check_dest_exist = False;
     5657#else
     5658        bool check_dest_exist = True;
     5659#endif
     5660
    56545661        status = check_name(conn, smb_fname_dst_in->base_name);
    56555662        if (!NT_STATUS_IS_OK(status)) {
     
    57895796        dst_exists = SMB_VFS_STAT(conn, smb_fname_dst) == 0;
    57905797
    5791         if(!replace_if_exists && dst_exists) {
     5798        if(check_dest_exist && !replace_if_exists && dst_exists) {
    57925799                DEBUG(3, ("rename_internals_fsp: dest exists doing rename "
    57935800                          "%s -> %s\n", smb_fname_str_dbg(fsp->fsp_name),
Note: See TracChangeset for help on using the changeset viewer.