From owner-freebsd-questions Tue Aug 27 7:38:50 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2141A37B401 for ; Tue, 27 Aug 2002 07:38:43 -0700 (PDT) Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3044743E6A for ; Tue, 27 Aug 2002 07:38:40 -0700 (PDT) (envelope-from keramida@ceid.upatras.gr) Received: from hades.hell.gr (patr364-a25.otenet.gr [195.167.109.57]) by mailsrv.otenet.gr (8.12.4/8.12.4) with ESMTP id g7REcapD019980 for ; Tue, 27 Aug 2002 17:38:37 +0300 (EEST) Received: from hades.hell.gr (hades [127.0.0.1]) by hades.hell.gr (8.12.5/8.12.5) with ESMTP id g7REcZ3K005322 for ; Tue, 27 Aug 2002 17:38:35 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from charon@localhost) by hades.hell.gr (8.12.5/8.12.5/Submit) id g7RERwtS005183; Tue, 27 Aug 2002 17:27:58 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Tue, 27 Aug 2002 17:27:57 +0300 From: Giorgos Keramidas To: Andrey Simonenko Cc: ERIK G HAMILTON , freebsd-questions@FreeBSD.ORG Subject: Re: fread returns eof too soon on a binary file Message-ID: <20020827142757.GK780@hades.hell.gr> References: <008b01c24db6$a92695a0$6d36120a@pm5149> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <008b01c24db6$a92695a0$6d36120a@pm5149> X-PGP-Fingerprint: C1EB 0653 DB8B A557 3829 00F9 D60F 941A 3186 03B6 X-Phone: +30-944-116520 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 2002-08-27 13:44 +0000, Andrey Simonenko wrote: > ----- Original Message ----- > From: "ERIK G HAMILTON" > Newsgroups: lucky.freebsd.bugs,lucky.freebsd.questions > Sent: Tuesday, August 27, 2002 11:30 AM > Subject: fread returns eof too soon on a binary file > > > Can anyone help me out with this? Is there some massive hole in my code > > that I do not see? Something I need to #define? > > I suppose it is a completely programming mistake. You should send your > mail to comp.unix.programmer if you have not found a mistake in your > code yet. Or post it here. But all of it, instead of just fragments. -- FreeBSD: The Power to Serve -- http://www.FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message