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

2008-03-11 Thread changelog
changelog   Wed Mar 12 01:31:33 2008 UTC

  Modified files:  
/php-srcChangeLog 
  Log:
  ChangeLog update
  
http://cvs.php.net/viewvc.cgi/php-src/ChangeLog?r1=1.2984r2=1.2985diff_format=u
Index: php-src/ChangeLog
diff -u php-src/ChangeLog:1.2984 php-src/ChangeLog:1.2985
--- php-src/ChangeLog:1.2984Tue Mar 11 01:31:30 2008
+++ php-src/ChangeLog   Wed Mar 12 01:31:33 2008
@@ -1,3 +1,115 @@
+2008-03-11  Lars Strojny  [EMAIL PROTECTED]
+
+* sapi/apache2filter/config.m4
+  sapi/apache2handler/config.m4
+  sapi/apache2handler/config.m4:
+  Adding itk again to non-threaded MPMs. Sorry for the confusion
+
+2008-03-11  Felipe Pena  [EMAIL PROTECTED]
+
+* ZendEngine2/tests/access_modifiers_009.phpt
+  ZendEngine2/tests/access_modifiers_009.phpt:
+  
+  Add new test (bug reported in internals list by Robin)
+
+* ZendEngine2/tests/access_modifiers_008.phpt
+  ZendEngine2/tests/access_modifiers_009.phpt:
+  Add new test (bug reported in internals list by Robin)
+
+* ZendEngine2/tests/access_modifiers_008.phpt
+  ZendEngine2/tests/access_modifiers_008.phpt:
+  
+  file access_modifiers_008.phpt was initially added on branch PHP_5_3.
+
+* ZendEngine2/tests/class_constants_004.phpt
+  ZendEngine2/tests/class_constants_004.phpt:
+  Missing a line
+
+* ZendEngine2/tests/class_constants_004.phpt
+  ZendEngine2/tests/objects_017.phpt
+  ZendEngine2/tests/objects_018.phpt:
+  New tests
+
+* ZendEngine2/tests/class_constants_004.phpt
+  ZendEngine2/tests/class_constants_004.phpt
+  ZendEngine2/tests/objects_017.phpt
+  ZendEngine2/tests/objects_017.phpt
+  ZendEngine2/tests/objects_018.phpt
+  ZendEngine2/tests/objects_018.phpt:
+  
+  file class_constants_004.phpt was initially added on branch PHP_5_3.
+
+* ZendEngine2/tests/bug39018.phpt
+  ZendEngine2/tests/bug39018.phpt:
+  Fix test
+
+2008-03-11  Antony Dovgal  [EMAIL PROTECTED]
+
+* (PHP_5_3)
+  ZendEngine2/tests/assign_to_var_001.phpt
+  ZendEngine2/tests/assign_to_var_002.phpt
+  ZendEngine2/tests/assign_to_var_003.phpt
+  ZendEngine2/tests/assign_to_var_004.phpt:
+  some more tests
+
+* ZendEngine2/tests/assign_to_var_001.phpt
+  ZendEngine2/tests/assign_to_var_001.phpt
+  ZendEngine2/tests/assign_to_var_002.phpt
+  ZendEngine2/tests/assign_to_var_002.phpt
+  ZendEngine2/tests/assign_to_var_003.phpt
+  ZendEngine2/tests/assign_to_var_003.phpt
+  ZendEngine2/tests/assign_to_var_004.phpt
+  ZendEngine2/tests/assign_to_var_004.phpt:
+  
+  some more tests
+
+* (PHP_5_2)
+  main/network.c
+  main/network.c:
+  MFH: fix segfault - error_string may be NULL, in this case we have to
+  follow the old behavior
+
+* main/network.c:
+  fix segfault - error_string may be NULL, in this case we have to follow 
the
+  old behavior
+
+2008-03-11  Josie Messa  [EMAIL PROTECTED]
+
+* ext/standard/tests/dir/closedir_variation3.phpt
+  ext/standard/tests/dir/closedir_variation3.phpt
+  ext/standard/tests/dir/closedir_variation3.phpt
+  ext/standard/tests/dir/readdir_variation7.phpt
+  ext/standard/tests/dir/rewinddir_variation3.phpt
+  ext/standard/tests/dir/rewinddir_variation3.phpt
+  ext/standard/tests/dir/rewinddir_variation3.phpt:
+  - Added extra whitespace around error messages in expected output
+
+* (PHP_5_3)
+  ext/standard/tests/dir/rewinddir_variation3.phpt
+  ext/standard/tests/dir/rewinddir_variation3.phpt:
+  - Fix test
+
+* (PHP_5_2)
+  ext/standard/tests/dir/rewinddir_variation3.phpt:
+  - Replace with previous commit
+
+* (PHP_5_2)
+  ext/standard/tests/dir/closedir_error.phpt
+  ext/standard/tests/dir/readdir_variation7.phpt:
+  - Modified tests
+
+2008-03-11  Dmitry Stogov  [EMAIL PROTECTED]
+
+* ext/session/session.c
+  ext/session/session.c:
+  Fixed memory corruption because of double free()
+
+2008-03-11  Ilia Alshanetsky  [EMAIL PROTECTED]
+
+* (PHP_5_3)
+  ext/sqlite/TODO:
+  More todo items
+
 2008-03-10  Felipe Pena  [EMAIL PROTECTED]
 
 * (PHP_5_3)




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

2008-03-11 Thread changelog
changelog   Wed Mar 12 01:31:36 2008 UTC

  Modified files:  
/ZendEngine2ChangeLog 
  Log:
  ChangeLog update
  
