Browse Source
concerning the visual sudio variant of the "console" build. Their _read() returns 0 when a linfeed is read. Ironically the linefeed seems to be stored into the buffer nontheless. Because the filehandle is in linebuffered mode anyway, (the read won't return up until the terminating newline is entered) we can just as well use getc(), which doesn't seem to suffer from the same problem in their implementation.pre-master-46
1 changed files with 1 additions and 8 deletions
Loading…
Reference in new issue