mirror of
https://github.com/reactos/reactos.git
synced 2024-12-26 17:14:41 +00:00
- 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. svn path=/trunk/; revision=13065
This commit is contained in:
parent
9dab4509fa
commit
9bf671b7f6
1 changed files with 1 additions and 0 deletions
|
@ -93,6 +93,7 @@ int _flsbuf(int c, FILE* f)
|
|||
if ((f->_flag & (_IO_LBF|_IONBF)) == 0) {
|
||||
f->_cnt--;
|
||||
*f->_ptr++ = c;
|
||||
f->_flag |= _IODIRTY;
|
||||
}
|
||||
return c;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue