Thread View: gnu.utils.bug
1 messages
1 total messages
Started by John Lacey
Wed, 05 Jul 1989 01:35
getline bug in gawk 2.10
Author: 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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads