Kai Tietz
f69123aac5
2014-06-01 Ray Donnelly <mingw.android@gmail.com>
...
* pex-win32.c (argv_to_cmdline): Don't quote
args unnecessarily.
2014-06-01 22:11:56 +02:00
DJ Delorie
9974286ed1
merge from gcc
2012-07-27 00:02:21 +00:00
DJ Delorie
4ff224cb8d
merge from gcc
2011-04-20 19:06:46 +00:00
Kai Tietz
b69c3c5586
2009-05-29 Kai Tietz <kai.tietz@onevision.com>
...
* pex-win32.c (pex_win32_fdopenr): Set INHERIT to false.
2009-05-29 20:19:14 +00:00
Julian Brown
ed20019d73
libiberty/
...
* pex-win32.c (pex_win32_exec_child): Fix logic to avoid closing
standard handles (stdin, stdout, stderr) in parent.
2009-05-17 13:12:28 +00:00
Julian Brown
59cdf84270
libiberty/
...
* pex-win32.c (pex_win32_pipe): Add _O_NOINHERIT.
(pex_win32_exec_child): Ensure each process has only one handle open
on pipe endpoints. Close standard input after creating child
for symmetry with standard output/standard error.
2009-04-29 11:52:41 +00:00
Kai Tietz
587c6b96ef
Merged from gcc head revision 146001.
...
2009-04-13 Ozkan Sezer <sezeroz@gmail.com>
PR target/39397
* pex-common.h (struct pex_obj): Store pid values as pid_t,
not as long (members *children and (*wait))
* pex-common.c (pex_run_in_environment): Likewise.
* pex-win32.c (pex_win32_wait): Return pid_t and properly check
returned pid value.
* pex-djgpp.c (pex_djgpp_wait): Return pid_t.
* pex-msdos.c (pex_msdos_wait): Likewise.
2009-04-13 10:48:27 +00:00
DJ Delorie
bd8aab1c29
merge from gcc
2008-08-07 20:00:53 +00:00
DJ Delorie
29d89e071e
merge from gcc
2007-08-24 16:08:40 +00:00
Vladimir Prus
fb3471960f
2006-11-08 Vladimir Prus <vladimir@codesourcery.com>
...
* pex-win32.c (no_suffixes): Remove.
(std_suffixes): Add "" as first element.
(find_executable): Remove detection of already-present
extension. Try all suffixes in std_suffixes.
2006-11-08 16:18:58 +00:00
DJ Delorie
3ac01eb265
merge from gcc
2006-10-26 04:18:42 +00:00
DJ Delorie
cb6c09ace5
merge from gcc
2006-08-28 00:56:25 +00:00
DJ Delorie
014a8caf46
merge from gcc
2006-06-01 14:57:50 +00:00
DJ Delorie
3db2e6ddf6
merge from gcc
2006-04-12 18:42:01 +00:00
DJ Delorie
8e1e9959c5
merge from gcc
2006-03-31 23:01:16 +00:00
DJ Delorie
f59e96e06c
merge from gcc
2005-09-15 01:04:05 +00:00
DJ Delorie
abf6a75b42
merge from gcc
2005-05-24 21:01:33 +00:00
Nick Clifton
979c05d324
Update the address and phone number of the FSF organization.
2005-05-10 15:33:34 +00:00
Ian Lance Taylor
b109e79adc
libiberty:
...
* pex-common.c: New file.
* pex-one.c: New file.
* pexecute.c: New file.
* pex-common.h: Include <stdio.h>.
(struct pex_obj): Define.
(struct pex_funcs): Define.
(pex_init_common): Declare.
* pex-unix.c: Rewrite.
* pex-win32.c: Rewrite.
* pex-djgpp.c: Rewrite.
* pex-msdos.c: Rewrite.
* testsuite/text-pexecute.c: New file.
* pexecute.txh: Rewrite.
* configure.ac: Check for wait3 and wait4. Set CHECK to
really-check rather than check-cplus-dem.
* functions.texi: Rebuild.
* Makefile.in: Rebuild dependencies.
(CFILES): Add pexecute.c, pex-common.c, pex-one.c.
(REQUIRED_OFILES): Add pexecute.o, pex-common.o, pex-one.o.
* testsuite/Makefile.in (really-check): New target.
(check-pexecute, test-pexecute): New targets.
* configure: Rebuild.
include:
* libiberty.h: Include <stdio.h>.
(PEX_RECORD_TIMES, PEX_USE_PIPES, PEX_SAVE_TEMPS): Define.
(PEX_LAST, PEX_SEARCH, PEX_SUFFIX, PEX_STDERR_TO_STDOUT): Define.
(PEX_BINARY_INPUT, PEX_BINARY_OUTPUT): Define.
(pex_init, pex_run, pex_read_output): Declare.
(pex_get_status, pex_get_times, pex_free, pex_one): Declare.
(struct pex_time): Define.
2005-03-29 02:15:24 +00:00
DJ Delorie
1e45deed6a
merge from gcc
2005-03-28 05:07:08 +00:00
DJ Delorie
9f7d3e7dfa
merge from gcc
2004-05-31 13:27:45 +00:00
DJ Delorie
dbb9d0f3ee
merge from gcc
2003-07-05 01:59:15 +00:00
DJ Delorie
ab8c7bb13f
merge from gcc
2003-07-03 14:00:54 +00:00
DJ Delorie
5a17353c6b
merge from gcc
2003-01-24 21:31:35 +00:00