]> git.ipfire.org Git - thirdparty/gcc.git/commit - libiberty/pex-win32.c
pex-common.c (pex_input_file, [...]): New functions.
authorJim Blandy <jimb@codesourcery.com>
Wed, 12 Apr 2006 06:29:21 +0000 (06:29 +0000)
committerJim Blandy <jimb@gcc.gnu.org>
Wed, 12 Apr 2006 06:29:21 +0000 (06:29 +0000)
commit8eff378c612e592a3cc9e161e382c57e105be6f5
treeb7274305f47ba26e60fed695161a3513d463cd52
parent5ea49f9c39ed79fe33bb8c33518a3792b991104f
pex-common.c (pex_input_file, [...]): New functions.

src/libiberty/ChangeLog:
2006-03-29  Jim Blandy  <jimb@codesourcery.com>

* pex-common.c (pex_input_file, pex_input_pipe): New functions.
(pex_init_common): Initialize obj->input_file.
(pex_run): Close any file opened by pex_input_file.
* pexecute.txh (pex_input_file, pex_input_pipe): New docs.
* pex-common.h (struct pex_obj): New field input_file.
(struct pex_funcs): New function ptr fdopenw.
* pex-unix.c (pex_unix_fdopenw): New function.
(funcs): List it as our fdopenw function.
* pex-win32.c (pex_win32_fdopenw): New function.
(funcs): List it as our fdopenw function.
* pex-djgpp.c (funcs): Leave fdopenw null.
* pex-msdos (funcs): Same.
* functions.texi: Regenerated.

src/include/ChangeLog:
2006-04-10  Jim Blandy  <jimb@codesourcery.com>

* libiberty.h (pex_input_file, pex_input_pipe): New declarations.

From-SVN: r112883
include/ChangeLog
include/libiberty.h
libiberty/ChangeLog
libiberty/functions.texi
libiberty/pex-common.c
libiberty/pex-common.h
libiberty/pex-djgpp.c
libiberty/pex-msdos.c
libiberty/pex-unix.c
libiberty/pex-win32.c
libiberty/pexecute.txh