dlls/msvcrt: msvcrt-popen-1.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@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;
  }




[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux