[PHP-CVS-DAILY] cvs: php-src / ChangeLog

2004-04-04 Thread changelog
changelog   Sun Apr  4 20:35:40 2004 EDT

  Modified files:  
/php-srcChangeLog 
  Log:
  ChangeLog update
  
http://cvs.php.net/diff.php/php-src/ChangeLog?r1=1.1588r2=1.1589ty=u
Index: php-src/ChangeLog
diff -u php-src/ChangeLog:1.1588 php-src/ChangeLog:1.1589
--- php-src/ChangeLog:1.1588Sat Apr  3 20:32:13 2004
+++ php-src/ChangeLog   Sun Apr  4 20:35:40 2004
@@ -1,3 +1,60 @@
+2004-04-04  Moriyoshi Koizumi  [EMAIL PROTECTED]
+
+* ext/mbstring/config.m4:
+  - Let it work safely
+
+* (PHP_4_3)
+  ext/wddx/tests/001.phpt
+  ext/wddx/tests/wddx.xml:
+  - Remove test, as it's never worked as expected.
+
+2004-04-04  Derick Rethans  [EMAIL PROTECTED]
+
+* ext/mbstring/config.m4:
+  - Fixed test
+
+2004-04-04  Ilia Alshanetsky  [EMAIL PROTECTED]
+
+* ZendEngine2/zend_objects_API.c:
+  Removed unused variable.
+
+2004-04-04  Moriyoshi Koizumi  [EMAIL PROTECTED]
+
+* ext/wddx/tests/001.phpt:
+  - Fix test: Any datetime value that exceeds the unix time range should
+not be unserialized.
+
+2004-04-04  Ilia Alshanetsky  [EMAIL PROTECTED]
+
+* (PHP_4_3)
+  NEWS
+  ext/gd/gd.c:
+  MFH: Fixed a bug that prevented building of the GD extension against
+  external GD lib 1.X.
+
+* ext/gd/gd.c:
+  Fixed a bug that prevented building of gd extension against external GD
+  lib 1.X.
+
+2004-04-04  Ard Biesheuvel  [EMAIL PROTECTED]
+
+* ext/interbase/php_ibase_includes.h:
+  CS
+
+2004-04-04  Derick Rethans  [EMAIL PROTECTED]
+
+* ext/standard/tests/time/bug21966.phpt:
+  - Fixed comment and double 0
+
+* ext/standard/tests/time/bug21966.phpt:
+  
+  - One more test for a date/time related bug.
+
+2004-04-04  Marcus Boerger  [EMAIL PROTECTED]
+
+* ext/standard/config.m4:
+  Add a comment why it is in
+
 2004-04-03  Andi Gutmans  [EMAIL PROTECTED]
 
 * ZendEngine2/zend_builtin_functions.c:
@@ -1481,7 +1538,7 @@
 2004-03-18  Pierre-Alain Joye  [EMAIL PROTECTED]
 
 * ext/gd/tests/bug27582_2.phpt:
-  - Fix the test description and $Id: ChangeLog,v 1.1588 2004/04/04 01:32:13 
changelog Exp $
+  - Fix the test description and $Id: ChangeLog,v 1.1589 2004/04/05 00:35:40 
changelog Exp $
 
 2004-03-18  Derick Rethans  [EMAIL PROTECTED]
 


[PHP-CVS-DAILY] cvs: ZendEngine2 / ChangeLog

2004-04-04 Thread changelog
changelog   Sun Apr  4 20:35:44 2004 EDT

  Modified files:  
/ZendEngine2ChangeLog 
  Log:
  ChangeLog update
  
http://cvs.php.net/diff.php/ZendEngine2/ChangeLog?r1=1.443r2=1.444ty=u
Index: ZendEngine2/ChangeLog
diff -u ZendEngine2/ChangeLog:1.443 ZendEngine2/ChangeLog:1.444
--- ZendEngine2/ChangeLog:1.443 Sat Apr  3 20:32:18 2004
+++ ZendEngine2/ChangeLog   Sun Apr  4 20:35:43 2004
@@ -1,3 +1,8 @@
+2004-04-04  Ilia Alshanetsky  [EMAIL PROTECTED]
+
+* zend_objects_API.c:
+  Removed unused variable.
+
 2004-04-03  Andi Gutmans  [EMAIL PROTECTED]
 
 * zend_builtin_functions.c:
@@ -4352,7 +4357,7 @@
 2003-06-10  Jani Taskinen  [EMAIL PROTECTED]
 
 * zend_multiply.h:
-  - Missing $Id: ChangeLog,v 1.443 2004/04/04 01:32:18 changelog Exp $ tag
+  - Missing $Id: ChangeLog,v 1.444 2004/04/05 00:35:43 changelog Exp $ tag
 
 2003-06-10  James Cox  [EMAIL PROTECTED]
 
@@ -6076,7 +6081,7 @@
   zend_types.h
   zend_variables.c
   zend_variables.h:
-  - Added some missing CVS $Id: ChangeLog,v 1.443 2004/04/04 01:32:18 changelog 
Exp $ tags, headers and footers.
+  - Added some missing CVS $Id: ChangeLog,v 1.444 2004/04/05 00:35:43 changelog 
Exp $ tags, headers and footers.
 
 2003-01-30  Ilia Alshanetsky  [EMAIL PROTECTED]
 


[PHP-CVS] cvs: php-src /ext/standard config.m4

2004-04-04 Thread Marcus Boerger
helly   Sun Apr  4 08:31:13 2004 EDT

  Modified files:  
/php-src/ext/standard   config.m4 
  Log:
  Add a comment why it is in
  
http://cvs.php.net/diff.php/php-src/ext/standard/config.m4?r1=1.73r2=1.74ty=u
Index: php-src/ext/standard/config.m4
diff -u php-src/ext/standard/config.m4:1.73 php-src/ext/standard/config.m4:1.74
--- php-src/ext/standard/config.m4:1.73 Sat Apr  3 11:38:10 2004
+++ php-src/ext/standard/config.m4  Sun Apr  4 08:31:12 2004
@@ -1,4 +1,4 @@
-dnl $Id: config.m4,v 1.73 2004/04/03 16:38:10 abies Exp $ -*- sh -*-
+dnl $Id: config.m4,v 1.74 2004/04/04 12:31:12 helly Exp $ -*- sh -*-
 
 divert(3)dnl
 
@@ -416,6 +416,7 @@
 int main(int argc, char** argv)
 {
 #if defined(__sparc__)  !(__GNUC__ = 3)
+   /* prevent bug #27830 */
return 1;
 #else
return zend_isinf(HUGE_VAL)  zend_isnan(HUGE_VAL + -HUGE_VAL) ? 0 : 1;

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-CVS] cvs: php-src(PHP_4_3) /ext/standard config.m4

2004-04-04 Thread Marcus Boerger
helly   Sun Apr  4 08:31:38 2004 EDT

  Modified files:  (Branch: PHP_4_3)
/php-src/ext/standard   config.m4 
  Log:
  MFH: Add comment
  
http://cvs.php.net/diff.php/php-src/ext/standard/config.m4?r1=1.47.2.12r2=1.47.2.13ty=u
Index: php-src/ext/standard/config.m4
diff -u php-src/ext/standard/config.m4:1.47.2.12 
php-src/ext/standard/config.m4:1.47.2.13
--- php-src/ext/standard/config.m4:1.47.2.12Sun Apr  4 06:24:09 2004
+++ php-src/ext/standard/config.m4  Sun Apr  4 08:31:38 2004
@@ -1,4 +1,4 @@
-dnl $Id: config.m4,v 1.47.2.12 2004/04/04 10:24:09 abies Exp $ -*- sh -*-
+dnl $Id: config.m4,v 1.47.2.13 2004/04/04 12:31:38 helly Exp $ -*- sh -*-
 
 divert(3)dnl
 
@@ -353,6 +353,7 @@
 int main(int argc, char** argv)
 {
 #if defined(__sparc__)  !(__GNUC__ = 3)
+   /* prevent bug #27830 */
return 1;
 #else
return zend_isinf(HUGE_VAL)  zend_isnan(HUGE_VAL + -HUGE_VAL) ? 0 : 1;

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-CVS] cvs: php-src /ext/standard/tests/time bug21966.phpt

2004-04-04 Thread Derick Rethans
derick  Sun Apr  4 08:42:13 2004 EDT

  Added files: 
/php-src/ext/standard/tests/timebug21966.phpt 
  Log:
  - One more test for a date/time related bug.
  
  

