Date: Sun, 2 Sep 2001 22:06:48 -0700 (PDT) From: "Andrey A. Chernov" <ache@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/libexec/comsat comsat.c Message-ID: <200109030506.f8356mM71706@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
ache 2001/09/02 22:06:48 PDT Modified files: libexec/comsat comsat.c Log: File positions are off_t nowdays, not long, so: atoi -> strtoll fseek -> fseeko NOTE: that fseek not works for >long offsets per POSIX: [EOVERFLOW] For fseek( ), the resulting file offset would be a value which cannot be represented correctly in an object of type long. Fix minor cast too. Revision Changes Path 1.14 +5 -5 src/libexec/comsat/comsat.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?200109030506.f8356mM71706>