projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
330869f
)
[CRT]
author
Amine Khaldi
<amine.khaldi@reactos.org>
Sun, 11 May 2014 17:45:26 +0000
(17:45 +0000)
committer
Amine Khaldi
<amine.khaldi@reactos.org>
Sun, 11 May 2014 17:45:26 +0000
(17:45 +0000)
* Update _filbuf().
CORE-8080
svn path=/trunk/; revision=63234
reactos/lib/sdk/crt/stdio/file.c
patch
|
blob
|
history
diff --git
a/reactos/lib/sdk/crt/stdio/file.c
b/reactos/lib/sdk/crt/stdio/file.c
index
f2b8dc2
..
70673ba
100644
(file)
--- a/
reactos/lib/sdk/crt/stdio/file.c
+++ b/
reactos/lib/sdk/crt/stdio/file.c
@@
-2263,6
+2263,11
@@
int CDECL _filbuf(FILE* file)
unsigned char c;
_lock_file(file);
+ if(file->_flag & _IOSTRG) {
+ _unlock_file(file);
+ return EOF;
+ }
+
/* Allocate buffer if needed */
if(file->_bufsiz == 0 && !(file->_flag & _IONBF))
alloc_buffer(file);