From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3478 invoked by alias); 3 Aug 2007 23:16:23 -0000 Received: (qmail 3460 invoked by uid 22791); 3 Aug 2007 23:16:22 -0000 X-Spam-Check-By: sourceware.org Received: from pool-71-248-179-24.bstnma.fios.verizon.net (HELO ednor.cgf.cx) (71.248.179.24) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 03 Aug 2007 23:16:21 +0000 Received: by ednor.cgf.cx (Postfix, from userid 201) id 0254C2B352; Fri, 3 Aug 2007 19:16:43 -0400 (EDT) Date: Fri, 03 Aug 2007 23:16:00 -0000 From: Christopher Faylor To: Ian Lance Taylor , gdb-patches@sourceware.org, binutils@sourceware.org, gcc-patches@gcc.gnu.org, Kai Tietz Subject: Re: patch: libiberty pex for _WIN64 Message-ID: <20070803231642.GC11438@ednor.casa.cgf.cx> Mail-Followup-To: Ian Lance Taylor , gdb-patches@sourceware.org, binutils@sourceware.org, gcc-patches@gcc.gnu.org, Kai Tietz References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.15 (2007-04-06) Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2007-08/txt/msg00060.txt.bz2 On Fri, Aug 03, 2007 at 05:31:39PM +0200, Kai Tietz wrote: >Ian, > >Sorry, I missed to attach the patch 8) > >I prepared a patch for pex using pid_t instead of the type 'long' for >system handles. This is necessary for _WIN64, because the long type isn't >wide enougth to hold a pointer for this ABI The type pid_t is always >defined by the configure in config.h if not defined by the header-set. >Therefore it seems to be the best way to make this run. > >ChangeLog: > >2007-08-03 Kai Tietz > > * pex-common.h: (pex_funcs): Retyped wait and exec_child to pid_t. > * pex-djgpp.c: Likewise. > * pex-msdos.c: Likewise. > * pex-unix.c: Likewise. > * pex-win32.c: Likewise. If long isn't long enough what is pid_t defined to be on _WIN64? cgf