From 293bb81f22108f1ba9681d07039bf0c91352fce2 Mon Sep 17 00:00:00 2001 From: Joey Schulze Date: Thu, 4 Sep 2003 13:22:23 +0000 Subject: [PATCH] Added information about large file support --- Makefile | 1 + README.1st | 11 +++++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 6507e0a..eebb537 100644 --- a/Makefile +++ b/Makefile @@ -4,6 +4,7 @@ CC= gcc #CFLAGS= -g -DSYSV -Wall #LDFLAGS= -g CFLAGS= $(RPM_OPT_FLAGS) -O3 -DSYSV -fomit-frame-pointer -Wall -fno-strength-reduce +# -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE LDFLAGS= -s # Look where your install program is. diff --git a/README.1st b/README.1st index 3946756..a03c0a5 100644 --- a/README.1st +++ b/README.1st @@ -1,5 +1,5 @@ -Very important information before using version 1.3 ---------------------------------------------------- +Important information +--------------------- The included version of syslogd behaves in a slightly different manner to the one in former releases. Please review the following important @@ -63,3 +63,10 @@ differences: these scripts should remove all old .pid files found in /var/run. This will insure that klogd and syslogd start properly even if prior executions have been terminated harshly. + +* Large file support, i.e. support to write to log files that are + larger than 2 GB is not part of syslogd, but a matter of the Glibc + emitting different system calls to the kernel interface. To support + large files you'll have to compile syslogd with the compiler defines + -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE so that glibc adjusts the + system calls.