projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9dab450
)
- Fixed a bug which results in losing a character in the write buffer
author
Hartmut Birr
<osexpert@googlemail.com>
Sat, 15 Jan 2005 20:20:53 +0000
(20:20 +0000)
committer
Hartmut Birr
<osexpert@googlemail.com>
Sat, 15 Jan 2005 20:20:53 +0000
(20:20 +0000)
if there is a call to lseek immediately after the call to flsbuf.
svn path=/trunk/; revision=13065
reactos/lib/msvcrt/stdio/flsbuf.c
patch
|
blob
|
history
diff --git
a/reactos/lib/msvcrt/stdio/flsbuf.c
b/reactos/lib/msvcrt/stdio/flsbuf.c
index
e0b4154
..
2ca113c
100644
(file)
--- a/
reactos/lib/msvcrt/stdio/flsbuf.c
+++ b/
reactos/lib/msvcrt/stdio/flsbuf.c
@@
-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;
}