From owner-freebsd-questions Tue Aug 27 3:55: 2 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 7686C37B401 for ; Tue, 27 Aug 2002 03:54:56 -0700 (PDT) Received: from relay1.ntu-kpi.kiev.ua (www.ntu-kpi.kiev.ua [212.111.192.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 25F0443E42 for ; Tue, 27 Aug 2002 03:54:53 -0700 (PDT) (envelope-from simon@comsys.ntu-kpi.kiev.ua) Received: from comsys.ntu-kpi.kiev.ua (eth0.comsys.ntu-kpi.kiev.ua [10.0.1.184]) by relay1.ntu-kpi.kiev.ua (Postfix) with ESMTP id A60B819BEE; Tue, 27 Aug 2002 13:54:49 +0300 (EEST) Received: from pm5149 (pm514-9.comsys.ntu-kpi.kiev.ua [10.18.54.109]) by comsys.ntu-kpi.kiev.ua (8.11.6/8.11.6) with SMTP id g7RAvPR59723; Tue, 27 Aug 2002 13:57:28 +0300 (EEST) Message-ID: <008b01c24db6$a92695a0$6d36120a@pm5149> From: "Andrey Simonenko" To: "ERIK G HAMILTON" Cc: References: Subject: Re: fread returns eof too soon on a binary file Date: Tue, 27 Aug 2002 13:44:01 +0300 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 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 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 ----- 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. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message