http://cvs.php.net/viewvc.cgi/ZendEngine2/ChangeLog?r1=1.1259r2=1.1260diff_format=u
Index: ZendEngine2/ChangeLog
diff -u ZendEngine2/ChangeLog:1.1259 ZendEngine2/ChangeLog:1.1260
--- ZendEngine2/ChangeLog:1.1259Tue Mar 11 01:31:34 2008
+++ ZendEngine2/ChangeLog   Wed Mar 12 01:31:36 2008
@@ -1,3 +1,61 @@
+2008-03-11  Felipe Pena  [EMAIL PROTECTED]
+
+* tests/access_modifiers_009.phpt
+  tests/access_modifiers_009.phpt:
+  
+  Add new test (bug reported in internals list by Robin)
+
+* tests/access_modifiers_008.phpt
+  tests/access_modifiers_009.phpt:
+  Add new test (bug reported in internals list by Robin)
+
+* tests/access_modifiers_008.phpt
+  tests/access_modifiers_008.phpt:
+  
+  file access_modifiers_008.phpt was initially added on branch PHP_5_3.
+
+* tests/class_constants_004.phpt
+  tests/class_constants_004.phpt:
+  Missing a line
+
+* tests/class_constants_004.phpt
+  tests/objects_017.phpt
+  tests/objects_018.phpt:
+  New tests
+
+* tests/class_constants_004.phpt
+  tests/class_constants_004.phpt
+  tests/objects_017.phpt
+  tests/objects_017.phpt
+  tests/objects_018.phpt
+  tests/objects_018.phpt:
+  
+  file class_constants_004.phpt was initially added on branch PHP_5_3.
+
+* tests/bug39018.phpt
+  tests/bug39018.phpt:
+  Fix test
+
+2008-03-11  Antony Dovgal  [EMAIL PROTECTED]
+
+* (PHP_5_3)
+  tests/assign_to_var_001.phpt
+  tests/assign_to_var_002.phpt
+  tests/assign_to_var_003.phpt
+  tests/assign_to_var_004.phpt:
+  some more tests
+
+* tests/assign_to_var_001.phpt
+  tests/assign_to_var_001.phpt
+  tests/assign_to_var_002.phpt
+  tests/assign_to_var_002.phpt
+  tests/assign_to_var_003.phpt
+  tests/assign_to_var_003.phpt
+  tests/assign_to_var_004.phpt
+  tests/assign_to_var_004.phpt:
+  
+  some more tests
+
 2008-03-10  Felipe Pena  [EMAIL PROTECTED]
 
 * (PHP_5_3)
@@ -21844,7 +21902,7 @@
 2003-06-10  Jani Taskinen  [EMAIL PROTECTED]
 
 * zend_multiply.h:
-  - Missing $Id: ChangeLog,v 1.1259 2008/03/11 01:31:34 changelog Exp $ tag
+  - Missing $Id: ChangeLog,v 1.1260 2008/03/12 01:31:36 changelog Exp $ tag
 
 2003-06-10  James Cox  [EMAIL PROTECTED]
 
@@ -23568,7 +23626,7 @@
   zend_types.h
   zend_variables.c
   zend_variables.h:
-  - Added some missing CVS $Id: ChangeLog,v 1.1259 2008/03/11 01:31:34 
changelog Exp $ tags, headers and footers.
+  - Added some missing CVS $Id: ChangeLog,v 1.1260 2008/03/12 01:31:36 
changelog Exp $ tags, headers and footers.
 
 2003-01-30  Ilia Alshanetsky  [EMAIL PROTECTED]
 




[PHP-CVS] cvs: php-src(PHP_5_2) /ext/standard/tests/dir rewinddir_variation3.phpt

2008-03-11 Thread Josie Messa
jmessa  Tue Mar 11 10:01:31 2008 UTC

  Modified files:  (Branch: PHP_5_2)
/php-src/ext/standard/tests/dir rewinddir_variation3.phpt 
  Log:
  - Fix test
  
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/dir/rewinddir_variation3.phpt?r1=1.1.2.2r2=1.1.2.3diff_format=u
Index: php-src/ext/standard/tests/dir/rewinddir_variation3.phpt
diff -u php-src/ext/standard/tests/dir/rewinddir_variation3.phpt:1.1.2.2 
php-src/ext/standard/tests/dir/rewinddir_variation3.phpt:1.1.2.3
--- php-src/ext/standard/tests/dir/rewinddir_variation3.phpt:1.1.2.2Tue Mar 
11 09:45:30 2008
+++ php-src/ext/standard/tests/dir/rewinddir_variation3.phptTue Mar 11 
10:01:31 2008
@@ -36,7 +36,6 @@
 resource(%d) of type (stream)
 
 Warning: rewinddir(): %d is not a valid Directory resource in %s on line %d
-bool(false)
 
 -- Check if rewinddir() has repositioned the file pointer --
 rewinddir() does not work on file pointers



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



[PHP-CVS] cvs: php-src(PHP_5_2) /ext/standard/tests/dir closedir_error.phpt readdir_variation7.phpt

2008-03-11 Thread Josie Messa
jmessa  Tue Mar 11 09:55:26 2008 UTC

  Modified files:  (Branch: PHP_5_2)
/php-src/ext/standard/tests/dir readdir_variation7.phpt 
closedir_error.phpt 
  Log:
  - Modified tests
  
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/dir/readdir_variation7.phpt?r1=1.1.2.2r2=1.1.2.3diff_format=u
Index: php-src/ext/standard/tests/dir/readdir_variation7.phpt
diff -u php-src/ext/standard/tests/dir/readdir_variation7.phpt:1.1.2.2 
php-src/ext/standard/tests/dir/readdir_variation7.phpt:1.1.2.3
--- php-src/ext/standard/tests/dir/readdir_variation7.phpt:1.1.2.2  Tue Mar 
11 09:45:30 2008
+++ php-src/ext/standard/tests/dir/readdir_variation7.phpt  Tue Mar 11 
09:55:26 2008
@@ -31,7 +31,6 @@
 *** Testing readdir() : usage variations ***
 resource(%d) of type (stream)
 
-
 Warning: readdir(): %d is not a valid Directory resource in %s on line %d
 bool(false)
 ===DONE===
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/dir/closedir_error.phpt?r1=1.1.2.1r2=1.1.2.2diff_format=u
Index: php-src/ext/standard/tests/dir/closedir_error.phpt
diff -u php-src/ext/standard/tests/dir/closedir_error.phpt:1.1.2.1 
php-src/ext/standard/tests/dir/closedir_error.phpt:1.1.2.2
--- php-src/ext/standard/tests/dir/closedir_error.phpt:1.1.2.1  Fri Mar  7 
15:58:38 2008
+++ php-src/ext/standard/tests/dir/closedir_error.phpt  Tue Mar 11 09:55:26 2008
@@ -25,7 +25,7 @@
 $extra_arg = 10;
 var_dump( closedir($dir_handle, $extra_arg) );
 
