[SCM] Samba Shared Repository - branch master updated
Björn Jacke
bjacke at samba.org
Wed Jan 6 10:30:37 MST 2010
The branch, master has been updated
via e172b21... Ñ3:configure: use gettimeofday check from lib/util/
via 350db0b... vfs_commit: print warning when no fsync support is there
from c01f443... tdb: fix standalone 'make installdocs'
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit e172b219eec72e978b3c754c4767e999b184c0ed
Author: Björn Jacke <bj at sernet.de>
Date: Wed Jan 6 15:32:15 2010 +0100
Ñ3:configure: use gettimeofday check from lib/util/
commit 350db0bf2548bd670ebff4587580ba9ca9212ac8
Author: Björn Jacke <bj at sernet.de>
Date: Sun Dec 13 21:56:28 2009 +0100
vfs_commit: print warning when no fsync support is there
this one was part of an old patch from jpeach.
-----------------------------------------------------------------------
Summary of changes:
source3/configure.in | 10 +---------
source3/modules/vfs_commit.c | 2 ++
2 files changed, 3 insertions(+), 9 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/configure.in b/source3/configure.in
index 7d34237..e3f53b4 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -120,6 +120,7 @@ fi
m4_include(../lib/socket_wrapper/config.m4)
m4_include(../lib/nss_wrapper/config.m4)
+m4_include(../lib/util/time.m4)
m4_include(m4/swat.m4)
@@ -2216,15 +2217,6 @@ if test x"$samba_cv_HAVE_FUNCTION_MACRO" = x"yes"; then
AC_DEFINE(HAVE_FUNCTION_MACRO,1,[Whether there is a __FUNCTION__ macro])
fi
-AC_CACHE_CHECK([if gettimeofday takes tz argument],samba_cv_HAVE_GETTIMEOFDAY_TZ,[
-AC_TRY_LINK([
-#include <sys/time.h>
-#include <unistd.h>], [struct timeval tv; return gettimeofday(&tv, NULL);],
- samba_cv_HAVE_GETTIMEOFDAY_TZ=yes,
- samba_cv_HAVE_GETTIMEOFDAY_TZ=no)])
-if test x"$samba_cv_HAVE_GETTIMEOFDAY_TZ" = x"yes"; then
- AC_DEFINE(HAVE_GETTIMEOFDAY_TZ,1,[Whether gettimeofday takes a tz argument])
-fi
if test x"$samba_cv_WITH_PROFILE" = x"yes"; then
diff --git a/source3/modules/vfs_commit.c b/source3/modules/vfs_commit.c
index 1d09949..cade117 100644
--- a/source3/modules/vfs_commit.c
+++ b/source3/modules/vfs_commit.c
@@ -88,6 +88,8 @@ static int commit_do(
#elif HAVE_FSYNC
result = fsync(fd);
#else
+ DEBUG(0, ("%s: WARNING: no commit support on this platform\n",
+ MODULE));
result = 0
#endif
if (result == 0) {
--
Samba Shared Repository
More information about the samba-cvs
mailing list