wcmd: Properly cleanup redirects when there are no in/out/error pipes

Erich Hoover ehoover at mines.edu
Mon Feb 9 14:52:22 CST 2009


Real Name:
   Erich Hoover
Description:
   Fix a problem with Wine's cmd.exe that causes the file handles for
redirects to not be cleaned up when the in/out/error pipes do not exist
(when GetStdHandle(pipe) == INVALID_HANDLE_VALUE).  This issue was uncovered
getting Athena Visual Studio to work, it spawns off a copy of cmd.exe to run
a batch file and that process does not have any pipes.
Changelog:
   wcmd: Properly cleanup redirects when there are no in/out/error pipes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winehq.org/pipermail/wine-patches/attachments/20090209/bdaf0af2/attachment-0001.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wcmdmain.c
Type: text/x-csrc
Size: 82159 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20090209/bdaf0af2/attachment-0001.c 


More information about the wine-patches mailing list