mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
[CRT] Resort to partially syncing msvcrt_flush_buffer() in order to fix some test regressions. CORE-11866 CORE-11949
svn path=/trunk/; revision=72588
This commit is contained in:
@@ -528,10 +528,17 @@ static int msvcrt_flush_buffer(FILE* file)
|
||||
|
||||
if(file->_flag & _IORW)
|
||||
file->_flag &= ~_IOWRT;
|
||||
}
|
||||
|
||||
#ifdef __REACTOS__ /* CORE-11949 */
|
||||
file->_ptr=file->_base;
|
||||
file->_cnt=0;
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifndef __REACTOS__ /* CORE-11949 */
|
||||
file->_ptr=file->_base;
|
||||
file->_cnt=0;
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user