[ros-diffs] [hbirr] 13065: - Fixed a bug which results in losing a character in the write buffer

hbirr at svn.reactos.com hbirr at svn.reactos.com
Sat Jan 15 21:20:55 CET 2005


- 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;
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20050115/450d5c95/attachment.html


More information about the Ros-diffs mailing list