summaryrefslogtreecommitdiffstats
path: root/src/syrep.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-03-22 13:26:54 +0000
committerLennart Poettering <lennart@poettering.net>2004-03-22 13:26:54 +0000
commit579cae885dbeae7e25e60096c7342ebb0e86aa99 (patch)
tree853b69e907fc22135b3e3ca9af51ae982aff84ce /src/syrep.c
parent975c6f9f7779d2d2d92280c19661c868fd05ca19 (diff)
prepare release 0.4:
use madvise() fix mmap() copy bug update for libd 4.2 git-svn-id: file:///home/lennart/svn/public/syrep/trunk@53 07ea20a6-d2c5-0310-9e02-9ef735347d72
Diffstat (limited to 'src/syrep.c')
-rw-r--r--src/syrep.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/syrep.c b/src/syrep.c
index 059dde0..17e6427 100644
--- a/src/syrep.c
+++ b/src/syrep.c
@@ -545,12 +545,17 @@ static int version(const char *argv0) {
"Compiled with %i Bit off_t.\n"
"Compiled with zlib %s, linked to zlib %s.\n"
"Compiled with libdb %i.%i.%i, linked to libdb %i.%i.%i\n"
- "SVN Revision "SVN_REVISION"\n",
+ "SVN Revision "SVN_REVISION"\n"
+#ifdef USE_SENDFILE
+ "Using sendfile(): yes\n",
+#else
+ "Using sendfile(): no\n",
+#endif
argv0,
sizeof(off_t)*8,
ZLIB_VERSION, zlibVersion(),
DB_VERSION_MAJOR, DB_VERSION_MINOR, DB_VERSION_PATCH,
- major, minor, patch);
+ major, minor, patch );
return 0;
}