From owner-cvs-all Tue Mar 27 23:32:51 2001 Delivered-To: cvs-all@freebsd.org Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 95C8A37B719; Tue, 27 Mar 2001 23:32:43 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.11.1/8.11.1) with ESMTP id f2S7We952543; Wed, 28 Mar 2001 00:32:40 -0700 (MST) (envelope-from imp@harmony.village.org) Message-Id: <200103280732.f2S7We952543@harmony.village.org> To: Jeroen Ruigrok/Asmodai Subject: Re: cvs commit: src/usr.bin/tail forward.c Cc: "Andrey A. Chernov" , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org In-reply-to: Your message of "Wed, 28 Mar 2001 06:42:06 +0200." <20010328064206.A90260@daemon.ninth-circle.org> References: <20010328064206.A90260@daemon.ninth-circle.org> <200103272324.f2RNOQc56458@freefall.freebsd.org> Date: Wed, 28 Mar 2001 00:32:40 -0700 From: Warner Losh Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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