Changeset 154 for branches


Ignore:
Timestamp:
Aug 21, 2008, 10:39:38 AM (17 years ago)
Author:
Yuri Dario
Message:

If a pending time is stored, do not change also the file. Fixes ticket:60.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.0/source/smbd/trans2.c

    r134 r154  
    41624162                        fsp_set_pending_modtime(fsp, ts[1]);
    41634163                }
    4164 
    4165         }
     4164        }
     4165#ifdef __OS2__
     4166        /* YD ticket#60, the file is opened, we cannot write to it,
     4167         * so we can return immediately (see above for more comments).
     4168         */
     4169        else {
     4170#endif
    41664171        DEBUG(10,("smb_set_file_time: setting utimes to modified values.\n"));
    41674172
     
    41694174                return map_nt_error_from_unix(errno);
    41704175        }
     4176#ifdef __OS2__
     4177        }
     4178#endif
    41714179        if (action != 0) {
    41724180                notify_fname(conn, NOTIFY_ACTION_MODIFIED, action, fname);
Note: See TracChangeset for help on using the changeset viewer.