-//successfully close the directory handle so can delete in --CLEAN-- section
+//successfully close the directory handle so can delete in CLEAN section
 closedir($dir_handle);
 ?
 ===DONE===



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



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

2008-03-11 Thread Dmitry Stogov
dmitry  Tue Mar 11 09:36:52 2008 UTC

  Modified files:  
/php-src/ext/sessionsession.c 
  Log:
  Fixed memory corruption because of double free()
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/session/session.c?r1=1.481r2=1.482diff_format=u
Index: php-src/ext/session/session.c
diff -u php-src/ext/session/session.c:1.481 php-src/ext/session/session.c:1.482
--- php-src/ext/session/session.c:1.481 Fri Mar  7 23:20:15 2008
+++ php-src/ext/session/session.c   Tue Mar 11 09:36:51 2008
@@ -17,7 +17,7 @@
+--+
  */
 
-/* $Id: session.c,v 1.481 2008/03/07 23:20:15 gwynne Exp $ */
+/* $Id: session.c,v 1.482 2008/03/11 09:36:51 dmitry Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include config.h
@@ -1838,6 +1838,7 @@
for (i = 0; i  6; i++) {
if (PS(mod_user_names).names[i] != NULL) {
zval_ptr_dtor(PS(mod_user_names).names[i]);
+   PS(mod_user_names).names[i] = NULL;
}
}
 



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



[PHP-CVS] cvs: php-src(PHP_5_2) /ext/standard/tests/dir closedir_variation3.phpt readdir_variation7.phpt rewinddir_variation3.phpt

2008-03-11 Thread Josie Messa
jmessa  Tue Mar 11 09:45:31 2008 UTC

  Modified files:  (Branch: PHP_5_2)
/php-src/ext/standard/tests/dir readdir_variation7.phpt 
closedir_variation3.phpt 
rewinddir_variation3.phpt 
  Log:
  - Added extra whitespace around error messages in expected output
  
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/dir/readdir_variation7.phpt?r1=1.1.2.1r2=1.1.2.2diff_format=u
Index: php-src/ext/standard/tests/dir/readdir_variation7.phpt
diff -u php-src/ext/standard/tests/dir/readdir_variation7.phpt:1.1.2.1 
php-src/ext/standard/tests/dir/readdir_variation7.phpt:1.1.2.2
--- php-src/ext/standard/tests/dir/readdir_variation7.phpt:1.1.2.1  Fri Mar 
 7 16:19:39 2008
+++ php-src/ext/standard/tests/dir/readdir_variation7.phpt  Tue Mar 11 
09:45:30 2008
@@ -31,6 +31,7 @@
 *** Testing readdir() : usage variations ***
 resource(%d) of type (stream)
 
+
 Warning: readdir(): %d is not a valid Directory resource in %s on line %d
 bool(false)
 ===DONE===
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/dir/closedir_variation3.phpt?r1=1.1.2.1r2=1.1.2.2diff_format=u
Index: php-src/ext/standard/tests/dir/closedir_variation3.phpt
diff -u php-src/ext/standard/tests/dir/closedir_variation3.phpt:1.1.2.1 
php-src/ext/standard/tests/dir/closedir_variation3.phpt:1.1.2.2
--- php-src/ext/standard/tests/dir/closedir_variation3.phpt:1.1.2.1 Fri Mar 
 7 16:19:39 2008
+++ php-src/ext/standard/tests/dir/closedir_variation3.phpt Tue Mar 11 
09:45:30 2008
@@ -35,7 +35,9 @@
 resource(%d) of type (stream)
 
 -- Try to close the file pointer using closedir() --
+
 Warning: closedir(): %d is not a valid Directory resource in %s on line %d
+bool(false)
 
 -- Check file pointer: --
 resource(%d) of type (stream)
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/dir/rewinddir_variation3.phpt?r1=1.1.2.1r2=1.1.2.2diff_format=u
Index: php-src/ext/standard/tests/dir/rewinddir_variation3.phpt
diff -u php-src/ext/standard/tests/dir/rewinddir_variation3.phpt:1.1.2.1 
php-src/ext/standard/tests/dir/rewinddir_variation3.phpt:1.1.2.2
--- php-src/ext/standard/tests/dir/rewinddir_variation3.phpt:1.1.2.1Fri Mar 
 7 16:19:39 2008
+++ php-src/ext/standard/tests/dir/rewinddir_variation3.phptTue Mar 11 
09:45:30 2008
@@ -34,7 +34,9 @@
 
 -- Open a file using fopen --
 resource(%d) of type (stream)
-NULL
+
+Warning: rewinddir(): %d is not a valid Directory resource in %s on line %d
+bool(false)
 
 -- Check if rewinddir() has repositioned the file pointer --
 rewinddir() does not work on file pointers



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



[PHP-CVS] cvs: php-src(PHP_5_3) /ext/session session.c

2008-03-11 Thread Dmitry Stogov
dmitry  Tue Mar 11 09:36:41 2008 UTC

  Modified files:  (Branch: PHP_5_3)
/php-src/ext/sessionsession.c 
  Log:
  Fixed memory corruption because of double free()
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/session/session.c?r1=1.417.2.8.2.40.2.5r2=1.417.2.8.2.40.2.6diff_format=u
Index: php-src/ext/session/session.c
diff -u php-src/ext/session/session.c:1.417.2.8.2.40.2.5 
php-src/ext/session/session.c:1.417.2.8.2.40.2.6
--- php-src/ext/session/session.c:1.417.2.8.2.40.2.5Mon Mar 10 22:12:35 2008
+++ php-src/ext/session/session.c   Tue Mar 11 09:36:41 2008
@@ -17,7 +17,7 @@
+--+
  */
 
