Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:4816 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 80891 invoked by uid 1010); 13 Oct 2003 13:55:15 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 80867 invoked from network); 13 Oct 2003 13:55:15 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by pb1.pair.com with SMTP; 13 Oct 2003 13:55:15 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h9DDtEM18262 for ; Mon, 13 Oct 2003 09:55:14 -0400 Received: from lacrosse.corp.redhat.com (lacrosse.corp.redhat.com [172.16.52.154]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h9DDtEr02209 for ; Mon, 13 Oct 2003 09:55:14 -0400 Received: from radish.cambridge.redhat.com (radish.cambridge.redhat.com [172.16.18.90]) by lacrosse.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h9DDtEV03210 for ; Mon, 13 Oct 2003 09:55:14 -0400 Received: from radish.cambridge.redhat.com (localhost.localdomain [127.0.0.1]) by radish.cambridge.redhat.com (8.12.10/8.12.7) with ESMTP id h9DDtDSV002809 for ; Mon, 13 Oct 2003 14:55:13 +0100 Received: (from jorton@localhost) by radish.cambridge.redhat.com (8.12.10/8.12.10/Submit) id h9DDtCja002808 for internals@lists.php.net; Mon, 13 Oct 2003 14:55:12 +0100 Date: Mon, 13 Oct 2003 14:55:12 +0100 To: internals@lists.php.net Message-ID: <20031013135512.GF19957@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: [PATCH] fix wddx tests for 64-bit time_t From: jorton@redhat.com (Joe Orton) The wddx tests presume that "2040-06-12T04:32:12" cannot be parsed; that's only true on platforms with a 32-bit time_t. Here's a fix: Index: ext/wddx/tests/001.phpt =================================================================== RCS file: /repository/php-src/ext/wddx/tests/001.phpt,v retrieving revision 1.1.2.2 diff -u -r1.1.2.2 001.phpt --- ext/wddx/tests/001.phpt 14 Aug 2003 17:25:17 -0000 1.1.2.2 +++ ext/wddx/tests/001.phpt 13 Oct 2003 13:48:27 -0000 @@ -18,7 +18,7 @@ ["aDateTime2"]=> int(329607132) ["aDateTime3"]=> - string(19) "2040-06-12T04:32:12" + string(12) "NotADateTime" ["aBoolean"]=> bool(true) ["anArray"]=> Index: ext/wddx/tests/wddx.xml =================================================================== RCS file: /repository/php-src/ext/wddx/tests/wddx.xml,v retrieving revision 1.1.2.2 diff -u -r1.1.2.2 wddx.xml --- ext/wddx/tests/wddx.xml 14 Aug 2003 17:25:17 -0000 1.1.2.2 +++ ext/wddx/tests/wddx.xml 13 Oct 2003 13:48:27 -0000 @@ -20,7 +20,7 @@ 1980-06-12T04:32:12 - 2040-06-12T04:32:12 + NotADateTime