diff options
author | Björn Jacke <bj@sernet.de> | 2009-11-04 11:15:31 +0100 |
---|---|---|
committer | Björn Jacke <bj@sernet.de> | 2009-11-04 15:54:51 +0100 |
commit | 51cb96271b4f9a4bd37b44bdb6042913b60ba3c1 (patch) | |
tree | 9562c23809d9b6733b1bd1f893b728261a1142d6 /source3/configure.in | |
parent | b8ecf39d9f6f75a31f3eeee9ceca2e20001bbf42 (diff) | |
download | samba-51cb96271b4f9a4bd37b44bdb6042913b60ba3c1.tar.gz samba-51cb96271b4f9a4bd37b44bdb6042913b60ba3c1.tar.bz2 samba-51cb96271b4f9a4bd37b44bdb6042913b60ba3c1.zip |
s3: add support for full windows timestamps resolution on files
setting nanosecond timestamps using utimensat() was first supported by Linux
kernel 2.6.22 and glibc 2.6. It's specified in POSIX.1-2008.
This effectively makes us use Windows' full 100ns timestamp resolution -
actually just an improvement from 10^-6 to 10^-7.
For now Linux CIFS vfs will also just be able to make use of 100ns resolution,
not 1ns.
Diffstat (limited to 'source3/configure.in')
-rw-r--r-- | source3/configure.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/configure.in b/source3/configure.in index 83ea8579e6..715f1598ef 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -1066,6 +1066,7 @@ AC_CHECK_FUNCS(setenv strcasecmp fcvt fcvtl) AC_CHECK_FUNCS(syslog vsyslog timegm) AC_CHECK_FUNCS(setlocale nl_langinfo) AC_CHECK_FUNCS(nanosleep,,[AC_CHECK_LIB_EXT(rt, LIBS, nanosleep)]) +AC_CHECK_FUNCS(utimensat) AC_CHECK_FUNCS(mlock munlock mlockall munlockall) AC_CHECK_FUNCS(memalign posix_memalign hstrerror) AC_CHECK_HEADERS(sys/mman.h) |