Changeset 249
- Timestamp:
- May 27, 2003, 8:14:42 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gcc/libiberty/pexecute.c
-
Property cvs2svn:cvs-rev
changed from
1.3
to1.4
r248 r249 313 313 passed to cpp). The resulting quoted strings gets misinterpreted 314 314 by the command interpreter -- it thinks that the ending quote 315 is escaped by the trailing backslash and things get confused. 315 is escaped by the trailing backslash and things get confused. 316 316 We handle this case by escaping the trailing backslash, provided 317 317 it was not escaped in the first place. */ 318 if (len > 1 319 && argvec[i][len-1] == '\\' 318 if (len > 1 319 && argvec[i][len-1] == '\\' 320 320 && argvec[i][len-2] != '\\') 321 321 { … … 409 409 org_stdin = dup (STDIN_FILE_NO); 410 410 dup2 (input_desc, STDIN_FILE_NO); 411 close (input_desc); 411 close (input_desc); 412 412 } 413 413 … … 446 446 /* MS CRTDLL doesn't return enough information in status to decide if the 447 447 child exited due to a signal or not, rather it simply returns an 448 integer with the exit code of the child; eg., if the child exited with 448 integer with the exit code of the child; eg., if the child exited with 449 449 an abort() call and didn't have a handler for SIGABRT, it simply returns 450 450 with status = 3. We fix the status code to conform to the usual WIF* … … 815 815 int input_desc = last_pipe_input; 816 816 int output_desc = STDOUT_FILE_NO; 817 #ifdef __OS2__ 818 #define pipes_supported 1 819 #else 817 820 int pipes_supported = _osmode != DOS_MODE || (_emx_env & 0x1000); 821 #endif 818 822 819 823 /* Since the function can reside in a DLL, we should take care -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.