[PATCH 4/2] msvcrt: Do not flood the console in _set_error_mode
Detlef Riekenberg
wine.dev at web.de
Fri Jan 7 08:42:56 CST 2011
---
dlls/msvcrt/errno.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/dlls/msvcrt/errno.c b/dlls/msvcrt/errno.c
index 70a895c..83f00b5 100644
--- a/dlls/msvcrt/errno.c
+++ b/dlls/msvcrt/errno.c
@@ -429,8 +429,9 @@ int CDECL _set_error_mode(int mode)
const int old = current_mode;
if ( MSVCRT__REPORT_ERRMODE != mode ) {
current_mode = mode;
- FIXME("dummy implementation (old mode: %d, new mode: %d)\n",
- old, mode);
+ if (mode != old) {
+ FIXME("dummy implementation (old mode: %d, new mode: %d)\n", old, mode);
+ }
}
return old;
}
--
1.7.1
More information about the wine-patches
mailing list