Date: Wed, 28 Mar 2001 00:32:40 -0700 From: Warner Losh <imp@harmony.village.org> To: Jeroen Ruigrok/Asmodai <asmodai@wxs.nl> Cc: "Andrey A. Chernov" <ache@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/tail forward.c Message-ID: <200103280732.f2S7We952543@harmony.village.org> In-Reply-To: Your message of "Wed, 28 Mar 2001 06:42:06 %2B0200." <20010328064206.A90260@daemon.ninth-circle.org> References: <20010328064206.A90260@daemon.ninth-circle.org> <200103272324.f2RNOQc56458@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <20010328064206.A90260@daemon.ninth-circle.org> Jeroen Ruigrok/Asmodai writes: : -On [20010328 01:30], Andrey A. Chernov (ache@FreeBSD.org) wrote: : > fseeko(file_size, SEEK_SET) -> fseek(0L, SEEK_END) : : Shouldn't 0L actually be NULL? No. fseek takes a long offset. fseek(fp, 0L, SEEK_END) is correct. Warner 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?200103280732.f2S7We952543>