Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:17105 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 70189 invoked by uid 1010); 4 Jul 2005 09:48:41 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 70174 invoked from network); 4 Jul 2005 09:48:41 -0000 Received: from unknown (HELO php.net) (127.0.0.1) by localhost with SMTP; 4 Jul 2005 09:48:41 -0000 X-Host-Fingerprint: 82.94.239.5 jdi.jdi-ict.nl Linux 2.5 (sometimes 2.4) (4) Received: from ([82.94.239.5:45905] helo=jdi.jdi-ict.nl) by pb1.pair.com (ecelerity 1.2 r(5656M)) with SMTP id 94/DE-08900-7F509C24 for ; Mon, 04 Jul 2005 05:48:40 -0400 Received: from localhost (localhost [127.0.0.1]) by jdi.jdi-ict.nl (8.12.11/8.12.11) with ESMTP id j649mbrQ021754 for ; Mon, 4 Jul 2005 11:48:37 +0200 Received: from localhost (localhost [127.0.0.1]) by jdi.jdi-ict.nl (8.12.11/8.12.11) with ESMTP id j649mPHd021732; Mon, 4 Jul 2005 11:48:25 +0200 Date: Mon, 4 Jul 2005 11:48:24 +0200 (CEST) X-X-Sender: derick@localhost To: Ard Biesheuvel cc: internals@lists.php.net In-Reply-To: <17.4E.08900.92409C24@pb1.pair.com> Message-ID: References: <17.4E.08900.92409C24@pb1.pair.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at jdi-ict.nl Subject: Re: [PHP-DEV] check for strptime() From: derick@php.net (Derick Rethans) On Mon, 4 Jul 2005, Ard Biesheuvel wrote: > Trying to fix an issue with the interbase extension. > > Does anyone know if the build system on UNIX ever contained a test for the > availability of strptime() ? The Interbase module uses the HAVE_STRPTIME > macro, but it never gets #defined. Would anyone object if I add such a test? I would suggest not to use this function, as it's highly system dependent. It might be much wiser to use the new date/time parsing routines instead. Derick -- Derick Rethans http://derickrethans.nl | http://ez.no | http://xdebug.org