http://cvs.php.net/co.php/php-src/ext/standard/tests/time/bug21966.phpt?r=1.1p=1
Index: php-src/ext/standard/tests/time/bug21966.phpt
+++ php-src/ext/standard/tests/time/bug21966.phpt
--TEST--
Bug #21966 (date() or mktime() returning bad value for mktime month param of '2')
--FILE--
?php
putenv(TZ=Europe/London);

echo '27/3/04 = ' . strval(mktime(00,0,0,3,27,2004)) . \n;   // 1080345600
echo '28/3/04 = ' . strval(mktime(0,0,0,3,28,2004)) . \n;   // -3662  - should be 
108042840
echo '28/3/04 = ' . strval(mktime(2,0,0,3,28,2004)) . \n;   // 1080435600
echo '29/3/04 = ' . strval(mktime(0,0,0,3,29,2004)) . \n;   // 1080514800
echo '30/3/04 = ' . strval(mktime(0,0,0,3,30,2004)) . \n;   // 1080601200

?
--EXPECT--
27/3/04 = 1080345600
28/3/04 = 1080432000
28/3/04 = 1080435600
29/3/04 = 1080514800
30/3/04 = 1080601200

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-CVS] cvs: php-src(PHP_4_3) /ext/standard/tests/time bug21966.phpt

2004-04-04 Thread Derick Rethans
derick  Sun Apr  4 08:43:17 2004 EDT

  Added files: (Branch: PHP_4_3)
/php-src/ext/standard/tests/timebug21966.phpt 
  Log:
  - MFH: One more test for DST bugs.
  
  

http://cvs.php.net/co.php/php-src/ext/standard/tests/time/bug21966.phpt?r=1.1p=1
Index: php-src/ext/standard/tests/time/bug21966.phpt
+++ php-src/ext/standard/tests/time/bug21966.phpt
--TEST--
Bug #21966 (date() or mktime() returning bad value for mktime month param of '2')
--FILE--
?php
putenv(TZ=Europe/London);

echo '27/3/04 = ' . strval(mktime(00,0,0,3,27,2004)) . \n;   // 1080345600
echo '28/3/04 = ' . strval(mktime(0,0,0,3,28,2004)) . \n;   // -3662  - should be 
108042840
echo '28/3/04 = ' . strval(mktime(2,0,0,3,28,2004)) . \n;   // 1080435600
echo '29/3/04 = ' . strval(mktime(0,0,0,3,29,2004)) . \n;   // 1080514800
echo '30/3/04 = ' . strval(mktime(0,0,0,3,30,2004)) . \n;   // 1080601200

?
--EXPECT--
27/3/04 = 1080345600
28/3/04 = 1080432000
28/3/04 = 1080435600
29/3/04 = 1080514800
30/3/04 = 1080601200

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-CVS] cvs: php-src /ext/standard/tests/time bug21966.phpt

2004-04-04 Thread Derick Rethans
derick  Sun Apr  4 08:45:02 2004 EDT

  Modified files:  
/php-src/ext/standard/tests/timebug21966.phpt 
  Log:
  - Fixed comment and double 0
  
  
http://cvs.php.net/diff.php/php-src/ext/standard/tests/time/bug21966.phpt?r1=1.1r2=1.2ty=u
Index: php-src/ext/standard/tests/time/bug21966.phpt
diff -u php-src/ext/standard/tests/time/bug21966.phpt:1.1 
php-src/ext/standard/tests/time/bug21966.phpt:1.2
--- php-src/ext/standard/tests/time/bug21966.phpt:1.1   Sun Apr  4 08:42:13 2004
+++ php-src/ext/standard/tests/time/bug21966.phpt   Sun Apr  4 08:45:02 2004
@@ -4,8 +4,8 @@
 ?php
 putenv(TZ=Europe/London);
 
