From owner-freebsd-questions Wed Jan 18 09:15:53 1995 Return-Path: questions-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id JAA09324 for questions-outgoing; Wed, 18 Jan 1995 09:15:53 -0800 Received: from sovcom.kiae.su (sovcom.kiae.su [144.206.136.1]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id JAA09294; Wed, 18 Jan 1995 09:15:21 -0800 Received: by sovcom.kiae.su id AA11238 (5.65.kiae-2 ); Wed, 18 Jan 1995 20:08:22 +0300 Received: by sovcom.KIAE.su (UUMAIL/2.0); Wed, 18 Jan 95 20:08:19 +0300 Received: (from ache@localhost) by astral.msk.su (8.6.8/8.6.6) id TAA00551; Wed, 18 Jan 1995 19:48:49 +0300 To: freebsd-current@freefall.cdrom.com, freebsd-hackers@freefall.cdrom.com, freebsd-questions@freefall.cdrom.com, "Ugen J.S.Antsilevich" References: In-Reply-To: ; from "Ugen J.S.Antsilevich" at Wed, 18 Jan 95 17:50:38 IST Message-Id: Organization: Olahm Ha-Yetzirah Date: Wed, 18 Jan 1995 19:48:48 +0300 X-Mailer: Mail/@ [v2.31 FreeBSD] From: "Andrew A. Chernov, Black Mage" X-Class: Fast Subject: Re: bug in GCC or in lseek/read??? Lines: 12 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Length: 487 Sender: questions-owner@FreeBSD.org Precedence: bulk In message Ugen J.S.Antsilevich writes: >printf("seek %u\n",lseek(f,100,SEEK_SET)); /* move into the middle Here is a bug: must be %lu -- Andrew A. Chernov : And I rest so composedly, /Now, in my bed, ache@astral.msk.su : That any beholder /Might fancy me dead - FidoNet: 2:5020/230.3 : Might start at beholding me, /Thinking me dead. RELCOM Team,FreeBSD Team : E.A.Poe From "For Annie" 1849