- Fixed a bug which results in losing a character in the write buffer if there is a call to lseek immediately after the call to flsbuf. Modified: trunk/reactos/lib/msvcrt/stdio/flsbuf.c _____
Modified: trunk/reactos/lib/msvcrt/stdio/flsbuf.c --- trunk/reactos/lib/msvcrt/stdio/flsbuf.c 2005-01-15 19:27:25 UTC (rev 13064) +++ trunk/reactos/lib/msvcrt/stdio/flsbuf.c 2005-01-15 20:20:53 UTC (rev 13065) @@ -93,6 +93,7 @@
if ((f->_flag & (_IO_LBF|_IONBF)) == 0) { f->_cnt--; *f->_ptr++ = c; + f->_flag |= _IODIRTY; } return c; }