dlls/msvcrt: msvcrt-popen-1.2
Jaco Greeff
jaco at puxedo.org
Fri Nov 1 10:15:31 CST 2002
This patch is to be applied over the "msvcrt-popen-1.1" patch release
earlier. This provides a meaningfull error message to increase
"POPEN_MAX_FILES" in the case where the current default (10) is not enough.
License:
LGPL
Changelog:
* dlls/msvcrt/process.c: Jaco Greeff <jaco at puxedo.org>
- Add an error message to indicate that POPEN_MAX_FILES should be
increased should we fail to allocate another handle. Thanks to Joerg
Mayer for the suggestion.
-------------
diff -aurN msvcrt-popen.orig/dlls/msvcrt/process.c
msvcrt-popen.new/dlls/msvcrt/process.c
--- msvcrt-popen.orig/dlls/msvcrt/process.c Fri Nov 1 15:07:09 2002
+++ msvcrt-popen.new/dlls/msvcrt/process.c Fri Nov 1 18:10:02 2002
@@ -589,6 +589,7 @@
return i;
}
}
+ ERR("Cannot find any available _popen handles, increase the value
of POPEN_MAX_FILES\n");
return -1;
}
More information about the wine-patches
mailing list