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

Mail #12688 (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  Thu Sep 15 18:26:11 2005
Received: from [165.112.130.36] (helo=mx5.net.nih.gov)
	by ngc224.gerwinski.de with esmtp (Exim 4.50 #1 (Debian))
	id 1EFwYd-0004Qa-1G
	for <gpc@gnu.de>; Thu, 15 Sep 2005 18:26:10 +0200
Received: from mx5.net.nih.gov (localhost [127.0.0.1])
	by mx5.net.nih.gov (8.12.10/8.11.6) with ESMTP id j8FGPPvd017933
	for <gpc@gnu.de>; Thu, 15 Sep 2005 12:25:25 -0400
Received: from strawberry.ncifcrf.gov (strawberry.NCIFCRF.GOV [129.43.6.74])
	by mx5.net.nih.gov (8.12.10/8.11.6) with ESMTP id j8FGPPW6017930;
	Thu, 15 Sep 2005 12:25:25 -0400
Received: from strawberry.NCIFCRF.GOV(129.43.6.74) by SCM4-E1000.ncifcrf.gov via smtp
	 id 02f4_65bfe462_2605_11da_8ef5_0002b3c7efef;
	Thu, 15 Sep 2005 12:25:57 -0400
Received: from strawberry.ncifcrf.gov (localhost [127.0.0.1])
	by strawberry.ncifcrf.gov (8.12.10+Sun/8.12.10) with ESMTP id j8FGPOjK022606;
	Thu, 15 Sep 2005 12:25:24 -0400 (EDT)
Received: (from toms@localhost)
	by strawberry.ncifcrf.gov (8.12.10+Sun/8.12.10/Submit) id j8FGPOeb022605;
	Thu, 15 Sep 2005 12:25:24 -0400 (EDT)
Date: Thu, 15 Sep 2005 12:25:24 -0400 (EDT)
From: Tom Schneider <toms@ncifcrf.gov>
Message-Id: <200509151625.j8FGPOeb022605@strawberry.ncifcrf.gov>
To: gpc@gnu.de
Subject: eof bug in GPC
Cc: bryantd@strawberry.ncifcrf.gov, huang.y.hy@gmail.com, needled@ncifcrf.gov
X-Spam-Score: 0.3 (/)
X-Archive-Number: 200509/50
X-Sequence-Number: 6334

Hi folks!

I reported a bug in GPC some months ago:

http://www.gnu-pascal.de/crystal/gpc/en/mail11285.html

Basically, GPC fails to report eof = true after a reset when a file is
empty.  In the Replies, Waldek Hebisch provided a patch:

http://www.gnu-pascal.de/crystal/gpc/en/mail11309.html

Recently someone in Hong Kong was working with my programs and the bug
was still there.  I think she has the most recent version of GPC, so
the patch apparently has not been implemented.

I had to make a rather horrible kludge to get around this.  Basically
I have a function, emptyfile, to replace eof.  If it counts less than
2 characters in a file, that file is deemed 'empty'.  In my cases this
will work because the relevant files have more than two characters if
they are not empty, but of course it will not work in general!

Does anyone know the status of this patch?  Will it be put into GPC? 
If not, why not?

Thanks!

Tom

  Dr. Thomas D. Schneider
  National Institutes of Health
  National Cancer Institute
  Center for Cancer Research Nanobiology Program
  Molecular Information Theory Group
  Frederick, Maryland  21702-1201
  toms@ncifcrf.gov
  permanent email: toms@alum.mit.edu (use only if first address fails)
  http://www.ccrnp.ncifcrf.gov/~toms/

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


Replies

Author Subject Date
Frank Heckenbach eof bug in GPC 15 Sep 2005, 21:49:01

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).