Changeset 284 in kBuild for branches/GNU/src/gmake/w32/subproc/sub_proc.c
- Timestamp:
- May 16, 2005 4:54:08 PM (19 years ago)
- File:
-
- 1 edited
-
branches/GNU/src/gmake/w32/subproc/sub_proc.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/GNU/src/gmake/w32/subproc/sub_proc.c
r153 r284 665 665 HANDLE ready_hand; 666 666 bool_t child_dead = FALSE; 667 667 BOOL GetExitCodeResult; 668 668 669 669 /* 670 670 * Create stdin thread, if needed 671 671 */ 672 pproc->inp = stdin_data;673 pproc->incnt = stdin_data_len;672 pproc->inp = stdin_data; 673 pproc->incnt = stdin_data_len; 674 674 if (!pproc->inp) { 675 675 stdin_eof = TRUE; … … 763 763 } else if (ready_hand == childhand) { 764 764 765 if (GetExitCodeProcess(childhand, &pproc->exit_code) == FALSE) { 765 GetExitCodeResult = GetExitCodeProcess(childhand, (DWORD*)&pproc->exit_code); 766 if (GetExitCodeResult == FALSE) { 766 767 pproc->last_err = GetLastError(); 767 768 pproc->lerrno = E_SCALL; … … 810 811 HANDLE childhand; 811 812 DWORD wait_return; 813 BOOL GetExitCodeResult; 812 814 813 815 if (proc == NULL) … … 853 855 } 854 856 855 if (GetExitCodeProcess(childhand, &pproc->exit_code) == FALSE) { 857 GetExitCodeResult = GetExitCodeProcess(childhand, (DWORD*)&pproc->exit_code); 858 if (GetExitCodeResult == FALSE) { 856 859 pproc->last_err = GetLastError(); 857 860 pproc->lerrno = E_SCALL;
Note:
See TracChangeset
for help on using the changeset viewer.

