ganado / redtamarin

Automatically exported from code.google.com/p/redtamarin
Other
2 stars 0 forks source link

stdin under WIN32 #23

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
binaries does not work well with stdin under win32

try something like

$ type file.bin | redshell.exe test_io.abc

or

$ cat file.bin | ./redshell test_io.abc

and the stdin break before the EOF

Original issue reported on code.google.com by zwetan on 23 Jan 2011 at 12:56

GoogleCodeExporter commented 9 years ago

Original comment by zwetan on 23 Jan 2011 at 1:00

GoogleCodeExporter commented 9 years ago
by default under WIN32 the console translation mode is using O_TEXT

when you change the translation mode to O_BINARY everything works fine

implemented in 0.3.2

Original comment by zwetan on 30 Sep 2011 at 1:20