[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:
Amine Khaldi
2016-09-05 22:39:59 +00:00
parent 8d8f918c2c
commit 3f38d71d2d
+8 -1
View File
@@ -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;
}