cvs commit: fptools/libraries/base/GHC Posix.hs
Simon Marlow
simonmar@glass.cse.ogi.edu
Thu, 6 Feb 2003 02:41:14 -0800
simonmar 2003/02/06 02:41:14 PST
Modified files:
libraries/base/GHC Posix.hs
Log:
Aargh! We were setting the VMIN and VTIME values in the termios
structure when the terminal is in non-raw mode, rather than raw mode,
because I had a test round the wrong way.
Apparently on Linux VMIN and VTIME default to 1/0, so it apparently
worked properly, but on Solaris the VMIN slot in the c_cc array is
shared with the VEOF slot, which meant that VMIN was being left as 4
(the value of ^D, which is the default contents of VEOF).
Thanks to Hal Daume for reporting the bug, and Malcolm Wallce &
Lennart Augustsson for helping to point me in the right direction.
MERGE TO STABLE
Revision Changes Path
1.16 +1 -1 fptools/libraries/base/GHC/Posix.hs