Article View: gnu.utils.bug
Article #95getline bug in gawk 2.10
From: John Lacey
Date: Wed, 05 Jul 1989 01:35
Date: Wed, 05 Jul 1989 01:35
21 lines
1032 bytes
1032 bytes
This is a bug report, for gawk version 2.10. I'm using gawk on
a Gould running UTX/3.2. This is BSD 4.3 compatible as far as
I can tell.
The problem is this:
getline <filename
hangs if 'filename' does not exist, rather than returning a -1. The
context I am using this is
if (getline <filename > 0)
:
else
:
--
John Lacey | Internet: lacey@tcgould.tn.cornell.edu
running unattached | BITnet: lacey@crnlthry
| UUCP: cornell!batcomputer!lacey
"Whereof one cannot speak, thereof one must remain silent." ---Wittgenstein
Technical Details
Message-ID:
<8320@batcomputer.tn.cornell.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!mailrus!cornell!batcomputer!laceyShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!mailrus!cornell!batcomputer!lacey From: lacey@batcomputer.tn.cornell.edu (John Lacey) Newsgroups: gnu.utils.bug Subject: getline bug in gawk 2.10 Message-ID: <8320@batcomputer.tn.cornell.edu> Date: 5 Jul 89 01:35:23 GMT Reply-To: lacey@tcgould.tn.cornell.edu (John Lacey) Distribution: gnu Organization: Cornell Theory Center, Cornell University, Ithaca NY Lines: 21