svn commit: samba r21956 - in branches: SAMBA_3_0/source/modules
SAMBA_3_0_25/source/modules
jra at samba.org
jra at samba.org
Fri Mar 23 22:23:10 GMT 2007
Author: jra
Date: 2007-03-23 22:23:09 +0000 (Fri, 23 Mar 2007)
New Revision: 21956
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=21956
Log:
Fix bug reported by don.mccall at hp.com for platforms
without utimes() call (only utime()).
Jeremy.
Modified:
branches/SAMBA_3_0/source/modules/vfs_default.c
branches/SAMBA_3_0_25/source/modules/vfs_default.c
Changeset:
Modified: branches/SAMBA_3_0/source/modules/vfs_default.c
===================================================================
--- branches/SAMBA_3_0/source/modules/vfs_default.c 2007-03-23 22:19:12 UTC (rev 21955)
+++ branches/SAMBA_3_0/source/modules/vfs_default.c 2007-03-23 22:23:09 UTC (rev 21956)
@@ -632,7 +632,7 @@
}
#elif defined(HAVE_UTIME)
{
- struct utimebuf times;
+ struct utimbuf times;
times.actime = convert_timespec_to_time_t(ts[0]);
times.modtime = convert_timespec_to_time_t(ts[1]);
result = utime(path, times);
Modified: branches/SAMBA_3_0_25/source/modules/vfs_default.c
===================================================================
--- branches/SAMBA_3_0_25/source/modules/vfs_default.c 2007-03-23 22:19:12 UTC (rev 21955)
+++ branches/SAMBA_3_0_25/source/modules/vfs_default.c 2007-03-23 22:23:09 UTC (rev 21956)
@@ -632,7 +632,7 @@
}
#elif defined(HAVE_UTIME)
{
- struct utimebuf times;
+ struct utimbuf times;
times.actime = convert_timespec_to_time_t(ts[0]);
times.modtime = convert_timespec_to_time_t(ts[1]);
result = utime(path, times);
More information about the samba-cvs
mailing list