-echo '27/3/04 = ' . strval(mktime(00,0,0,3,27,2004)) . \n;   // 1080345600
-echo '28/3/04 = ' . strval(mktime(0,0,0,3,28,2004)) . \n;   // -3662  - should be 
108042840
+echo '27/3/04 = ' . strval(mktime(0,0,0,3,27,2004)) . \n;   // 1080345600
+echo '28/3/04 = ' . strval(mktime(0,0,0,3,28,2004)) . \n;   // -3662  - should be 
108043200
 echo '28/3/04 = ' . strval(mktime(2,0,0,3,28,2004)) . \n;   // 1080435600
 echo '29/3/04 = ' . strval(mktime(0,0,0,3,29,2004)) . \n;   // 1080514800
 echo '30/3/04 = ' . strval(mktime(0,0,0,3,30,2004)) . \n;   // 1080601200

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-CVS] cvs: php-src(PHP_4_3) /ext/standard/tests/time bug21966.phpt

2004-04-04 Thread Derick Rethans
derick  Sun Apr  4 08:45:34 2004 EDT

  Modified files:  (Branch: PHP_4_3)
/php-src/ext/standard/tests/timebug21966.phpt 
  Log:
  - MFH: Fixed comment and double 0
  
  
http://cvs.php.net/diff.php/php-src/ext/standard/tests/time/bug21966.phpt?r1=1.1.2.1r2=1.1.2.2ty=u
Index: php-src/ext/standard/tests/time/bug21966.phpt
diff -u php-src/ext/standard/tests/time/bug21966.phpt:1.1.2.1 
php-src/ext/standard/tests/time/bug21966.phpt:1.1.2.2
--- php-src/ext/standard/tests/time/bug21966.phpt:1.1.2.1   Sun Apr  4 08:43:17 
2004
+++ php-src/ext/standard/tests/time/bug21966.phpt   Sun Apr  4 08:45:34 2004
@@ -4,8 +4,8 @@
 ?php
 putenv(TZ=Europe/London);
 
-echo '27/3/04 = ' . strval(mktime(00,0,0,3,27,2004)) . \n;   // 1080345600
-echo '28/3/04 = ' . strval(mktime(0,0,0,3,28,2004)) . \n;   // -3662  - should be 
108042840
+echo '27/3/04 = ' . strval(mktime(0,0,0,3,27,2004)) . \n;   // 1080345600
+echo '28/3/04 = ' . strval(mktime(0,0,0,3,28,2004)) . \n;   // -3662  - should be 
108043200
 echo '28/3/04 = ' . strval(mktime(2,0,0,3,28,2004)) . \n;   // 1080435600
 echo '29/3/04 = ' . strval(mktime(0,0,0,3,29,2004)) . \n;   // 1080514800
 echo '30/3/04 = ' . strval(mktime(0,0,0,3,30,2004)) . \n;   // 1080601200

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-CVS] cvs: php-src /ext/interbase php_ibase_includes.h

2004-04-04 Thread Ard Biesheuvel
abies   Sun Apr  4 09:51:56 2004 EDT

  Modified files:  
/php-src/ext/interbase  php_ibase_includes.h 
  Log:
  CS
  
http://cvs.php.net/diff.php/php-src/ext/interbase/php_ibase_includes.h?r1=1.4r2=1.5ty=u
Index: php-src/ext/interbase/php_ibase_includes.h
diff -u php-src/ext/interbase/php_ibase_includes.h:1.4 
php-src/ext/interbase/php_ibase_includes.h:1.5
--- php-src/ext/interbase/php_ibase_includes.h:1.4  Mon Mar  8 05:32:26 2004
+++ php-src/ext/interbase/php_ibase_includes.h  Sun Apr  4 09:51:56 2004
@@ -18,10 +18,10 @@
+--+
  */
 
-/* $Id: php_ibase_includes.h,v 1.4 2004/03/08 10:32:26 abies Exp $ */
+/* $Id: php_ibase_includes.h,v 1.5 2004/04/04 13:51:56 abies Exp $ */
 
-#ifndef INTERBASE_H
-#define INTERBASE_H
+#ifndef PHP_IBASE_INCLUDES_H
+#define PHP_IBASE_INCLUDES_H
 
 #include ibase.h
 
@@ -42,7 +42,7 @@
 #endif /* PHP_WIN32 */
 #endif /* SQL_DIALECT_CURRENT */
 
-#define RESET_ERRMSG { IBG(errmsg)[0] = '\0'; IBG(sql_code) = 0; }
+#define RESET_ERRMSG do { IBG(errmsg)[0] = '\0'; IBG(sql_code) = 0; } while (0)
 
 #define IB_STATUS (IBG(status))
 
