[Issue 387] When EOF of din is reached, a line of output is lost

Stewart Gordon smjg_1998 at yahoo.com
Sat Oct 7 03:54:47 PDT 2006


Walter Bright wrote:
<snip>
> For a workaround, test to see which version of Windows you're running 
> under, and generate an extra line of output for the buggy one. Look in 
> std/file.d for how to determine the version.

That's what I thought for a moment.  But how do I detect whether stdin 
or stdout is redirected?

Stewart.

-- 
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/M d- s:-@ C++@ a->--- UB@ P+ L E@ W++@ N+++ o K-@ w++@ O? M V? PS- 
PE- Y? PGP- t- 5? X? R b DI? D G e++++ h-- r-- !y
------END GEEK CODE BLOCK------

My e-mail is valid but not my primary mailbox.  Please keep replies on 
the 'group where everyone may benefit.



More information about the Digitalmars-d-bugs mailing list