-/* $Id: session.c,v 1.417.2.8.2.40.2.5 2008/03/10 22:12:35 felipe Exp $ */
+/* $Id: session.c,v 1.417.2.8.2.40.2.6 2008/03/11 09:36:41 dmitry Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include config.h
@@ -1943,6 +1943,7 @@
for (i = 0; i  6; i++) {
if (PS(mod_user_names).names[i] != NULL) {
zval_ptr_dtor(PS(mod_user_names).names[i]);
+   PS(mod_user_names).names[i] = NULL;
}
}
 



-- 
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/dir closedir_variation3.phpt rewinddir_variation3.phpt

2008-03-11 Thread Josie Messa
jmessa  Tue Mar 11 10:20:06 2008 UTC

  Modified files:  
/php-src/ext/standard/tests/dir rewinddir_variation3.phpt 
closedir_variation3.phpt 
  Log:
  - Added extra whitespace around error messages in expected output
  
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/dir/rewinddir_variation3.phpt?r1=1.2r2=1.3diff_format=u
Index: php-src/ext/standard/tests/dir/rewinddir_variation3.phpt
diff -u php-src/ext/standard/tests/dir/rewinddir_variation3.phpt:1.2 
php-src/ext/standard/tests/dir/rewinddir_variation3.phpt:1.3
--- php-src/ext/standard/tests/dir/rewinddir_variation3.phpt:1.2Fri Mar 
 7 16:21:30 2008
+++ php-src/ext/standard/tests/dir/rewinddir_variation3.phptTue Mar 11 
10:20:06 2008
@@ -34,7 +34,9 @@
 
 -- Open a file using fopen --
 resource(%d) of type (stream)
-NULL
+
+Warning: rewinddir(): %d is not a valid Directory resource in %s on line %d
+bool(false)
 
 -- Check if rewinddir() has repositioned the file pointer --
 rewinddir() does not work on file pointers
@@ -44,7 +46,9 @@
 
 -- Open a file using fopen --
 resource(%d) of type (stream)
-NULL
+
+Warning: rewinddir(): %d is not a valid Directory resource in %s on line %d
+bool(false)
 
 -- Check if rewinddir() has repositioned the file pointer --
 rewinddir() does not work on file pointers
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/dir/closedir_variation3.phpt?r1=1.2r2=1.3diff_format=u
Index: php-src/ext/standard/tests/dir/closedir_variation3.phpt
diff -u php-src/ext/standard/tests/dir/closedir_variation3.phpt:1.2 
php-src/ext/standard/tests/dir/closedir_variation3.phpt:1.3
--- php-src/ext/standard/tests/dir/closedir_variation3.phpt:1.2 Fri Mar  7 
16:21:30 2008
+++ php-src/ext/standard/tests/dir/closedir_variation3.phpt Tue Mar 11 
10:20:06 2008
@@ -35,7 +35,9 @@
 resource(%d) of type (stream)
 
 -- Try to close the file pointer using closedir() --
+
 Warning: closedir(): %d is not a valid Directory resource in %s on line %d
+bool(false)
 
 -- Check file pointer: --
 resource(%d) of type (stream)
@@ -47,7 +49,9 @@
 resource(%d) of type (stream)
 
 -- Try to close the file pointer using closedir() --
+
 Warning: closedir(): %d is not a valid Directory resource in %s on line %d
+bool(false)
 
 -- Check file pointer: --
 resource(%d) of type (stream)



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



[PHP-CVS] cvs: php-src(PHP_5_3) /ext/standard/tests/dir closedir_variation3.phpt rewinddir_variation3.phpt

2008-03-11 Thread Josie Messa
jmessa  Tue Mar 11 10:00:26 2008 UTC

  Modified files:  (Branch: PHP_5_3)
/php-src/ext/standard/tests/dir rewinddir_variation3.phpt 
closedir_variation3.phpt 
  Log:
  - Added extra whitespace around error messages in expected output
  
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/dir/rewinddir_variation3.phpt?r1=1.1.4.2r2=1.1.4.3diff_format=u
Index: php-src/ext/standard/tests/dir/rewinddir_variation3.phpt
diff -u php-src/ext/standard/tests/dir/rewinddir_variation3.phpt:1.1.4.2 
php-src/ext/standard/tests/dir/rewinddir_variation3.phpt:1.1.4.3
--- php-src/ext/standard/tests/dir/rewinddir_variation3.phpt:1.1.4.2Fri Mar 
 7 16:20:16 2008
+++ php-src/ext/standard/tests/dir/rewinddir_variation3.phptTue Mar 11 
10:00:26 2008
@@ -34,7 +34,8 @@
 
 -- Open a file using fopen --
 resource(%d) of type (stream)
-NULL
+
+Warning: rewinddir(): %d is not a valid Directory resource in %s on line %d
 
 -- Check if rewinddir() has repositioned the file pointer --
 rewinddir() does not work on file pointers
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/dir/closedir_variation3.phpt?r1=1.1.4.2r2=1.1.4.3diff_format=u
Index: php-src/ext/standard/tests/dir/closedir_variation3.phpt
diff -u php-src/ext/standard/tests/dir/closedir_variation3.phpt:1.1.4.2 
php-src/ext/standard/tests/dir/closedir_variation3.phpt:1.1.4.3
--- php-src/ext/standard/tests/dir/closedir_variation3.phpt:1.1.4.2 Fri Mar 
 7 16:20:16 2008
+++ php-src/ext/standard/tests/dir/closedir_variation3.phpt Tue Mar 11 
10:00:26 2008
@@ -35,7 +35,9 @@
 resource(%d) of type (stream)
 
 -- Try to close the file pointer using closedir() --
+
 Warning: closedir(): %d is not a valid Directory resource in %s on line %d
+bool(false)
 
 -- Check file pointer: --
 resource(%d) of type (stream)



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



[PHP-CVS] cvs: php-src /main network.c

2008-03-11 Thread Antony Dovgal
tony2001Tue Mar 11 10:26:51 2008 UTC

  Modified files:  
/php-src/main   network.c 
  Log:
  fix segfault - error_string may be NULL, in this case we have to follow the 
old behavior
  
  
http://cvs.php.net/viewvc.cgi/php-src/main/network.c?r1=1.132r2=1.133diff_format=u
Index: php-src/main/network.c
diff -u php-src/main/network.c:1.132 php-src/main/network.c:1.133
--- php-src/main/network.c:1.132Mon Mar 10 19:55:43 2008
+++ php-src/main/network.c  Tue Mar 11 10:26:51 2008
@@ -17,7 +17,7 @@
+--+
  */
 