@@ -197,16 +197,16 @@
 
 void _php_ibase_error(TSRMLS_D);
 void _php_ibase_module_error(char * TSRMLS_DC, ...) 
-   PHP_ATTRIBUTE_FORMAT(printf,1,PHP_ATTR_FMT_OFFSET +2);
+   PHP_ATTRIBUTE_FORMAT(printf,1,PHP_ATTR_FMT_OFFSET +2);  
 
 /* determine if a resource is a link or transaction handle */
-#define PHP_IBASE_LINK_TRANS(pzval, lh, th) \
-   do { if (!pzval) { \
-   ZEND_FETCH_RESOURCE2(lh, ibase_db_link *, NULL, 
IBG(default_link), \
-   InterBase link, le_link, le_plink) } \
-   else \
-   _php_ibase_get_link_trans(INTERNAL_FUNCTION_PARAM_PASSTHRU, 
pzval, lh, th); \
-   if (SUCCESS != _php_ibase_def_trans(lh, th TSRMLS_CC)) { 
RETURN_FALSE; } \
+#define PHP_IBASE_LINK_TRANS(pzval, lh, th)   
 \
+   do { if (!pzval) { 
 \
+   ZEND_FETCH_RESOURCE2(lh, ibase_db_link *, NULL, 
IBG(default_link),  \
+   InterBase link, le_link, le_plink) } 
 \
+   else   
   
  \
+   _php_ibase_get_link_trans(INTERNAL_FUNCTION_PARAM_PASSTHRU, 
pzval, lh, th);  \
+   if (SUCCESS != _php_ibase_def_trans(lh, th TSRMLS_CC)) { 
RETURN_FALSE; }   \
} while (0)

 int _php_ibase_def_trans(ibase_db_link *ib_link, ibase_trans **trans TSRMLS_DC);
@@ -219,7 +219,7 @@
 #define max(a,b) ((a)(b)?(a):(b))
 #endif
 
-#endif /* INTERBASE_H */
+#endif /* PHP_IBASE_INCLUDES_H */
 
 /*
  * Local variables:

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-CVS] cvs: php-src /ext/gd gd.c

2004-04-04 Thread Ilia Alshanetsky
iliaa   Sun Apr  4 13:59:09 2004 EDT

  Modified files:  
/php-src/ext/gd gd.c 
  Log:
  Fixed a bug that prevented building of gd extension against external GD
  lib 1.X.
  
  
http://cvs.php.net/diff.php/php-src/ext/gd/gd.c?r1=1.289r2=1.290ty=u
Index: php-src/ext/gd/gd.c
diff -u php-src/ext/gd/gd.c:1.289 php-src/ext/gd/gd.c:1.290
--- php-src/ext/gd/gd.c:1.289   Mon Mar 29 13:20:32 2004
+++ php-src/ext/gd/gd.c Sun Apr  4 13:59:08 2004
@@ -18,7 +18,7 @@
+--+
  */
 
-/* $Id: gd.c,v 1.289 2004/03/29 18:20:32 iliaa Exp $ */
+/* $Id: gd.c,v 1.290 2004/04/04 17:59:08 iliaa Exp $ */
 
 /* gd 1.2 is copyright 1994, 1995, Quest Protein Database Center,
Cold Spring Harbor Labs. */
@@ -1720,6 +1720,7 @@
}
 
switch (image_type) {
+#ifdef HAVE_GD_WBMP
case PHP_GDIMG_CONVERT_WBM:
if (q == -1) {
q = 0;
@@ -1729,6 +1730,7 @@
}
gdImageWBMP(im, q, fp);
break;
+#endif
case PHP_GDIMG_TYPE_JPG:
(*func_p)(im, fp, q);
break;
@@ -1767,6 +1769,7 @@
}
 
switch (image_type) {
+#ifdef HAVE_GD_WBMP
case PHP_GDIMG_CONVERT_WBM:
if (q == -1) {
q = 0;
@@ -1776,6 +1779,7 @@
}
gdImageWBMP(im, q, tmp);
break;
+#endif
case PHP_GDIMG_TYPE_JPG:
(*func_p)(im, tmp, q);
break;

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-CVS] cvs: php-src(PHP_4_3) / NEWS /ext/gd gd.c

