On 11/6/2013 1:06 PM, Jeff Trawick wrote:
I just played with _commit() on stdin a bit. It turns out that
_commit(0) fails if stdin is redirected (main.exe < somefile) but
works if stdin is a tty. That's the opposite of _commit(1 or 2). But
I don't see how _commit(0) makes sense anyway, so I simply removed the
call instead of reversing the corresponding _isatty() check in your patch.
trunk: r1539455
1.5.x branch: r1539461
Okay Jeff,
I just tried both stdout and stdin, and got the same results that you did.
Strange but true.
--
Born in Roswell... married an alien...
http://emptyhammock.com/