Author: akhaldi Date: Sun May 11 17:45:26 2014 New Revision: 63234
URL: http://svn.reactos.org/svn/reactos?rev=63234&view=rev Log: [CRT] * Update _filbuf(). CORE-8080
Modified: trunk/reactos/lib/sdk/crt/stdio/file.c
Modified: trunk/reactos/lib/sdk/crt/stdio/file.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/stdio/file.c?re... ============================================================================== --- trunk/reactos/lib/sdk/crt/stdio/file.c [iso-8859-1] (original) +++ trunk/reactos/lib/sdk/crt/stdio/file.c [iso-8859-1] Sun May 11 17:45:26 2014 @@ -2263,6 +2263,11 @@ 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);