-/* $Id: network.c,v 1.132 2008/03/10 19:55:43 andrey Exp $ */
+/* $Id: network.c,v 1.133 2008/03/11 10:26:51 tony2001 Exp $ */
 
 /*#define DEBUG_MAIN_NETWORK 1*/
 
@@ -205,12 +205,20 @@
 # endif

if ((n = getaddrinfo(host, NULL, hints, res))) {
-   spprintf(error_string, 0, php_network_getaddresses: 
getaddrinfo failed: %s, PHP_GAI_STRERROR(n));
-   php_error_docref(NULL TSRMLS_CC, E_WARNING, %s, 
*error_string);
+   if (error_string) {
+   spprintf(error_string, 0, php_network_getaddresses: 
getaddrinfo failed: %s, PHP_GAI_STRERROR(n));
+   php_error_docref(NULL TSRMLS_CC, E_WARNING, %s, 
*error_string);
+   } else {
+   php_error_docref(NULL TSRMLS_CC, E_WARNING, 
php_network_getaddresses: getaddrinfo failed: %s, PHP_GAI_STRERROR(n));
+   }
return 0;
} else if (res == NULL) {
-   spprintf(error_string, 0, php_network_getaddresses: 
getaddrinfo failed (null result pointer) errno=%d, errno);
-   php_error_docref(NULL TSRMLS_CC, E_WARNING, %s, 
*error_string);
+   if (error_string) {
+   spprintf(error_string, 0, php_network_getaddresses: 
getaddrinfo failed (null result pointer) errno=%d, errno);
+   php_error_docref(NULL TSRMLS_CC, E_WARNING, %s, 
*error_string);
+   } else {
+   php_error_docref(NULL TSRMLS_CC, E_WARNING, 
php_network_getaddresses: getaddrinfo failed (null result pointer));
+   }
return 0;
}
 
@@ -234,8 +242,12 @@
/* XXX NOT THREAD SAFE (is safe under win32) */
host_info = gethostbyname(host);
if (host_info == NULL) {
-   spprintf(error_string, 0, php_network_getaddresses: 
gethostbyname failed. errno=%d, errno);
-   php_error_docref(NULL TSRMLS_CC, E_WARNING, %s, 
*error_string);
+   if (error_string) {
+   spprintf(error_string, 0, 
php_network_getaddresses: gethostbyname failed. errno=%d, errno);
+   php_error_docref(NULL TSRMLS_CC, E_WARNING, 
%s, *error_string);
+   } else {
+   php_error_docref(NULL TSRMLS_CC, E_WARNING, 
php_network_getaddresses: gethostbyname failed);
+   }
return 0;
}
in = *((struct in_addr *) host_info-h_addr);



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



[PHP-CVS] cvs: php-src(PHP_5_3) /main network.c

2008-03-11 Thread Antony Dovgal
tony2001Tue Mar 11 10:27:10 2008 UTC

  Modified files:  (Branch: PHP_5_3)
/php-src/main   network.c 
  Log:
  MFH: fix segfault - error_string may be NULL, in this case we have to follow 
the old behavior
  
  
http://cvs.php.net/viewvc.cgi/php-src/main/network.c?r1=1.118.2.2.2.6.2.5r2=1.118.2.2.2.6.2.6diff_format=u
Index: php-src/main/network.c
diff -u php-src/main/network.c:1.118.2.2.2.6.2.5 
php-src/main/network.c:1.118.2.2.2.6.2.6
--- php-src/main/network.c:1.118.2.2.2.6.2.5Mon Mar 10 19:54:47 2008
+++ php-src/main/network.c  Tue Mar 11 10:27:10 2008
@@ -17,7 +17,7 @@
+--+
  */
 
-/* $Id: network.c,v 1.118.2.2.2.6.2.5 2008/03/10 19:54:47 andrey Exp $ */
+/* $Id: network.c,v 1.118.2.2.2.6.2.6 2008/03/11 10:27:10 tony2001 Exp $ */
 
 /*#define DEBUG_MAIN_NETWORK 1*/
 
@@ -205,12 +205,20 @@
 # endif

if ((n = getaddrinfo(host, NULL, hints, res))) {
-   spprintf(error_string, 0, php_network_getaddresses: 
getaddrinfo failed: %s, PHP_GAI_STRERROR(n));
-   php_error_docref(NULL TSRMLS_CC, E_WARNING, %s, 
*error_string);
+   if (error_string) {
+   spprintf(error_string, 0, php_network_getaddresses: 
getaddrinfo failed: %s, PHP_GAI_STRERROR(n));
+   php_error_docref(NULL TSRMLS_CC, E_WARNING, %s, 
*error_string);
+   } else {
+   php_error_docref(NULL TSRMLS_CC, E_WARNING, 
php_network_getaddresses: getaddrinfo failed: %s, PHP_GAI_STRERROR(n));
+   }
return 0;
} else if (res == NULL) {
-   spprintf(error_string, 0, php_network_getaddresses: 
getaddrinfo failed (null result pointer) errno=%d, errno);
-   php_error_docref(NULL TSRMLS_CC, E_WARNING, %s, 
*error_string);
+   if (error_string) {
+   spprintf(error_string, 0, php_network_getaddresses: 
getaddrinfo failed (null result pointer) errno=%d, errno);
+   php_error_docref(NULL TSRMLS_CC, E_WARNING, %s, 
*error_string);
+   } else {
+   php_error_docref(NULL TSRMLS_CC, E_WARNING, 
php_network_getaddresses: getaddrinfo failed (null result pointer));
+   }
return 0;
}
 
