Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:5009 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 94161 invoked by uid 1010); 26 Oct 2003 13:43:52 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 94135 invoked from network); 26 Oct 2003 13:43:52 -0000 Received: from unknown (HELO hermes.sunderland.ac.uk) (157.228.37.117) by pb1.pair.com with SMTP; 26 Oct 2003 13:43:52 -0000 Received: from Sfoxstu ([157.228.147.166]) by hermes.sunderland.ac.uk (iPlanet Messaging Server 5.2 Patch 1 (built Aug 19 2002)) with ESMTPA id <0HND00MAGA88I2@hermes.sunderland.ac.uk> for internals@lists.php.net; Sun, 26 Oct 2003 13:45:45 +0000 (GMT) Date: Sun, 26 Oct 2003 14:47:05 +0000 To: =?iso-8859-1?Q?Marcus_B=F6rger?= Cc: Sebastian Bergmann , internals@lists.php.net Reply-to: Steph Message-ID: <006e01c39bd0$069f1e60$a693e49d@Sfoxstu> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Mailer: Microsoft Outlook Express 5.50.4522.1200 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT X-Priority: 3 X-MSMail-priority: Normal References: <001001c39b7f$a3f37860$a693e49d@Sfoxstu> <1111180146218.20031026124309@marcus-boerger.de> Subject: Re: [PHP-DEV] cracked it! (cleaning up) From: steph.fox@virgin.net (Steph) > This is not correct, both use ptrdiff_t. Yes. One already has an include that defines it.. OK OK, agreed that's tenuous. > Also you need the sizeof define (which works as a detection define, too): > SIZEOF_PTRDIFF_T This is defined as an absolute in config.w32.h (for 32-bit and 64-bit architectures). > Generally your analyse looks good besides the comment above. > Only i am not sure if we can really nuke the include, you sure about that? Definitely cast.c. Everything builds if you nuke it on snprintf.c too. If anyone can mail me/point me to a test script that will check either/both contentions, I have that build sitting here at present.. > However changing the define to the one you suggest might be a good idea. > thx ;) - Steph