Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:5002 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 92354 invoked by uid 1010); 26 Oct 2003 04:08:26 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 92310 invoked from network); 26 Oct 2003 04:08:26 -0000 Received: from unknown (HELO hermes.sunderland.ac.uk) (157.228.37.117) by pb1.pair.com with SMTP; 26 Oct 2003 04:08:26 -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 <0HNC002STJL7JM@hermes.sunderland.ac.uk> for internals@lists.php.net; Sun, 26 Oct 2003 04:10:19 +0000 (GMT) Date: Sun, 26 Oct 2003 05:11:39 +0000 To: Sebastian Bergmann Cc: internals@lists.php.net Reply-to: Steph Message-ID: <001001c39b7f$a3f37860$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 Subject: cracked it! (cleaning up) From: steph.fox@virgin.net (Steph) I searched on ssize_t. There are 5 files where ssize_t is defined: configure.in //irrelevant to win32 config.w32.h //changed definition to #define ssize_t SSIZE_T because is more pervasive in the upper reaches of PHP than fcgi_config_win32.h //removed the define, no longer needed fcgi_config_x86.h //irrelevant to win32 php_mnogo.c //irrelevant to win32 There are 3 files where is included: snprintf.c //removed the include line, no longer needed spprintf.c //needs stddef.h, uses ptrdiff_t cast.c //removed the include line, no longer needed There is one file (Sterling's, naturally) where win32 isn't a consideration: dio.c //irrelevant to win32 and one file where win32 is irrelevant given the context (because PHP_PREAD_64 is only defined in acinclude.m4) php.h //irrelevant to win32 and then there's our friend the gd-breaker: gd_jpeg.c //removed the ssize_t define, no longer needed Now we don't HAVE to make those changes, but if we do, it's better future-proofing for that particular typedef because it provides a more generic solution than the one currently in place. G'night!!