@@ -234,8 +242,12 @@
/* XXX NOT THREAD SAFE (is safe under win32) */
host_info = gethostbyname(host);
if (host_info == NULL) {
-   spprintf(error_string, 0, php_network_getaddresses: 
gethostbyname failed. errno=%d, errno);
-   php_error_docref(NULL TSRMLS_CC, E_WARNING, %s, 
*error_string);
+   if (error_string) {
+   spprintf(error_string, 0, 
php_network_getaddresses: gethostbyname failed. errno=%d, errno);
+   php_error_docref(NULL TSRMLS_CC, E_WARNING, 
%s, *error_string);
+   } else {
+   php_error_docref(NULL TSRMLS_CC, E_WARNING, 
php_network_getaddresses: gethostbyname failed);
+   }
return 0;
}
in = *((struct in_addr *) host_info-h_addr);



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



[PHP-CVS] cvs: php-src(PHP_5_2) /main network.c

2008-03-11 Thread Antony Dovgal
tony2001Tue Mar 11 10:27:23 2008 UTC

  Modified files:  (Branch: PHP_5_2)
/php-src/main   network.c 
  Log:
  MFH: fix segfault - error_string may be NULL, in this case we have to follow 
the old behavior
  
  
http://cvs.php.net/viewvc.cgi/php-src/main/network.c?r1=1.118.2.2.2.8r2=1.118.2.2.2.9diff_format=u
Index: php-src/main/network.c
diff -u php-src/main/network.c:1.118.2.2.2.8 
php-src/main/network.c:1.118.2.2.2.9
--- php-src/main/network.c:1.118.2.2.2.8Mon Mar 10 20:09:22 2008
+++ php-src/main/network.c  Tue Mar 11 10:27:23 2008
@@ -17,7 +17,7 @@
+--+
  */
 
-/* $Id: network.c,v 1.118.2.2.2.8 2008/03/10 20:09:22 andrey Exp $ */
+/* $Id: network.c,v 1.118.2.2.2.9 2008/03/11 10:27:23 tony2001 Exp $ */
 
 /*#define DEBUG_MAIN_NETWORK 1*/
 
@@ -200,12 +200,20 @@
 # endif

if ((n = getaddrinfo(host, NULL, hints, res))) {
-   spprintf(error_string, 0, php_network_getaddresses: 
getaddrinfo failed: %s, PHP_GAI_STRERROR(n));
-   php_error_docref(NULL TSRMLS_CC, E_WARNING, %s, 
*error_string);
+   if (error_string) {
+   spprintf(error_string, 0, php_network_getaddresses: 
getaddrinfo failed: %s, PHP_GAI_STRERROR(n));
+   php_error_docref(NULL TSRMLS_CC, E_WARNING, %s, 
*error_string);
+   } else {
+   php_error_docref(NULL TSRMLS_CC, E_WARNING, 
php_network_getaddresses: getaddrinfo failed: %s, PHP_GAI_STRERROR(n));
+   }
return 0;
} else if (res == NULL) {
-   spprintf(error_string, 0, php_network_getaddresses: 
getaddrinfo failed (null result pointer) errno=%d, errno);
-   php_error_docref(NULL TSRMLS_CC, E_WARNING, %s, 
*error_string);
+   if (error_string) {
+   spprintf(error_string, 0, php_network_getaddresses: 
getaddrinfo failed (null result pointer) errno=%d, errno);
+   php_error_docref(NULL TSRMLS_CC, E_WARNING, %s, 
*error_string);
+   } else {
+   php_error_docref(NULL TSRMLS_CC, E_WARNING, 
php_network_getaddresses: getaddrinfo failed (null result pointer));
+   }
return 0;
}
 
@@ -229,8 +237,12 @@
/* XXX NOT THREAD SAFE (is safe under win32) */
host_info = gethostbyname(host);
if (host_info == NULL) {
-   spprintf(error_string, 0, php_network_getaddresses: 
gethostbyname failed. errno=%d, errno);
-   php_error_docref(NULL TSRMLS_CC, E_WARNING, %s, 
*error_string);
+   if (error_string) {
+   spprintf(error_string, 0, 
php_network_getaddresses: gethostbyname failed. errno=%d, errno);
+   php_error_docref(NULL TSRMLS_CC, E_WARNING, 
%s, *error_string);
+   } else {
+   php_error_docref(NULL TSRMLS_CC, E_WARNING, 
php_network_getaddresses: gethostbyname failed);
+   }
return 0;
}
in = *((struct in_addr *) host_info-h_addr);



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



Re: [PHP-CVS] cvs: php-src /main network.c

2008-03-11 Thread Andrey Hristov
Antony Dovgal wrote:
 tony2001  Tue Mar 11 10:26:51 2008 UTC
 
   Modified files:  
 /php-src/main network.c 
   Log:
   fix segfault - error_string may be NULL, in this case we have to follow the 
 old behavior
   
   

Opps, *shame* :)

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



Re: [PHP-CVS] cvs: php-src(PHP_5_3) /ext/session session.c

2008-03-11 Thread Stanislav Malyshev

Dmitry,

Do we need this in 5.2?


I think we do, looks low-risk to me.
--
Stanislav Malyshev, Zend Software Architect
[EMAIL PROTECTED]   http://www.zend.com/
(408)253-8829   MSN: [EMAIL PROTECTED]

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



Re: [PHP-CVS] cvs: php-src(PHP_5_3) /ext/session session.c

2008-03-11 Thread Gwynne Raskind

On Mar 11, 2008, at 3:50 PM, Stanislav Malyshev wrote:

Dmitry,
Do we need this in 5.2?


I think we do, looks low-risk to me.



Nope; this commit fixed a bug with my patch to 5.3/HEAD. It wasn't  
backported to 5.2 in the first place.


-- Gwynne, Daughter of the Code
This whole world is an asylum for the incurable.




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



Re: [PHP-CVS] cvs: php-src(PHP_5_3) /ext/session session.c

2008-03-11 Thread Stanislav Malyshev

Dmitry,
Do we need this in 5.2?


I think we do, looks low-risk to me.



Nope; this commit fixed a bug with my patch to 5.3/HEAD. It wasn't 
backported to 5.2 in the first place.


Ah, my bad, I thought it was in 5.2 too :)
--
Stanislav Malyshev, Zend Software Architect
[EMAIL PROTECTED]   http://www.zend.com/
(408)253-8829   MSN: [EMAIL PROTECTED]

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



