creation times of files
Erik Devriendt
Erik.Devriendt at te6.siemens.be
Tue Aug 5 15:38:59 GMT 1997
Erik Devriendt at ENERGY
05/08/97 17:38
During the port of samba 1.9.16p10 to STRATUS VOS, I modified the
function reply_close() in reply.c is such a way that it first closes the
file and
then sets the file times.
The original samba code first sets the file times and then closes the file.
The STRATUS VOS version of samba handles the file times correctly,
perhaps the same modification should be done in the UNIX samba.
#ifdef STRATUS
{
/* first close, then set time */
pstring name;
strcpy(name,Files[fnum].name);
close_file(fnum);
set_filetime(name,mtime);
}
#else
/* try and set the date */
set_filetime(Files[fnum].name,mtime);
close_file(fnum);
#endif
More information about the samba
mailing list