2004-04-04 Thread Ilia Alshanetsky
iliaa   Sun Apr  4 14:00:24 2004 EDT

  Modified files:  (Branch: PHP_4_3)
/php-srcNEWS 
/php-src/ext/gd gd.c 
  Log:
  MFH: Fixed a bug that prevented building of the GD extension against 
  external GD lib 1.X.
  
  
http://cvs.php.net/diff.php/php-src/NEWS?r1=1.1247.2.627r2=1.1247.2.628ty=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.1247.2.627 php-src/NEWS:1.1247.2.628
--- php-src/NEWS:1.1247.2.627   Sat Apr  3 12:23:14 2004
+++ php-src/NEWSSun Apr  4 14:00:23 2004
@@ -2,6 +2,8 @@
 |||
 01 Apr 2004, Version 4.3.6RC1
 - Synchronized bundled GD library with GD 2.0.22. (Ilia)
+- Fixed a bug that prevented building of the GD extension against external GD
+  lib 1.X. (Ilia, Nick Talbott).
 - Fixed bug #27849 (configure craps out on trivial syntax error). (Derick)
 - Fixed bug #27822 (is_resource() returns TRUE for closed resources). (Derick)
 - Fixed bug #27819 (problems returning reference to a reference parameter).
http://cvs.php.net/diff.php/php-src/ext/gd/gd.c?r1=1.221.2.37r2=1.221.2.38ty=u
Index: php-src/ext/gd/gd.c
diff -u php-src/ext/gd/gd.c:1.221.2.37 php-src/ext/gd/gd.c:1.221.2.38
--- php-src/ext/gd/gd.c:1.221.2.37  Mon Mar 29 13:21:00 2004
+++ php-src/ext/gd/gd.c Sun Apr  4 14:00:23 2004
@@ -18,7 +18,7 @@
+--+
  */
 
-/* $Id: gd.c,v 1.221.2.37 2004/03/29 18:21:00 iliaa Exp $ */
+/* $Id: gd.c,v 1.221.2.38 2004/04/04 18:00:23 iliaa Exp $ */
 
 /* gd 1.2 is copyright 1994, 1995, Quest Protein Database Center, 
Cold Spring Harbor Labs. */
@@ -1616,6 +1616,7 @@
}
 
switch(image_type) {
+#ifdef HAVE_GD_WBMP
case PHP_GDIMG_CONVERT_WBM:
if (q == -1) {
q = 0;
@@ -1625,6 +1626,7 @@
}
gdImageWBMP(im, q, fp);
break;
+#endif
case PHP_GDIMG_TYPE_JPG:
(*func_p)(im, fp, q);
break;
@@ -1663,6 +1665,7 @@
}
 
switch(image_type) {
+#ifdef HAVE_GD_WBMP
case PHP_GDIMG_CONVERT_WBM:
if (q == -1) {
q = 0;
@@ -1672,6 +1675,7 @@
}
gdImageWBMP(im, q, tmp);
break;
+#endif
case PHP_GDIMG_TYPE_JPG:
(*func_p)(im, tmp, q);
break;

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-CVS] cvs: php-src /ext/wddx/tests 001.phpt

2004-04-04 Thread Moriyoshi Koizumi
moriyoshi   Sun Apr  4 14:07:36 2004 EDT

  Modified files:  
/php-src/ext/wddx/tests 001.phpt 
  Log:
  - Fix test: Any datetime value that exceeds the unix time range should
not be unserialized.
  
  
http://cvs.php.net/diff.php/php-src/ext/wddx/tests/001.phpt?r1=1.4r2=1.5ty=u
Index: php-src/ext/wddx/tests/001.phpt
diff -u php-src/ext/wddx/tests/001.phpt:1.4 php-src/ext/wddx/tests/001.phpt:1.5
--- php-src/ext/wddx/tests/001.phpt:1.4 Sat Mar  6 18:11:25 2004
+++ php-src/ext/wddx/tests/001.phpt Sun Apr  4 14:07:36 2004
@@ -18,7 +18,7 @@
   [aDateTime2]=
   int(329632332)
   [aDateTime3]=
-  string(19) 2040-06-12T04:32:12
+  string(22) 2040-06-12T04:32:12+00
   [aBoolean]=
   bool(true)
   [anArray]=

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-CVS] cvs: php-src /ext/mbstring config.m4