[PHP-CVS] cvs: php-src(PHP_5_3) /sapi/apache2filter config.m4 /sapi/apache2handler config.m4

2008-03-11 Thread Lars Strojny
lstrojnyTue Mar 11 22:47:40 2008 UTC

  Modified files:  (Branch: PHP_5_3)
/php-src/sapi/apache2filter config.m4 
/php-src/sapi/apache2handlerconfig.m4 
  Log:
  Adding itk again to non-threaded MPMs. Sorry for the confusion
  
  
http://cvs.php.net/viewvc.cgi/php-src/sapi/apache2filter/config.m4?r1=1.47r2=1.48diff_format=u
Index: php-src/sapi/apache2filter/config.m4
diff -u php-src/sapi/apache2filter/config.m4:1.47 
php-src/sapi/apache2filter/config.m4:1.48
--- php-src/sapi/apache2filter/config.m4:1.47   Sun Mar  9 12:37:05 2008
+++ php-src/sapi/apache2filter/config.m4Tue Mar 11 22:47:39 2008
@@ -1,5 +1,5 @@
 dnl
-dnl $Id: config.m4,v 1.47 2008/03/09 12:37:05 lstrojny Exp $
+dnl $Id: config.m4,v 1.48 2008/03/11 22:47:39 lstrojny Exp $
 dnl
 
 PHP_ARG_WITH(apxs2filter,,
@@ -118,7 +118,7 @@
 ;;
   esac
 
-  if test $APXS_MPM != prefork  test $APXS_MPM != peruser; then
+  if test $APXS_MPM != prefork  test $APXS_MPM != peruser  test 
$APXS_MPM != itk; then
 PHP_BUILD_THREAD_SAFE
   fi
   AC_MSG_RESULT(yes)
http://cvs.php.net/viewvc.cgi/php-src/sapi/apache2handler/config.m4?r1=1.14.2.1.2.2.2.2r2=1.14.2.1.2.2.2.3diff_format=u
Index: php-src/sapi/apache2handler/config.m4
diff -u php-src/sapi/apache2handler/config.m4:1.14.2.1.2.2.2.2 
php-src/sapi/apache2handler/config.m4:1.14.2.1.2.2.2.3
--- php-src/sapi/apache2handler/config.m4:1.14.2.1.2.2.2.2  Sun Mar  9 
12:35:56 2008
+++ php-src/sapi/apache2handler/config.m4   Tue Mar 11 22:47:39 2008
@@ -1,5 +1,5 @@
 dnl
-dnl $Id: config.m4,v 1.14.2.1.2.2.2.2 2008/03/09 12:35:56 lstrojny Exp $
+dnl $Id: config.m4,v 1.14.2.1.2.2.2.3 2008/03/11 22:47:39 lstrojny Exp $
 dnl
 
 PHP_ARG_WITH(apxs2,,
@@ -117,7 +117,7 @@
 ;;
   esac
 
-  if test $APXS_MPM != prefork  test $APXS_MPM != peruser; then
+  if test $APXS_MPM != prefork  test $APXS_MPM != peruser  test 
$APXS_MPM != itk; then
 PHP_BUILD_THREAD_SAFE
   fi
   AC_MSG_RESULT(yes)



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



[PHP-CVS] cvs: php-src /sapi/apache2handler config.m4

2008-03-11 Thread Lars Strojny
lstrojnyTue Mar 11 22:50:41 2008 UTC

  Modified files:  
/php-src/sapi/apache2handlerconfig.m4 
  Log:
  Adding itk again to non-threaded MPMs. Sorry for the confusion
  
  
http://cvs.php.net/viewvc.cgi/php-src/sapi/apache2handler/config.m4?r1=1.20r2=1.21diff_format=u
Index: php-src/sapi/apache2handler/config.m4
diff -u php-src/sapi/apache2handler/config.m4:1.20 
php-src/sapi/apache2handler/config.m4:1.21
--- php-src/sapi/apache2handler/config.m4:1.20  Sun Mar  9 12:37:05 2008
+++ php-src/sapi/apache2handler/config.m4   Tue Mar 11 22:50:41 2008
@@ -1,5 +1,5 @@
 dnl
-dnl $Id: config.m4,v 1.20 2008/03/09 12:37:05 lstrojny Exp $
+dnl $Id: config.m4,v 1.21 2008/03/11 22:50:41 lstrojny Exp $
 dnl
 
 PHP_ARG_WITH(apxs2,,
@@ -117,7 +117,7 @@
 ;;
   esac
 
-  if test $APXS_MPM != prefork  test $APXS_MPM != peruser; then
+  if test $APXS_MPM != prefork  test $APXS_MPM != peruser  test 
$APXS_MPM != itk; then
 PHP_BUILD_THREAD_SAFE
   fi
   AC_MSG_RESULT(yes)



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



[PHP-CVS] cvs: php-src(PHP_5_3) / NEWS /ext/standard url_scanner_ex.c /ext/standard/tests/general_functions bug44394.phpt bug44394_2.phpt

2008-03-11 Thread Felipe Pena
felipe  Wed Mar 12 02:40:57 2008 UTC

  Added files: (Branch: PHP_5_3)
/php-src/ext/standard/tests/general_functions   bug44394.phpt 
bug44394_2.phpt 

  Modified files:  
/php-srcNEWS 
/php-src/ext/standard   url_scanner_ex.c 
  Log:
  Fixed bug #44394 (Last two bytes missing from output)
  
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.134r2=1.2027.2.547.2.965.2.135diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.134 
php-src/NEWS:1.2027.2.547.2.965.2.135
--- php-src/NEWS:1.2027.2.547.2.965.2.134   Mon Mar 10 11:19:24 2008
+++ php-src/NEWSWed Mar 12 02:40:56 2008
@@ -126,6 +126,7 @@
 - Fixed possible crash in ext/soap because of uninitialized value. (Zdash Urf)
 - Fixed PECL bug #12431 (OCI8 ping functionality is broken). (Oracle Corp.)
 
+- Fixed bug #44394 (Last two bytes missing from output). (Felipe)
 - Fixed bug #44336 (Improve pcre UTF-8 string matching performance).
   (frode at coretrek dot com, Nuno)
 - Fixed bug #44214 (Crash using preg_replace_callback() and global variable).
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/url_scanner_ex.c?r1=1.95.2.4.2.3.2.2r2=1.95.2.4.2.3.2.3diff_format=u
Index: php-src/ext/standard/url_scanner_ex.c
diff -u php-src/ext/standard/url_scanner_ex.c:1.95.2.4.2.3.2.2 
php-src/ext/standard/url_scanner_ex.c:1.95.2.4.2.3.2.3
--- php-src/ext/standard/url_scanner_ex.c:1.95.2.4.2.3.2.2  Wed Oct 10 
09:27:13 2007
+++ php-src/ext/standard/url_scanner_ex.c   Wed Mar 12 02:40:57 2008
@@ -18,7 +18,7 @@
   +--+
 */
 
-/* $Id: url_scanner_ex.c,v 1.95.2.4.2.3.2.2 2007/10/10 09:27:13 jani Exp $ */
+/* $Id: url_scanner_ex.c,v 1.95.2.4.2.3.2.3 2008/03/12 02:40:57 felipe Exp $ */
 
 #include php.h
 
@@ -1007,7 +1007,7 @@
size_t len;
 
if (BG(url_adapt_state_ex).url_app.len != 0) {
-   *handled_output = url_adapt_ext(output, output_len, len, 
(zend_bool) (mode  PHP_OUTPUT_HANDLER_END ? 1 : 0) TSRMLS_CC);
+   *handled_output = url_adapt_ext(output, output_len, len, 
(zend_bool) (mode  (PHP_OUTPUT_HANDLER_END | PHP_OUTPUT_HANDLER_CONT) ? 1 : 0) 
TSRMLS_CC);
if (sizeof(uint)  sizeof(size_t)) {
if (len  UINT_MAX)
len = UINT_MAX;

http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/bug44394.phpt?view=markuprev=1.1
Index: php-src/ext/standard/tests/general_functions/bug44394.phpt
+++ php-src/ext/standard/tests/general_functions/bug44394.phpt

http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/bug44394_2.phpt?view=markuprev=1.1
Index: php-src/ext/standard/tests/general_functions/bug44394_2.phpt
+++ php-src/ext/standard/tests/general_functions/bug44394_2.phpt



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



[PHP-CVS] cvs: php-src /ext/standard url_scanner_ex.c /ext/standard/tests/general_functions bug44394.phpt bug44394_2.phpt

2008-03-11 Thread Felipe Pena
felipe  Wed Mar 12 02:45:15 2008 UTC

  Modified files:  
/php-src/ext/standard   url_scanner_ex.c 
/php-src/ext/standard/tests/general_functions   bug44394.phpt 
bug44394_2.phpt 
  Log:
  MFB: Fixed bug #44394 (Last two bytes missing from output)
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/url_scanner_ex.c?r1=1.108r2=1.109diff_format=u
Index: php-src/ext/standard/url_scanner_ex.c
diff -u php-src/ext/standard/url_scanner_ex.c:1.108 
php-src/ext/standard/url_scanner_ex.c:1.109
--- php-src/ext/standard/url_scanner_ex.c:1.108 Wed Oct 10 09:28:25 2007
+++ php-src/ext/standard/url_scanner_ex.c   Wed Mar 12 02:45:15 2008
@@ -18,7 +18,7 @@
   +--+
 */
 
-/* $Id: url_scanner_ex.c,v 1.108 2007/10/10 09:28:25 jani Exp $ */
+/* $Id: url_scanner_ex.c,v 1.109 2008/03/12 02:45:15 felipe Exp $ */
 
 #include php.h
 
@@ -1007,7 +1007,7 @@
size_t len;
 
if (BG(url_adapt_state_ex).url_app.len != 0) {
-   *handled_output = url_adapt_ext(output, output_len, len, 
(zend_bool) (mode  PHP_OUTPUT_HANDLER_END ? 1 : 0) TSRMLS_CC);
+   *handled_output = url_adapt_ext(output, output_len, len, 
(zend_bool) (mode  (PHP_OUTPUT_HANDLER_END | PHP_OUTPUT_HANDLER_CONT) ? 1 : 0) 
TSRMLS_CC);
if (sizeof(uint)  sizeof(size_t)) {
if (len  UINT_MAX)
len = UINT_MAX;
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/bug44394.phpt?r1=1.1r2=1.2diff_format=u
Index: php-src/ext/standard/tests/general_functions/bug44394.phpt
diff -u /dev/null php-src/ext/standard/tests/general_functions/bug44394.phpt:1.2
--- /dev/null   Wed Mar 12 02:45:15 2008
+++ php-src/ext/standard/tests/general_functions/bug44394.phpt  Wed Mar 12 
02:45:15 2008
@@ -0,0 +1,18 @@
+--TEST--
+Bug #44394 Last two bytes missing from output
+--FILE--
+?php
+
+$string = a href='a?q=1'asd/a;
+
+output_add_rewrite_var('a', 'b');
+
+echo $string;
+
+ob_flush();
+
+ob_end_clean();
+
+?
+--EXPECT--
+a href='a?q=1a=b'asd/a
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/bug44394_2.phpt?r1=1.1r2=1.2diff_format=u
Index: php-src/ext/standard/tests/general_functions/bug44394_2.phpt
diff -u /dev/null 
php-src/ext/standard/tests/general_functions/bug44394_2.phpt:1.2
--- /dev/null   Wed Mar 12 02:45:15 2008
+++ php-src/ext/standard/tests/general_functions/bug44394_2.phptWed Mar 
12 02:45:15 2008
@@ -0,0 +1,24 @@
+--TEST--
+Bug #44394 (Last two bytes missing from output) with session.use_trans_id
+--FILE--
+?php
+
+ini_set('session.use_trans_sid', 1);
+
+session_start();
+
+ob_start();
+
+$string = a href='a?q=1'asd/a;
+
+output_add_rewrite_var('a', 'b');
+
+echo $string;
+
+ob_flush();
+
+ob_end_clean();
+
+?
+--EXPECTF--
+a href='a?q=1PHPSESSID=%sa=b'asd/a



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