This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

patch: libiberty adjustments for _WIN64


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

Attachment: iberty_win64.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]