Mike Stroyan f0a60e47b1 Don't use fstat for readable pipe chars in dtexec.
The dtexec code assumes that fstat reports pipe's readable chars.
Linux always reports 0 for st_size of a pipe.
Instead read one character when select reports readable.
Note EOF when select says readable but read returns 0.
2012-09-09 18:23:45 -06:00
Description
No description provided
76 MiB
Languages
C 80.1%
omnetpp-msg 8.9%
C++ 3.8%
Shell 2%
Roff 1.6%
Other 3.2%