make-alpha
[Top][All Lists]
Advanced

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

make function.c ChangeLog w32/subproc/sub_proc.c


From: Eli Zaretskii
Subject: make function.c ChangeLog w32/subproc/sub_proc.c
Date: Sat, 28 Jan 2012 16:50:22 +0000

CVSROOT:        /sources/make
Module name:    make
Changes by:     Eli Zaretskii <eliz>    12/01/28 16:50:22

Modified files:
        .              : function.c ChangeLog 
        w32/subproc    : sub_proc.c 

Log message:
          Fix failures on MS-Windows when Make's standard handles are invalid.
          This can happen when Make is invoked from a GUI application.
        
          * w32/subproc/sub_proc.c (process_init_fd): Don't dereference
          pproc if it is a NULL pointer.
          (process_begin, process_cleanup): Don't try to close pipe handles
          whose value is INVALID_HANDLE_VALUE.
          (process_easy): Initialize hIn, hOut, and hErr to
          INVALID_HANDLE_VALUE.  If DuplicateHandle fails with
          ERROR_INVALID_HANDLE, duplicate a handle for the null device
          instead of STD_INPUT_HANDLE, STD_OUTPUT_HANDLE or
          STD_ERROR_HANDLE.  Don't try to close pipe handles whose value is
          INVALID_HANDLE_VALUE.
        
          * function.c (windows32_openpipe): Initialize hIn and hErr to
          INVALID_HANDLE_VALUE.  If DuplicateHandle fails with
          ERROR_INVALID_HANDLE, duplicate a handle for the null device
          instead of STD_INPUT_HANDLE or STD_ERROR_HANDLE.  Fix indentation.
          Don't try to close handles whose value is INVALID_HANDLE_VALUE.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/make/function.c?cvsroot=make&r1=1.127&r2=1.128
http://cvs.savannah.gnu.org/viewcvs/make/ChangeLog?cvsroot=make&r1=2.455&r2=2.456
http://cvs.savannah.gnu.org/viewcvs/make/w32/subproc/sub_proc.c?cvsroot=make&r1=1.27&r2=1.28



reply via email to

[Prev in Thread] Current Thread [Next in Thread]