From owner-freebsd-questions Tue Aug 27 7:58:56 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 9480337B401 for ; Tue, 27 Aug 2002 07:58:54 -0700 (PDT) Received: from dc-mx13.cluster1.charter.net (dc-mx13.cluster1.charter.net [209.225.8.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD41243E42 for ; Tue, 27 Aug 2002 07:58:53 -0700 (PDT) (envelope-from ehamilt@siue.edu) Received: from [24.171.35.20] (HELO amd800) by dc-mx13.cluster1.charter.net (CommuniGate Pro SMTP 3.5.9) with SMTP id 85993928; Tue, 27 Aug 2002 10:59:27 -0400 Message-ID: <003501c24dda$973d6e30$0200000a@amd800> From: "Erik" To: "Giorgos Keramidas" , "Andrey Simonenko" Cc: References: <008b01c24db6$a92695a0$6d36120a@pm5149> <20020827142757.GK780@hades.hell.gr> Subject: Re: fread returns eof too soon on a binary file Date: Tue, 27 Aug 2002 10:01:13 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 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 The only thing before it is some opening of sockets and a few printf statements verifying positions. I'm going to take your advice and post it to comp.unix.programmer. I also plan on writing a few sample programs and try to come up with more data/proof. Erik ----- Original Message ----- From: "Giorgos Keramidas" To: "Andrey Simonenko" Cc: "ERIK G HAMILTON" ; Sent: Tuesday, August 27, 2002 9:27 AM Subject: Re: fread returns eof too soon on a binary file > 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