2004-04-04 Thread Derick Rethans
derick  Sun Apr  4 15:00:54 2004 EDT

  Modified files:  
/php-src/ext/mbstring   config.m4 
  Log:
  - Fixed test
  
  
http://cvs.php.net/diff.php/php-src/ext/mbstring/config.m4?r1=1.47r2=1.48ty=u
Index: php-src/ext/mbstring/config.m4
diff -u php-src/ext/mbstring/config.m4:1.47 php-src/ext/mbstring/config.m4:1.48
--- php-src/ext/mbstring/config.m4:1.47 Sat Apr  3 12:23:53 2004
+++ php-src/ext/mbstring/config.m4  Sun Apr  4 15:00:53 2004
@@ -1,5 +1,5 @@
 dnl
-dnl $Id: config.m4,v 1.47 2004/04/03 17:23:53 derick Exp $
+dnl $Id: config.m4,v 1.48 2004/04/04 19:00:53 derick Exp $
 dnl
 
 AC_DEFUN([PHP_MBSTRING_ADD_SOURCES], [
@@ -34,7 +34,7 @@
 PHP_ADD_BUILD_DIR([$ext_builddir/$dir])
   done
   
-  if test $ext_shared = no -o -e $ext_builddir/config.h.in; then
+  if test $ext_shared = no -o ! -e $ext_builddir/config.h.in; then
 out=php_config.h
   else
 out=$abs_builddir/config.h

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-CVS] cvs: php-src(PHP_4_3) /ext/wddx/tests 001.phpt wddx.xml

2004-04-04 Thread Moriyoshi Koizumi
moriyoshi   Sun Apr  4 15:19:45 2004 EDT

  Removed files:   (Branch: PHP_4_3)
/php-src/ext/wddx/tests 001.phpt wddx.xml 
  Log:
  - Remove test, as it's never worked as expected.
  
  

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-CVS] cvs: php-src /ext/mbstring config.m4

2004-04-04 Thread Moriyoshi Koizumi
moriyoshi   Sun Apr  4 15:23:19 2004 EDT

  Modified files:  
/php-src/ext/mbstring   config.m4 
  Log:
  - Let it work safely
  
  
http://cvs.php.net/diff.php/php-src/ext/mbstring/config.m4?r1=1.48r2=1.49ty=u
Index: php-src/ext/mbstring/config.m4
diff -u php-src/ext/mbstring/config.m4:1.48 php-src/ext/mbstring/config.m4:1.49
--- php-src/ext/mbstring/config.m4:1.48 Sun Apr  4 15:00:53 2004
+++ php-src/ext/mbstring/config.m4  Sun Apr  4 15:23:19 2004
@@ -1,5 +1,5 @@
 dnl
