dlls/msvcrt/file.c: fix infinite loop
Alfons Hoogervorst
alfons at proteus.demon.nl
Sat Feb 7 12:44:50 CST 2004
Changelog: fix infinite loop in _flushall
--
Ecuación algebraico sin solución posible,
a menos de poseer profundos conocimientos
en matemática - Revueltas (Ocho Por Radio)
-------------- next part --------------
Index: dlls/msvcrt/file.c
===================================================================
RCS file: /home/wine/wine/dlls/msvcrt/file.c,v
retrieving revision 1.62
diff -u -r1.62 file.c
--- dlls/msvcrt/file.c 13 Jan 2004 05:45:05 -0000 1.62
+++ dlls/msvcrt/file.c 7 Feb 2004 18:46:51 -0000
@@ -750,7 +750,7 @@
{
int num_flushed = 0, i = 3;
- while(i < MSVCRT_fdend)
+ for ( ; i < MSVCRT_fdend; i++)
if (MSVCRT_handles[i] != INVALID_HANDLE_VALUE)
{
#if 0
More information about the wine-patches
mailing list