GNU Pascal Homepage - gpc - gpc-announce - gpc-de - gpc-doc
Diese Seite auf deutsch

Mail #11332 (Unformatted/full headers)

Back to main page of archive

Previous mail   Next mail   Formatted
Overview  10 days   Subject   Date   Thread   Author  

From gpc-owner@gnu.de  Tue Feb  1 02:01:19 2005
Received: from mail.ncifcrf.gov ([129.43.100.101])
	by adele.gerwinski.de with esmtp (Exim 4.34)
	id 1CvmPq-0003Vv-F7
	for gpc@gnu.de; Tue, 01 Feb 2005 02:01:15 +0100
Received: from mail.NCIFCRF.GOV(129.43.100.101) by AVAS3.ncifcrf.gov via smtp
	 id 6ff6_4185085a_73ec_11d9_9992_0002b3c7efef;
	Mon, 31 Jan 2005 19:57:32 -0500 (EST)
Received: from strawberry.ncifcrf.gov (strawberry.NCIFCRF.GOV [129.43.6.74])
	by mail.ncifcrf.gov (8.12.10/8.12.10) with ESMTP id j110wmd0012392
	for <gpc@gnu.de>; Mon, 31 Jan 2005 19:58:48 -0500
Received: (from toms@localhost)
	by strawberry.ncifcrf.gov (8.12.10+Sun/8.12.10/Submit) id j110wmqO012564
	for gpc@gnu.de; Mon, 31 Jan 2005 19:58:48 -0500 (EST)
Date: Mon, 31 Jan 2005 19:58:48 -0500 (EST)
From: Tom Schneider <toms@ncifcrf.gov>
Message-Id: <200502010058.j110wmqO012564@strawberry.ncifcrf.gov>
To: gpc@gnu.de
Subject: Re: EOF is not true on reset empty file
X-Archive-Number: 200502/2
X-Sequence-Number: 5044

> Date: Sat, 29 Jan 2005 14:14:18 +0100 (CET)
> From: Waldek Hebisch <hebisch@math.uni.wroc.pl>
> 
> You missed an important information. If I type (with `eof.pas' beeing
> your file):
> ../gpc-3.4.3/gcc/xgpc -B../gpc-3.4.3/gcc/ -O -ftransparent-file-names -fstandard-pascal eof.pas
> ./a.out
>
> I get:
> NOT eof of namebook
> NOT eof of namelist
>
> However, if I type:
> ../gpc-3.4.3/gcc/xgpc -B../gpc-3.4.3/gcc/ -O --transparent-file-names eof.pas
> ./a.out
>
> I get:
> eof of namebook
> eof of namelist
>
> Both with my (modified) copy of gpc-20041218 on Linux. Yes, standard requires
> that you get EOF on empty file.

Thanks for clarifying the standard for me.

I'm using --transparent-file-names and with that get NOT eof.

I hope that clarifies the issue for you.

Tom

Previous mail   Next mail   Formatted
Overview  10 days   Subject   Date   Thread   Author  


Replies

Author Subject Date
Waldek Hebisch EOF is not true on reset empty file 1 Feb 2005, 03:45:28

Back to main page of archive


Note: This page contains information that does not originate from the owner of this web site, but from the authors of the mails archived. The owner of this web site is not responsible for the content of such information. Any use of that infomation requires the consent of the respective author.

Where WWW addresses (URLs) in the mails archived are marked as hyperlinks, this is only for the comfort of the reader. The content of the web pages linked to like this does not necessarily reflect the opinion of the owner of this web site or of the authors of the mails archived. The owner of this web site is not responsible for the content of such web pages. Those pages are explicitly not to be considered as part of the content of this page, but merely as references.


This page was created by Crystal 0.999 (Linux 2.4.27/i686).