-dnl $Id: config.m4,v 1.48 2004/04/04 19:00:53 derick Exp $
+dnl $Id: config.m4,v 1.49 2004/04/04 19:23:19 moriyoshi Exp $
 dnl
 
 AC_DEFUN([PHP_MBSTRING_ADD_SOURCES], [
@@ -34,10 +34,14 @@
 PHP_ADD_BUILD_DIR([$ext_builddir/$dir])
   done
   
-  if test $ext_shared = no -o ! -e $ext_builddir/config.h.in; then
+  if test $ext_shared = no; then
 out=php_config.h
   else
-out=$abs_builddir/config.h
+if test -e $ext_builddir/config.h.in; then
+  out=$abs_builddir/config.h
+else
+  out=php_config.h
+fi
   fi
   
   for cfg in $PHP_MBSTRING_EXTRA_CONFIG_HEADERS; do

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-CVS] cvs: php-src(PHP_4_3) /ext/mbstring config.m4

2004-04-04 Thread Moriyoshi Koizumi
moriyoshi   Sun Apr  4 15:23:43 2004 EDT

  Modified files:  (Branch: PHP_4_3)
/php-src/ext/mbstring   config.m4 
  Log:
  - MFH(r-1.49): Let it work safely
  
  
http://cvs.php.net/diff.php/php-src/ext/mbstring/config.m4?r1=1.28.2.9r2=1.28.2.10ty=u
Index: php-src/ext/mbstring/config.m4
diff -u php-src/ext/mbstring/config.m4:1.28.2.9 
php-src/ext/mbstring/config.m4:1.28.2.10
--- php-src/ext/mbstring/config.m4:1.28.2.9 Sat Apr  3 12:23:13 2004
+++ php-src/ext/mbstring/config.m4  Sun Apr  4 15:23:43 2004
@@ -1,5 +1,5 @@
 dnl
-dnl $Id: config.m4,v 1.28.2.9 2004/04/03 17:23:13 derick Exp $
+dnl $Id: config.m4,v 1.28.2.10 2004/04/04 19:23:43 moriyoshi Exp $
 dnl
 
 AC_DEFUN([PHP_MBSTRING_ADD_SOURCES], [
@@ -34,10 +34,14 @@
 PHP_ADD_BUILD_DIR([$ext_builddir/$dir])
   done
   
-  if test $ext_shared = no -o ! -e $ext_builddir/config.h.in; then
+  if test $ext_shared = no; then
 out=php_config.h
   else
-out=$abs_builddir/config.h
+if test -e $ext_builddir/config.h.in; then
+  out=$abs_builddir/config.h
+else
+  out=php_config.h
+fi
   fi
   
   for cfg in $PHP_MBSTRING_EXTRA_CONFIG_HEADERS; do

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-CVS] cvs: php-src(PHP_4_3) /ext/wddx/tests 001.phpt wddx.xml

2004-04-04 Thread Ilia Alshanetsky
Why remove the entire tests, could you not just remove the timestamp bit that 
seems to be the cause of all the failures in this test?

Ilia

On April 4, 2004 03:19 pm, Moriyoshi Koizumi wrote:
 moriyoshi Sun Apr  4 15:19:45 2004 EDT

   Removed files:   (Branch: PHP_4_3)
 /php-src/ext/wddx/tests   001.phpt wddx.xml
   Log:
   - Remove test, as it's never worked as expected.

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-CVS] cvs: php-src /tests/lang bug22367.phpt

2004-04-04 Thread Dmitry Stogov
dmitry  Mon Apr  5 01:24:15 2004 EDT

  Modified files:  
/php-src/tests/lang bug22367.phpt 
  Log:
  Fix (using patterns)
  
  
http://cvs.php.net/diff.php/php-src/tests/lang/bug22367.phpt?r1=1.8r2=1.9ty=u
Index: php-src/tests/lang/bug22367.phpt
diff -u php-src/tests/lang/bug22367.phpt:1.8 php-src/tests/lang/bug22367.phpt:1.9
--- php-src/tests/lang/bug22367.phpt:1.8Fri Apr  2 08:43:58 2004
+++ php-src/tests/lang/bug22367.phptMon Apr  5 01:24:15 2004
@@ -65,15 +65,15 @@
 
 ?
 --EXPECTF--
-Strict Standards: Declaration of bar::a() must be compatible with that of foo::a() in 
/home/dmitry/php/php5.work/tests/lang/bug22367.php on line 45
+Strict Standards: Declaration of bar::a() must be compatible with that of foo::a() in 
%sbug22367.php on line %d
 
-Strict Standards: Implicit cloning object of class 'bar' because of 
'zend.ze1_compatibility_mode' in /home/dmitry/php/php5.work/tests/lang/bug22367.php on 
line 47
+Strict Standards: Implicit cloning object of class 'bar' because of 
'zend.ze1_compatibility_mode' in %sbug22367.php on line %d
 int(5)
 bool(false)
 
-Notice: Undefined offset:  5 in /home/dmitry/php/php5.work/tests/lang/bug22367.php on 
line 9
+Notice: Undefined offset:  5 in %sbug22367.php on line %d
 
-Strict Standards: Only variable references should be returned by reference in 
/home/dmitry/php/php5.work/tests/lang/bug22367.php on line 40
+Strict Standards: Only variable references should be returned by reference in 
%sbug22367.php on line %d
 bool(false)
 array(5) {
   [0]=
@@ -100,7 +100,7 @@
   int(4)
 }
 
-Strict Standards: Implicit cloning object of class 'bar' because of 
'zend.ze1_compatibility_mode' in /home/dmitry/php/php5.work/tests/lang/bug22367.php on 
line 54
+Strict Standards: Implicit cloning object of class 'bar' because of 
'zend.ze1_compatibility_mode' in %sbug22367.php on line %d
 int(2)
 bool(true)
 bool(true)

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php