Date: Sat, 1 Sep 2001 15:22:45 -0700 (PDT) From: "Andrey A. Chernov" <ache@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/tail extern.h forward.c reverse.c tail.c Message-ID: <200109012222.f81MMjD92704@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
ache 2001/09/01 15:22:45 PDT Modified files: usr.bin/tail extern.h forward.c reverse.c tail.c Log: File positions are off_t nowdays, not long, so: long -> off_t strtol -> strtoll fseek -> fseeko NOTE: that fseek not works for >long offsets files per POSIX: [EOVERFLOW] For fseek( ), the resulting file offset would be a value which cannot be represented correctly in an object of type long. Revision Changes Path 1.6 +3 -3 src/usr.bin/tail/extern.h 1.27 +8 -8 src/usr.bin/tail/forward.c 1.12 +4 -4 src/usr.bin/tail/reverse.c 1.11 +3 -3 src/usr.bin/tail/tail.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109012222.f81MMjD92704>