svn commit: samba r515 - trunk/source/smbwrapper

ab at samba.org ab at samba.org
Thu May 6 14:36:43 GMT 2004


Author: ab
Date: 2004-05-06 14:36:43 +0000 (Thu, 06 May 2004)
New Revision: 515

Modified:
   trunk/source/smbwrapper/realcalls.h
Log:
On GNU/Linux distributions which allow to use both 2.4 and 2.6 kernels
there is SYS_utimes syscall defined at compile time in glibc-kernheaders but 
it is available on 2.6 kernels only. Therefore, we can't rely on syscall at 
compile time but have to check that behaviour during program execution. An easy 
workaround is to have replacement for utimes() implemented within our wrapper and 
do not rely on syscall at all. Thus, if REPLACE_UTIME is defined already (by packager), 
skip these syscall shortcuts.


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/&rev=515&nolog=1


More information about the samba-cvs mailing list