[Nickle] nickle: Branch 'master'
Keith Packard
keithp at keithp.com
Mon May 19 13:25:21 PDT 2008
io.c | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 74d032db530e2441f47b68549d18a70956ddf601
Author: Keith Packard <keithp at keithp.com>
Date: Mon May 19 13:22:11 2008 -0700
Non-interactive stdin is always available for reading.
Failing to set the 'stdinOwned' flag meant that you could never read from
stdin which wasn't a terminal. Oops.
diff --git a/io.c b/io.c
index d5c218a..07abe4a 100644
--- a/io.c
+++ b/io.c
@@ -78,6 +78,8 @@ IoStart (void)
FileSetFd (0);
}
}
+ else
+ stdinOwned = True;
}
void
More information about the Nickle
mailing list