Hi list,

now, I'm not aware how latest distros handle the file size problem for the 2 GB barrier, but some of us who run production systems experience a "cabum... it stopped" effect when Kannel log files hit the barrier.

Maybe we should do apply the CFLAGS value as default for linux? Attached patch does this very simply.

Comments and votes please. :)

Stipe

-------------------------------------------------------------------
Kölner Landstrasse 419
40589 Düsseldorf, NRW, Germany

tolj.org system architecture      Kannel Software Foundation (KSF)
http://www.tolj.org/              http://www.kannel.org/

mailto:st_{at}_tolj.org           mailto:stolj_{at}_kannel.org
-------------------------------------------------------------------
### Eclipse Workspace Patch 1.0
#P gateway-cvs
Index: configure.in
===================================================================
RCS file: /home/cvs/gateway/configure.in,v
retrieving revision 1.166
diff -u -r1.166 configure.in
--- configure.in        23 Mar 2006 18:32:34 -0000      1.166
+++ configure.in        3 Jun 2006 03:36:04 -0000
@@ -140,7 +140,7 @@
     LIBTOOL="libtool -static -o" 
     ;;
   *-linux-*)
-    CFLAGS="$CFLAGS -D_XOPEN_SOURCE=600 -D_BSD_SOURCE"
+    CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE"
     LDFLAGS="$LDFLAGS -rdynamic"
     ;;
   *-*-openbsd* | *-*-freebsd*)

Reply via email to