]> git.ipfire.org Git - thirdparty/gcc.git/commit - libiberty/pex-win32.c
re PR target/39397 (libiberty/pex-*, inconsistent/incorrect pid_t usage)
authorOzkan Sezer <sezeroz@gmail.com>
Mon, 13 Apr 2009 10:45:58 +0000 (10:45 +0000)
committerKai Tietz <ktietz@gcc.gnu.org>
Mon, 13 Apr 2009 10:45:58 +0000 (12:45 +0200)
commit92c3e7043a4af0a84bd326a043668d4aaa465931
tree645bc54da810c66f07695088c570058ea7c950fc
parent266aa80543a9dbf9bc53d8d7123f847124740b73
re PR target/39397 (libiberty/pex-*, inconsistent/incorrect pid_t usage)

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.

From-SVN: r146001
libiberty/ChangeLog
libiberty/pex-common.c
libiberty/pex-common.h
libiberty/pex-djgpp.c
libiberty/pex-msdos.c
libiberty/pex-win32.c