svn commit: samba r516 - in branches/SAMBA_3_0/source: smbwrapper
utils
ab at samba.org
ab at samba.org
Thu May 6 14:38:31 GMT 2004
Author: ab
Date: 2004-05-06 14:38:31 +0000 (Thu, 06 May 2004)
New Revision: 516
Modified:
branches/SAMBA_3_0/source/smbwrapper/realcalls.h
branches/SAMBA_3_0/source/utils/ntlm_auth.c
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=/branches/SAMBA_3_0/source&rev=516&nolog=1
More information about the samba-cvs
mailing list