This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
PING: Re: patch: libiberty adjustments for _WIN64
- From: Kai Tietz <Kai dot Tietz at onevision dot com>
- To: Kai Tietz <Kai dot Tietz at onevision dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Ian Lance Taylor <iant at google dot com>
- Date: Mon, 16 Jul 2007 10:50:09 +0200
- Subject: PING: Re: patch: libiberty adjustments for _WIN64
Kai Tietz/Onevision wrote on 06.07.2007 14:24:28:
> Hello all,
>
> This is a change for the x86_64-pc-mingw32 target in libiberty. For
> _WIN64 HANDLE is bigger in size than the "long" type used in pex for
> the pid. Therefore on back-casting from a "long" to the HANDLE value
> (in pex_win32_wait) the system handle is getting corrupted.
>
> ChangeLog:
> 2007-07-06 Kai Tietz <Kai.Tietz@onevision.com>
> * libiberty/pex-win32.c: (pid_map, pid_map_max): New.
> (win32_spawn): Use for _WIN64 pid_map for "long" typed
> pids.
> (pex_win32_wait): Likewise.
Cheers,
i.A. Kai Tietz
| (\_/) This is Bunny. Copy and paste Bunny
| (='.'=) into your signature to help him gain
| (")_(") world domination.
------------------------------------------------------------------------------------------
OneVision Software Entwicklungs GmbH & Co. KG
Dr.-Leo-Ritter-StraÃe 9 - 93049 Regensburg
Tel: +49.(0)941.78004.0 - Fax: +49.(0)941.78004.489 - www.OneVision.com
Commerzbank Regensburg - BLZ 750 400 62 - Konto 6011050
Handelsregister: HRA 6744, Amtsgericht Regensburg
KomplementÃrin: OneVision Software Entwicklungs Verwaltungs GmbH
Dr.-Leo-Ritter-StraÃe 9 â 93049 Regensburg
Handelsregister: HRB 8932, Amtsgericht Regensburg - GeschÃftsfÃhrer:
Ulrike DÃhler, Manuela Kluger