syslog-ng--mainline: use stat instead of seek to determine file size
-e Link: <http://intra.balabit/cgi-bin/viewarch.cgi/devel@balabit.hu--other-1/syslog-ng--mainline--2.0--patch-149> Revision: syslog-ng--mainline--2.0--patch-149 Archive: devel@balabit.hu--other-1 Creator: Balazs Scheidler <bazsi@balabit.hu> Date: Fri Apr 6 11:59:15 CEST 2007 Standard-date: 2007-04-06 09:59:15 GMT Modified-files: ChangeLog src/logreader.c New-patches: devel@balabit.hu--other-1/syslog-ng--mainline--2.0--patch-149 Summary: use stat instead of seek to determine file size Keywords: * src/logreader.c (log_reader_fd_check): remove lseek based file size determination and use lseek instead, it is not glibc that is buggy, and although gdb reports invalid contents of the stat results, the program sees them correctly Diff stats: ChangeLog | 17 +++++++++++++++++ src/logreader.c | 21 ++++++++------------- 2 files changed, 25 insertions(+), 13 deletions(-)
participants (1)
-
bazsi@balabit.hu