[PHP-CVS] cvs: php-src(PHP_5_3) / NEWS

2009-07-09 Thread Ilia Alshanetsky
iliaa   Thu Jul  9 16:50:45 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-srcNEWS 
  Log:
  
  Fixed typo
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.673r2=1.2027.2.547.2.965.2.674diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.673 
php-src/NEWS:1.2027.2.547.2.965.2.674
--- php-src/NEWS:1.2027.2.547.2.965.2.673   Thu Jul  9 00:27:28 2009
+++ php-src/NEWSThu Jul  9 16:50:45 2009
@@ -1,7 +1,7 @@
 PHPNEWS
 |||
 ?? ??? 2009, PHP 5.3.1
-- Fixed spl_autoload_unregister/spl_autoad_functions wrt. Closures and
+- Fixed spl_autoload_unregister/spl_autoload_functions wrt. Closures and
   Functors. (Christian Seiler)
 - Fixed open_basedir circumvention for mail.log. (Maksymilian Arciemowicz,
   Stas)



-- 
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 array.c /ext/standard/tests/array bug48854.phpt

2009-07-08 Thread Felipe Pena
felipe  Wed Jul  8 18:23:08 2009 UTC

  Added files: (Branch: PHP_5_3)
/php-src/ext/standard/tests/array   bug48854.phpt 

  Modified files:  
/php-src/ext/standard   array.c 
/php-srcNEWS 
  Log:
  - MFH: Fixed bug #48854 (array_merge_recursive modifies arrays after first 
one)
  
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/array.c?r1=1.308.2.21.2.37.2.56r2=1.308.2.21.2.37.2.57diff_format=u
Index: php-src/ext/standard/array.c
diff -u php-src/ext/standard/array.c:1.308.2.21.2.37.2.56 
php-src/ext/standard/array.c:1.308.2.21.2.37.2.57
--- php-src/ext/standard/array.c:1.308.2.21.2.37.2.56   Fri May 15 17:03:03 2009
+++ php-src/ext/standard/array.cWed Jul  8 18:23:07 2009
@@ -21,7 +21,7 @@
+--+
 */
 
-/* $Id: array.c,v 1.308.2.21.2.37.2.56 2009/05/15 17:03:03 moriyoshi Exp $ */
+/* $Id: array.c,v 1.308.2.21.2.37.2.57 2009/07/08 18:23:07 felipe Exp $ */
 
 #include php.h
 #include php_ini.h
@@ -2305,6 +2305,7 @@
array_init_size(return_value, init_size);
 
for (i = 0; i  argc; i++) {
+   SEPARATE_ZVAL(args[i]);
if (!replace) {
php_array_merge(Z_ARRVAL_P(return_value), 
Z_ARRVAL_PP(args[i]), recursive TSRMLS_CC);
} else if (recursive  i  0) { /* First array will be copied 
directly instead */
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.671r2=1.2027.2.547.2.965.2.672diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.671 
php-src/NEWS:1.2027.2.547.2.965.2.672
--- php-src/NEWS:1.2027.2.547.2.965.2.671   Wed Jul  8 03:06:59 2009
+++ php-src/NEWSWed Jul  8 18:23:08 2009
@@ -4,6 +4,8 @@
 - Fixed spl_autoload_unregister/spl_autoad_functions wrt. Closures and
   Functors. (Christian Seiler)
 
+- Fixed bug #48854 (array_merge_recursive modifies arrays after first one).
+  (Felipe)
 - Fixed bug #48788 (RecursiveDirectoryIterator doesn't descend into symlinked
   directories). (Ilia)
 - Fixed bug #48771 (rename() between volumes fails and reports no error on 

http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/array/bug48854.phpt?view=markuprev=1.1
Index: php-src/ext/standard/tests/array/bug48854.phpt
+++ php-src/ext/standard/tests/array/bug48854.phpt
--TEST--
Bug #48854 (array_merge_recursive modifies arrays after first one)
--FILE--
?php

$array1 = array(
   'friends' = 5,
   'children' = array(
   'dogs' = 0,
   ),
);

$array2 = array(
   'friends' = 10,
   'children' = array(
   'cats' = 5,
   ),
);

$merged = array_merge_recursive($array1, $array2);

var_dump($array1, $array2);

?
--EXPECTF--
array(2) {
  [%u|b%friends]=
  int(5)
  [%u|b%children]=
  array(1) {
[%u|b%dogs]=
int(0)
  }
}
array(2) {
  [%u|b%friends]=
  int(10)
  [%u|b%children]=
  array(1) {
[%u|b%cats]=
int(5)
  }
}



-- 
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

2009-07-08 Thread Stanislav Malyshev
stasThu Jul  9 00:27:29 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-srcNEWS 
  Log:
  report fix
  
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.672r2=1.2027.2.547.2.965.2.673diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.672 
php-src/NEWS:1.2027.2.547.2.965.2.673
--- php-src/NEWS:1.2027.2.547.2.965.2.672   Wed Jul  8 18:23:08 2009
+++ php-src/NEWSThu Jul  9 00:27:28 2009
@@ -3,6 +3,8 @@
 ?? ??? 2009, PHP 5.3.1
 - Fixed spl_autoload_unregister/spl_autoad_functions wrt. Closures and
   Functors. (Christian Seiler)
+- Fixed open_basedir circumvention for mail.log. (Maksymilian Arciemowicz,
+  Stas)
 
 - Fixed bug #48854 (array_merge_recursive modifies arrays after first one).
   (Felipe)



-- 
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) / NEWS

2009-07-08 Thread Pierre Joye
pls add it to 5.2 NEWS too.

Cheers,

On Thu, Jul 9, 2009 at 2:27 AM, Stanislav Malyshevs...@php.net wrote:
 stas            Thu Jul  9 00:27:29 2009 UTC

  Modified files:              (Branch: PHP_5_3)
    /php-src    NEWS
  Log:
  report fix


 http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.672r2=1.2027.2.547.2.965.2.673diff_format=u
 Index: php-src/NEWS
 diff -u php-src/NEWS:1.2027.2.547.2.965.2.672 
 php-src/NEWS:1.2027.2.547.2.965.2.673
 --- php-src/NEWS:1.2027.2.547.2.965.2.672       Wed Jul  8 18:23:08 2009
 +++ php-src/NEWS        Thu Jul  9 00:27:28 2009
 @@ -3,6 +3,8 @@
  ?? ??? 2009, PHP 5.3.1
  - Fixed spl_autoload_unregister/spl_autoad_functions wrt. Closures and
   Functors. (Christian Seiler)
 +- Fixed open_basedir circumvention for mail.log. (Maksymilian Arciemowicz,
 +  Stas)

  - Fixed bug #48854 (array_merge_recursive modifies arrays after first one).
   (Felipe)



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





-- 
Pierre

http://blog.thepimp.net | http://www.libgd.org

--
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) / NEWS

2009-07-08 Thread Pierre Joye
err, forget that :)

On Thu, Jul 9, 2009 at 2:28 AM, Pierre Joyepierre@gmail.com wrote:
 pls add it to 5.2 NEWS too.

 Cheers,

 On Thu, Jul 9, 2009 at 2:27 AM, Stanislav Malyshevs...@php.net wrote:
 stas            Thu Jul  9 00:27:29 2009 UTC

  Modified files:              (Branch: PHP_5_3)
    /php-src    NEWS
  Log:
  report fix


 http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.672r2=1.2027.2.547.2.965.2.673diff_format=u
 Index: php-src/NEWS
 diff -u php-src/NEWS:1.2027.2.547.2.965.2.672 
 php-src/NEWS:1.2027.2.547.2.965.2.673
 --- php-src/NEWS:1.2027.2.547.2.965.2.672       Wed Jul  8 18:23:08 2009
 +++ php-src/NEWS        Thu Jul  9 00:27:28 2009
 @@ -3,6 +3,8 @@
  ?? ??? 2009, PHP 5.3.1
  - Fixed spl_autoload_unregister/spl_autoad_functions wrt. Closures and
   Functors. (Christian Seiler)
 +- Fixed open_basedir circumvention for mail.log. (Maksymilian Arciemowicz,
 +  Stas)

  - Fixed bug #48854 (array_merge_recursive modifies arrays after first one).
   (Felipe)



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





 --
 Pierre

 http://blog.thepimp.net | http://www.libgd.org




-- 
Pierre

http://blog.thepimp.net | http://www.libgd.org

--
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

2009-07-07 Thread Jani Taskinen
janiTue Jul  7 12:19:05 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-srcNEWS 
  Log:
  Check your editors, this is ascii only file!
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.666r2=1.2027.2.547.2.965.2.667diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.666 
php-src/NEWS:1.2027.2.547.2.965.2.667
--- php-src/NEWS:1.2027.2.547.2.965.2.666   Mon Jul  6 23:47:16 2009
+++ php-src/NEWSTue Jul  7 12:19:05 2009
@@ -1,4 +1,4 @@
-PHP
NEWS
+PHPNEWS
 |||
 ?? ??? 2009, PHP 5.3.1
 



-- 
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

2009-07-07 Thread Pierre-Alain Joye
pajoye  Tue Jul  7 15:17:37 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-srcNEWS 
  Log:
  - #45905
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.667r2=1.2027.2.547.2.965.2.668diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.667 
php-src/NEWS:1.2027.2.547.2.965.2.668
--- php-src/NEWS:1.2027.2.547.2.965.2.667   Tue Jul  7 12:19:05 2009
+++ php-src/NEWSTue Jul  7 15:17:36 2009
@@ -17,6 +17,8 @@
 - Fixed #48116 (Fixed build with Openssl 1.0). (Pierre, 
   Al dot Smith at aeschi dot ch dot eu dot org)
 - Fixed bug #47351 (Memory leak in DateTime). (Derick, Tobias John)
+- Fixed bug #45905 (imagefilledrectangle() clipping error).
+  (markril at hotmail dot com, Pierre)
 - Fixed bug #38091 (Mail() does not use FQDN when sending SMTP helo). 
   (Kalle, Rick Yorgason)
 



-- 
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 /main main.c

2009-07-07 Thread Jani Taskinen
janiTue Jul  7 16:42:12 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-srcNEWS 
/php-src/main   main.c 
  Log:
  - Fixed bug #48247 (Infinite loop and possible crash during startup with 
errors)
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.668r2=1.2027.2.547.2.965.2.669diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.668 
php-src/NEWS:1.2027.2.547.2.965.2.669
--- php-src/NEWS:1.2027.2.547.2.965.2.668   Tue Jul  7 15:17:36 2009
+++ php-src/NEWSTue Jul  7 16:42:11 2009
@@ -1,7 +1,6 @@
 PHPNEWS
 |||
 ?? ??? 2009, PHP 5.3.1
-
 - Fixed spl_autoload_unregister/spl_autoad_functions wrt. Closures and
   Functors. (Christian Seiler)
 
@@ -14,7 +13,9 @@
   components). (Ilia)
 - Fixed bug #48681 (openssl signature verification for tar archives broken).
   (Greg)
-- Fixed #48116 (Fixed build with Openssl 1.0). (Pierre, 
+- Fixed bug #48247 (Infinite loop and possible crash during startup with
+  errors when errors are logged). (Jani)
+- Fixed bug #48116 (Fixed build with Openssl 1.0). (Pierre, 
   Al dot Smith at aeschi dot ch dot eu dot org)
 - Fixed bug #47351 (Memory leak in DateTime). (Derick, Tobias John)
 - Fixed bug #45905 (imagefilledrectangle() clipping error).
http://cvs.php.net/viewvc.cgi/php-src/main/main.c?r1=1.640.2.23.2.57.2.55r2=1.640.2.23.2.57.2.56diff_format=u
Index: php-src/main/main.c
diff -u php-src/main/main.c:1.640.2.23.2.57.2.55 
php-src/main/main.c:1.640.2.23.2.57.2.56
--- php-src/main/main.c:1.640.2.23.2.57.2.55Thu Jun  4 07:41:01 2009
+++ php-src/main/main.c Tue Jul  7 16:42:11 2009
@@ -18,7 +18,7 @@
+--+
 */
 
-/* $Id: main.c,v 1.640.2.23.2.57.2.55 2009/06/04 07:41:01 pajoye Exp $ */
+/* $Id: main.c,v 1.640.2.23.2.57.2.56 2009/07/07 16:42:11 jani Exp $ */
 
 /* {{{ includes
  */
@@ -516,6 +516,20 @@
 static int module_startup = 1;
 static int module_shutdown = 0;
 
+/* {{{ php_during_module_startup */
+static int php_during_module_startup(void)
+{
+   return module_startup;
+}
+/* }}} */
+
+/* {{{ php_during_module_shutdown */
+static int php_during_module_shutdown(void)
+{
+   return module_shutdown;
+}
+/* }}} */
+
 /* {{{ php_log_err
  */
 PHPAPI void php_log_err(char *log_message TSRMLS_DC)
@@ -538,7 +552,7 @@
char *error_time_str;
 
time(error_time);
-   error_time_str = php_format_date(d-M-Y H:i:s, 11, 
error_time, 1 TSRMLS_CC);
+   error_time_str = php_format_date(d-M-Y H:i:s, 11, 
error_time, php_during_module_startup() TSRMLS_CC);
len = spprintf(tmp, 0, [%s] %s%s, error_time_str, 
log_message, PHP_EOL);
 #ifdef PHP_WIN32
php_flock(fd, 2);
@@ -587,24 +601,6 @@
 }
 /* }}} */
 
-/* {{{ php_verror helpers */
-
-/* {{{ php_during_module_startup */
-static int php_during_module_startup(void)
-{
-   return module_startup;
-}
-/* }}} */
-
-/* {{{ php_during_module_shutdown */
-static int php_during_module_shutdown(void)
-{
-   return module_shutdown;
-}
-/* }}} */
-
-/* }}} */
-
 /* {{{ php_verror */
 /* php_verror is called from php_error_docrefn functions.
  * Its purpose is to unify error messages and automatically generate clickable



-- 
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

2009-07-07 Thread Pierre-Alain Joye
pajoye  Tue Jul  7 22:17:55 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-srcNEWS 
  Log:
  - #46682
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.669r2=1.2027.2.547.2.965.2.670diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.669 
php-src/NEWS:1.2027.2.547.2.965.2.670
--- php-src/NEWS:1.2027.2.547.2.965.2.669   Tue Jul  7 16:42:11 2009
+++ php-src/NEWSTue Jul  7 22:17:54 2009
@@ -18,6 +18,8 @@
 - Fixed bug #48116 (Fixed build with Openssl 1.0). (Pierre, 
   Al dot Smith at aeschi dot ch dot eu dot org)
 - Fixed bug #47351 (Memory leak in DateTime). (Derick, Tobias John)
+- Fixed bug #46682 (touch() afield returns different values on windows).
+  (Pierre)
 - Fixed bug #45905 (imagefilledrectangle() clipping error).
   (markril at hotmail dot com, Pierre)
 - Fixed bug #38091 (Mail() does not use FQDN when sending SMTP helo). 



-- 
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/spl spl_directory.c spl_directory.h

2009-07-07 Thread Ilia Alshanetsky
iliaa   Wed Jul  8 03:07:00 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-src/ext/splspl_directory.c spl_directory.h 
/php-srcNEWS 
  Log:
  
  Fixed bug #48788 (RecursiveDirectoryIterator doesn't descend into symlinked
  directories).  
  
  [DOC] 
  
  To avoid breaking how existing code works a new constant is introduced for
  the RecursiveDirectoryIterator() that directs the code to follow symlinks.
  This constant RecursiveDirectoryIterator::FOLLOW_SYMLINKS can be passed a 
  flag to the constructor to trigger symlink following.
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/spl/spl_directory.c?r1=1.45.2.27.2.23.2.45r2=1.45.2.27.2.23.2.46diff_format=u
Index: php-src/ext/spl/spl_directory.c
diff -u php-src/ext/spl/spl_directory.c:1.45.2.27.2.23.2.45 
php-src/ext/spl/spl_directory.c:1.45.2.27.2.23.2.46
--- php-src/ext/spl/spl_directory.c:1.45.2.27.2.23.2.45 Sat Jul  4 20:31:27 2009
+++ php-src/ext/spl/spl_directory.c Wed Jul  8 03:06:58 2009
@@ -16,7 +16,7 @@
+--+
  */
 
-/* $Id: spl_directory.c,v 1.45.2.27.2.23.2.45 2009/07/04 20:31:27 felipe Exp $ 
*/
+/* $Id: spl_directory.c,v 1.45.2.27.2.23.2.46 2009/07/08 03:06:58 iliaa Exp $ 
*/
 
 #ifdef HAVE_CONFIG_H
 # include config.h
@@ -1246,7 +1246,7 @@
return;
}
spl_filesystem_object_get_file_name(intern TSRMLS_CC);
-   if (!allow_links) {
+   if (!allow_links  !(intern-flags  
SPL_FILE_DIR_FOLLOW_SYMLINKS)) {
php_stat(intern-file_name, intern-file_name_len, 
FS_IS_LINK, return_value TSRMLS_CC);
if (zend_is_true(return_value)) {
RETURN_FALSE;
@@ -2656,6 +2656,7 @@
REGISTER_SPL_CLASS_CONST_LONG(FilesystemIterator, CURRENT_AS_SELF,
 SPL_FILE_DIR_CURRENT_AS_SELF);
REGISTER_SPL_CLASS_CONST_LONG(FilesystemIterator, KEY_MODE_MASK,  
 SPL_FILE_DIR_KEY_MODE_MASK);
REGISTER_SPL_CLASS_CONST_LONG(FilesystemIterator, KEY_AS_PATHNAME,
 SPL_FILE_DIR_KEY_AS_PATHNAME);
+   REGISTER_SPL_CLASS_CONST_LONG(FilesystemIterator, FOLLOW_SYMLINKS,
 SPL_FILE_DIR_FOLLOW_SYMLINKS);
REGISTER_SPL_CLASS_CONST_LONG(FilesystemIterator, KEY_AS_FILENAME,
 SPL_FILE_DIR_KEY_AS_FILENAME);
REGISTER_SPL_CLASS_CONST_LONG(FilesystemIterator, 
NEW_CURRENT_AND_KEY, 
SPL_FILE_DIR_KEY_AS_FILENAME|SPL_FILE_DIR_CURRENT_AS_FILEINFO);
REGISTER_SPL_CLASS_CONST_LONG(FilesystemIterator, SKIP_DOTS,  
 SPL_FILE_DIR_SKIPDOTS);
http://cvs.php.net/viewvc.cgi/php-src/ext/spl/spl_directory.h?r1=1.12.2.5.2.4.2.14r2=1.12.2.5.2.4.2.15diff_format=u
Index: php-src/ext/spl/spl_directory.h
diff -u php-src/ext/spl/spl_directory.h:1.12.2.5.2.4.2.14 
php-src/ext/spl/spl_directory.h:1.12.2.5.2.4.2.15
--- php-src/ext/spl/spl_directory.h:1.12.2.5.2.4.2.14   Thu Jun  4 14:46:26 2009
+++ php-src/ext/spl/spl_directory.h Wed Jul  8 03:06:59 2009
@@ -16,7 +16,7 @@
+--+
  */
 
-/* $Id: spl_directory.h,v 1.12.2.5.2.4.2.14 2009/06/04 14:46:26 colder Exp $ */
+/* $Id: spl_directory.h,v 1.12.2.5.2.4.2.15 2009/07/08 03:06:59 iliaa Exp $ */
 
 #ifndef SPL_DIRECTORY_H
 #define SPL_DIRECTORY_H
@@ -129,6 +129,7 @@
 
 #define SPL_FILE_DIR_KEY_AS_PATHNAME   0x /* make 
RecursiveDirectoryTree::key() return getPathname() */
 #define SPL_FILE_DIR_KEY_AS_FILENAME   0x0100 /* make 
RecursiveDirectoryTree::key() return getFilename() */
+#define SPL_FILE_DIR_FOLLOW_SYMLINKS   0x0200 /* make 
RecursiveDirectoryTree::hasChildren() follow symlinks */
 #define SPL_FILE_DIR_KEY_MODE_MASK 0x0F00 /* mask 
RecursiveDirectoryTree::key() */
 #define SPL_FILE_DIR_KEY(intern,mode)  
((intern-flagsSPL_FILE_DIR_KEY_MODE_MASK)==mode)
 
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.670r2=1.2027.2.547.2.965.2.671diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.670 
php-src/NEWS:1.2027.2.547.2.965.2.671
--- php-src/NEWS:1.2027.2.547.2.965.2.670   Tue Jul  7 22:17:54 2009
+++ php-src/NEWSWed Jul  8 03:06:59 2009
@@ -4,6 +4,8 @@
 - Fixed spl_autoload_unregister/spl_autoad_functions wrt. Closures and
   Functors. (Christian Seiler)
 
+- Fixed bug #48788 (RecursiveDirectoryIterator doesn't descend into symlinked
+  directories). (Ilia)
 - Fixed bug #48771 (rename() between volumes fails and reports no error on 
   Windows). (Pierre)
 - Fixed bug #48757 (ReflectionFunction::invoke() parameter issues). (Kalle)



-- 
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

2009-07-06 Thread Pierre-Alain Joye
pajoye  Mon Jul  6 17:48:03 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-srcNEWS 
  Log:
  - #48771
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.663r2=1.2027.2.547.2.965.2.664diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.663 
php-src/NEWS:1.2027.2.547.2.965.2.664
--- php-src/NEWS:1.2027.2.547.2.965.2.663   Sun Jul  5 16:08:05 2009
+++ php-src/NEWSMon Jul  6 17:48:02 2009
@@ -5,6 +5,8 @@
 - Fixed spl_autoload_unregister/spl_autoad_functions wrt. Closures and
   Functors. (Christian Seiler)
 
+- Fixed bug #48771 (rename() between volumes fails and reports no error on 
+  Windows). (Pierre)
 - Fixed bug #48757 (ReflectionFunction::invoke() parameter issues). (Kalle)
 - Fixed bug #48733 (CURLOPT_WRITEHEADER|CURLOPT_FILE|CURLOPT_STDERR warns on
   files that have been opened with r+). (Ilia)
@@ -16,7 +18,6 @@
 - Fixed bug #38091 (Mail() does not use FQDN when sending SMTP helo). 
   (Kalle, Rick Yorgason)
 
-
 30 Jun 2009, PHP 5.3.0
 - Upgraded bundled PCRE to version 7.9. (Nuno)
 - Upgraded bundled sqlite to version 3.6.15. (Scott)



-- 
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

2009-07-06 Thread Pierre-Alain Joye
pajoye  Mon Jul  6 23:38:03 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-srcNEWS 
  Log:
  - #48116
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.664r2=1.2027.2.547.2.965.2.665diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.664 
php-src/NEWS:1.2027.2.547.2.965.2.665
--- php-src/NEWS:1.2027.2.547.2.965.2.664   Mon Jul  6 17:48:02 2009
+++ php-src/NEWSMon Jul  6 23:38:03 2009
@@ -14,6 +14,7 @@
   components). (Ilia)
 - Fixed bug #48681 (openssl signature verification for tar archives broken).
   (Greg)
+- Fixed #48116 (Fixed build with Openssl 1.0). (Pierre)
 - Fixed bug #47351 (Memory leak in DateTime). (Derick, Tobias John)
 - Fixed bug #38091 (Mail() does not use FQDN when sending SMTP helo). 
   (Kalle, Rick Yorgason)



-- 
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

2009-07-06 Thread Pierre-Alain Joye
pajoye  Mon Jul  6 23:47:17 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-srcNEWS 
  Log:
  - forgot to add the author of the initial patch
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.665r2=1.2027.2.547.2.965.2.666diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.665 
php-src/NEWS:1.2027.2.547.2.965.2.666
--- php-src/NEWS:1.2027.2.547.2.965.2.665   Mon Jul  6 23:38:03 2009
+++ php-src/NEWSMon Jul  6 23:47:16 2009
@@ -14,7 +14,8 @@
   components). (Ilia)
 - Fixed bug #48681 (openssl signature verification for tar archives broken).
   (Greg)
-- Fixed #48116 (Fixed build with Openssl 1.0). (Pierre)
+- Fixed #48116 (Fixed build with Openssl 1.0). (Pierre, 
+  Al dot Smith at aeschi dot ch dot eu dot org)
 - Fixed bug #47351 (Memory leak in DateTime). (Derick, Tobias John)
 - Fixed bug #38091 (Mail() does not use FQDN when sending SMTP helo). 
   (Kalle, Rick Yorgason)



-- 
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/filter logical_filters.c /ext/filter/tests 016.phpt

2009-07-05 Thread Ilia Alshanetsky
iliaa   Sun Jul  5 16:08:06 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-src/ext/filter/tests   016.phpt 
/php-src/ext/filter logical_filters.c 
/php-srcNEWS 
  Log:
  MFB: Fixed bug #48718 (FILTER_VALIDATE_EMAIL does not allow numbers in domain 
 
  components).
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/filter/tests/016.phpt?r1=1.4.2.4.2.1r2=1.4.2.4.2.2diff_format=u
Index: php-src/ext/filter/tests/016.phpt
diff -u php-src/ext/filter/tests/016.phpt:1.4.2.4.2.1 
php-src/ext/filter/tests/016.phpt:1.4.2.4.2.2
--- php-src/ext/filter/tests/016.phpt:1.4.2.4.2.1   Mon Feb  2 23:50:31 2009
+++ php-src/ext/filter/tests/016.phpt   Sun Jul  5 16:08:05 2009
@@ -14,7 +14,8 @@
 '@',   
 '[]()/@example.com',   
 'qwertyuiopasdfghjklzxcv...@qwertyuiopasdfghjklzxcvbnm.net',
-'e.x.a.m.p.l...@example.com'
+'e.x.a.m.p.l...@example.com',
+'firstname.lastn...@employee.2something.com'
 );
 foreach ($values as $value) {
var_dump(filter_var($value, FILTER_VALIDATE_EMAIL));
@@ -33,4 +34,5 @@
 bool(false)
 string(57) qwertyuiopasdfghjklzxcv...@qwertyuiopasdfghjklzxcvbnm.net
 string(26) e.x.a.m.p.l...@example.com
+string(42) firstname.lastn...@employee.2something.com
 Done
\ No newline at end of file
http://cvs.php.net/viewvc.cgi/php-src/ext/filter/logical_filters.c?r1=1.1.2.22.2.12r2=1.1.2.22.2.13diff_format=u
Index: php-src/ext/filter/logical_filters.c
diff -u php-src/ext/filter/logical_filters.c:1.1.2.22.2.12 
php-src/ext/filter/logical_filters.c:1.1.2.22.2.13
--- php-src/ext/filter/logical_filters.c:1.1.2.22.2.12  Wed Jun 10 19:01:17 2009
+++ php-src/ext/filter/logical_filters.cSun Jul  5 16:08:05 2009
@@ -17,7 +17,7 @@
   +--+
 */
 
-/* $Id: logical_filters.c,v 1.1.2.22.2.12 2009/06/10 19:01:17 felipe Exp $ */
+/* $Id: logical_filters.c,v 1.1.2.22.2.13 2009/07/05 16:08:05 iliaa Exp $ */
 
 #include php_filter.h
 #include filter_private.h
@@ -472,7 +472,7 @@
 void php_filter_validate_email(PHP_INPUT_FILTER_PARAM_DECL) /* {{{ */
 {
/* From 
http://cvs.php.net/co.php/pear/HTML_QuickForm/QuickForm/Rule/Email.php?r=1.4 */
-   const char regexp[] = 
/^((\\\[^\f\\n\\r\\t\\b]+\\\)|([A-Za-z0-9_\\!\\#\\$\\%'\\*\\+\\-\\~\\/\\^\\`\\|\\{\\}]+(\\.[A-Za-z0-9_\\!\\#\\$\\%'\\*\\+\\-\\~\\/\\^\\`\\|\\{\\}]*)*))@((\\[(((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9]))\\.((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9]))\\.((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9]))\\.((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9])))\\])|(((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9]))\\.((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9]))\\.((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9]))\\.((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9])))|((([A-Za-z0-9])(([A-Za-z0-9\\-])*([A-Za-z0-9]))?(\\.(?=[A-Za-z\\-]))?)+[A-Za-z\\-]*))$/D;
+   const char regexp[] = 
/^((\\\[^\f\\n\\r\\t\\b]+\\\)|([A-Za-z0-9_\\!\\#\\$\\%'\\*\\+\\-\\~\\/\\^\\`\\|\\{\\}]+(\\.[A-Za-z0-9_\\!\\#\\$\\%'\\*\\+\\-\\~\\/\\^\\`\\|\\{\\}]*)*))@((\\[(((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9]))\\.((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9]))\\.((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9]))\\.((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9])))\\])|(((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9]))\\.((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9]))\\.((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9]))\\.((25[0-5])|(2[0-4][0-9])|([0-1]?[0-9]?[0-9])))|((([A-Za-z0-9])(([A-Za-z0-9\\-])*([A-Za-z0-9]))?(\\.(?=[A-Za-z0-9\\-]))?)+[A-Za-z\\-]*))$/D;
 
pcre   *re = NULL;
pcre_extra *pcre_extra = NULL;
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.662r2=1.2027.2.547.2.965.2.663diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.662 
php-src/NEWS:1.2027.2.547.2.965.2.663
--- php-src/NEWS:1.2027.2.547.2.965.2.662   Thu Jul  2 13:42:16 2009
+++ php-src/NEWSSun Jul  5 16:08:05 2009
@@ -8,6 +8,8 @@
 - Fixed bug #48757 (ReflectionFunction::invoke() parameter issues). (Kalle)
 - Fixed bug #48733 (CURLOPT_WRITEHEADER|CURLOPT_FILE|CURLOPT_STDERR warns on
   files that have been opened with r+). (Ilia)
+- Fixed bug #48718 (FILTER_VALIDATE_EMAIL does not allow numbers in domain  
+  components). (Ilia)
 - Fixed bug #48681 (openssl signature verification for tar archives broken).
   (Greg)
 - Fixed bug #47351 (Memory leak in DateTime). (Derick, Tobias John)



-- 
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/curl interface.c

2009-07-02 Thread Ilia Alshanetsky
iliaa   Thu Jul  2 13:42:16 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-src/ext/curl   interface.c 
/php-srcNEWS 
  Log:
  
  MFB: Fixed bug #48733 (CURLOPT_WRITEHEADER|CURLOPT_FILE|CURLOPT_STDERR warns
  on files that have been opened with r+).
  
http://cvs.php.net/viewvc.cgi/php-src/ext/curl/interface.c?r1=1.62.2.14.2.27.2.58r2=1.62.2.14.2.27.2.59diff_format=u
Index: php-src/ext/curl/interface.c
diff -u php-src/ext/curl/interface.c:1.62.2.14.2.27.2.58 
php-src/ext/curl/interface.c:1.62.2.14.2.27.2.59
--- php-src/ext/curl/interface.c:1.62.2.14.2.27.2.58Sun Jun 28 09:50:14 2009
+++ php-src/ext/curl/interface.cThu Jul  2 13:42:16 2009
@@ -16,7 +16,7 @@
+--+
 */
 
-/* $Id: interface.c,v 1.62.2.14.2.27.2.58 2009/06/28 09:50:14 pajoye Exp $ */
+/* $Id: interface.c,v 1.62.2.14.2.27.2.59 2009/07/02 13:42:16 iliaa Exp $ */
 
 #define ZEND_INCLUDE_FULL_WINDOWS_HEADERS
 
@@ -1649,7 +1649,7 @@
error = CURLE_OK;
switch (option) {
case CURLOPT_FILE:
-   if (((php_stream *) what)-mode[0] != 
'r') {
+   if (((php_stream *) what)-mode[0] != 
'r' || ((php_stream *) what)-mode[1] == '+') {

zend_list_addref(Z_LVAL_PP(zvalue));
ch-handlers-write-fp = fp;
ch-handlers-write-method = 
PHP_CURL_FILE;
@@ -1660,7 +1660,7 @@
}
break;
case CURLOPT_WRITEHEADER:
-   if (((php_stream *) what)-mode[0] != 
'r') {
+   if (((php_stream *) what)-mode[0] != 
'r' || ((php_stream *) what)-mode[1] == '+') {

zend_list_addref(Z_LVAL_PP(zvalue));
ch-handlers-write_header-fp 
= fp;

ch-handlers-write_header-method = PHP_CURL_FILE;
@@ -1676,7 +1676,7 @@
ch-handlers-read-fd = 
Z_LVAL_PP(zvalue);
break;
case CURLOPT_STDERR:
-   if (((php_stream *) what)-mode[0] != 
'r') {
+   if (((php_stream *) what)-mode[0] != 
'r' || ((php_stream *) what)-mode[1] == '+') {
if (ch-handlers-std_err) {

zval_ptr_dtor(ch-handlers-std_err);
}
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.661r2=1.2027.2.547.2.965.2.662diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.661 
php-src/NEWS:1.2027.2.547.2.965.2.662
--- php-src/NEWS:1.2027.2.547.2.965.2.661   Wed Jul  1 17:38:52 2009
+++ php-src/NEWSThu Jul  2 13:42:16 2009
@@ -6,6 +6,8 @@
   Functors. (Christian Seiler)
 
 - Fixed bug #48757 (ReflectionFunction::invoke() parameter issues). (Kalle)
+- Fixed bug #48733 (CURLOPT_WRITEHEADER|CURLOPT_FILE|CURLOPT_STDERR warns on
+  files that have been opened with r+). (Ilia)
 - Fixed bug #48681 (openssl signature verification for tar archives broken).
   (Greg)
 - Fixed bug #47351 (Memory leak in DateTime). (Derick, Tobias John)



-- 
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

2009-07-01 Thread Kalle Sommer Nielsen
kalle   Wed Jul  1 17:38:53 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-srcNEWS 
  Log:
  BFN #48757
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.660r2=1.2027.2.547.2.965.2.661diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.660 
php-src/NEWS:1.2027.2.547.2.965.2.661
--- php-src/NEWS:1.2027.2.547.2.965.2.660   Tue Jun 30 17:14:37 2009
+++ php-src/NEWSWed Jul  1 17:38:52 2009
@@ -5,6 +5,7 @@
 - Fixed spl_autoload_unregister/spl_autoad_functions wrt. Closures and
   Functors. (Christian Seiler)
 
+- Fixed bug #48757 (ReflectionFunction::invoke() parameter issues). (Kalle)
 - Fixed bug #48681 (openssl signature verification for tar archives broken).
   (Greg)
 - Fixed bug #47351 (Memory leak in DateTime). (Derick, Tobias John)



-- 
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 /win32 sendmail.c

2009-06-30 Thread Kalle Sommer Nielsen
kalle   Tue Jun 30 11:39:16 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-srcNEWS 
/php-src/win32  sendmail.c 
  Log:
  MFH: Fixed bug #38091 (Mail() does not use FQDN when sending SMTP helo)
  
  # Note, this does not go in 5.2 because the inet ports for VC6 are not in 
that branch
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.656r2=1.2027.2.547.2.965.2.657diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.656 
php-src/NEWS:1.2027.2.547.2.965.2.657
--- php-src/NEWS:1.2027.2.547.2.965.2.656   Mon Jun 29 16:33:24 2009
+++ php-src/NEWSTue Jun 30 11:39:15 2009
@@ -1,7 +1,10 @@
-PHPNEWS
+PHP
NEWS
 |||
 ?? ??? 2009, PHP 5.3.1
 
+- Fixed bug #38091 (Mail() does not use FQDN when sending SMTP helo). 
+  (Kalle, Rick Yorgason)
+
 
 30 Jun 2009, PHP 5.3.0
 - Upgraded bundled PCRE to version 7.9. (Nuno)
http://cvs.php.net/viewvc.cgi/php-src/win32/sendmail.c?r1=1.65.2.2.2.1r2=1.65.2.2.2.1.2.1diff_format=u
Index: php-src/win32/sendmail.c
diff -u php-src/win32/sendmail.c:1.65.2.2.2.1 
php-src/win32/sendmail.c:1.65.2.2.2.1.2.1
--- php-src/win32/sendmail.c:1.65.2.2.2.1   Sat Feb 24 02:17:28 2007
+++ php-src/win32/sendmail.cTue Jun 30 11:39:15 2009
@@ -17,7 +17,7 @@
  *
  */
 
-/* $Id: sendmail.c,v 1.65.2.2.2.1 2007/02/24 02:17:28 helly Exp $ */
+/* $Id: sendmail.c,v 1.65.2.2.2.1.2.1 2009/06/30 11:39:15 kalle Exp $ */
 
 #include php.h   /*php specific */
 #include stdio.h
@@ -37,6 +37,7 @@
 #endif /* NETWARE */
 #include sendmail.h
 #include php_ini.h
+#include inet.h
 
 #if HAVE_PCRE || HAVE_BUNDLED_PCRE
 #include ext/pcre/php_pcre.h
@@ -765,16 +766,52 @@
 static int MailConnect()
 {
 
-   int res;
+   int res, namelen;
short portnum;
+   struct hostent *ent;
+   IN_ADDR addr;
+#ifdef HAVE_IPV6
+   IN6_ADDR addr6;
+#endif
 
/* Create Socket */
-   if ((sc = socket(PF_INET, SOCK_STREAM, 0)) == INVALID_SOCKET)
+   if ((sc = socket(PF_INET, SOCK_STREAM, 0)) == INVALID_SOCKET) {
return (FAILED_TO_OBTAIN_SOCKET_HANDLE);
+   }
 
/* Get our own host name */
-   if (gethostname(LocalHost, HOST_NAME_LEN))
+   if (gethostname(LocalHost, HOST_NAME_LEN)) {
+   return (FAILED_TO_GET_HOSTNAME);
+   }
+
+   ent = gethostbyname(LocalHost);
+
+   if (!ent) {
return (FAILED_TO_GET_HOSTNAME);
+   }
+
+   namelen = strlen(ent-h_name);
+
+#ifdef HAVE_IPV6
+   if (inet_pton(AF_INET, ent-h_name, addr) == 1 || inet_pton(AF_INET6, 
ent-h_name, addr6) == 1)
+#else
+   if (inet_pton(AF_INET, ent-h_name, addr) == 1)
+#endif
+   {
+   if (namelen + 2 = HOST_NAME_LEN) {
+   return (FAILED_TO_GET_HOSTNAME);
+   }
+
+   strcpy(LocalHost, [);
+   strcpy(LocalHost + 1, ent-h_name);
+   strcpy(LocalHost + namelen + 1, ]);
+   } else {
+   if (namelen = HOST_NAME_LEN) {
+   return (FAILED_TO_GET_HOSTNAME);
+   }
+
+   strcpy(LocalHost, ent-h_name);
+   }
 
/* Resolve the servers IP */
/*
@@ -794,8 +831,9 @@
sock_in.sin_port = htons(portnum);
sock_in.sin_addr.S_un.S_addr = GetAddr(MailHost);
 
-   if (connect(sc, (LPSOCKADDR)  sock_in, sizeof(sock_in)))
+   if (connect(sc, (LPSOCKADDR)  sock_in, sizeof(sock_in))) {
return (FAILED_TO_CONNECT);
+   }
 
/* receive Server welcome message */
res = Ack(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_3) / NEWS /ext/phar tar.c /ext/phar/tests/tar tar_openssl_hash.phpt /ext/phar/tests/tar/files P1-1.0.0.tgz P1-1.0.0.tgz.pubkey

2009-06-30 Thread Greg Beaver
cellog  Tue Jun 30 14:49:12 2009 UTC

  Added files: (Branch: PHP_5_3)
/php-src/ext/phar/tests/tar tar_openssl_hash.phpt 
/php-src/ext/phar/tests/tar/files   P1-1.0.0.tgz P1-1.0.0.tgz.pubkey 

  Modified files:  
/php-srcNEWS 
/php-src/ext/phar   tar.c 
  Log:
  fixed bug #48681 (openssl signature verification for tar archives broken)
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.657r2=1.2027.2.547.2.965.2.658diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.657 
php-src/NEWS:1.2027.2.547.2.965.2.658
--- php-src/NEWS:1.2027.2.547.2.965.2.657   Tue Jun 30 11:39:15 2009
+++ php-src/NEWSTue Jun 30 14:49:11 2009
@@ -2,6 +2,8 @@
 |||
 ?? ??? 2009, PHP 5.3.1
 
+- Fixed bug #48681 (openssl signature verification for tar archives broken).
+  (Greg)
 - Fixed bug #38091 (Mail() does not use FQDN when sending SMTP helo). 
   (Kalle, Rick Yorgason)
 
http://cvs.php.net/viewvc.cgi/php-src/ext/phar/tar.c?r1=1.55.2.29r2=1.55.2.30diff_format=u
Index: php-src/ext/phar/tar.c
diff -u php-src/ext/phar/tar.c:1.55.2.29 php-src/ext/phar/tar.c:1.55.2.30
--- php-src/ext/phar/tar.c:1.55.2.29Thu Jun  4 19:59:09 2009
+++ php-src/ext/phar/tar.c  Tue Jun 30 14:49:12 2009
@@ -255,6 +255,8 @@
phar_tar_number(hdr-size, sizeof(hdr-size));
 
if (((!old  hdr-prefix[0] == 0) || old)  strlen(hdr-name) 
== sizeof(.phar/signature.bin)-1  !strncmp(hdr-name, 
.phar/signature.bin, sizeof(.phar/signature.bin)-1)) {
+   off_t curloc;
+
if (size  511) {
if (error) {
spprintf(error, 4096, phar error: 
tar-based phar \%s\ has signature that is larger than 511 bytes, cannot 
process, fname);
@@ -264,6 +266,7 @@
phar_destroy_phar_data(myphar TSRMLS_CC);
return FAILURE;
}
+   curloc = php_stream_tell(fp);
read = php_stream_read(fp, buf, size);
if (read != size) {
if (error) {
@@ -280,7 +283,7 @@
 #else
 # define PHAR_GET_32(buffer) (php_uint32) *(buffer)
 #endif
-   if (FAILURE == phar_verify_signature(fp, 
php_stream_tell(fp) - size - 512, PHAR_GET_32(buf), buf + 8, PHAR_GET_32(buf + 
4), fname, myphar-signature, myphar-sig_len, error TSRMLS_CC)) {
+   if (FAILURE == phar_verify_signature(fp, 
php_stream_tell(fp) - size - 512, PHAR_GET_32(buf), buf + 8, size - 8, fname, 
myphar-signature, myphar-sig_len, error TSRMLS_CC)) {
if (error) {
char *save = *error;
spprintf(error, 4096, phar error: 
tar-based phar \%s\ signature cannot be verified: %s, fname, save);
@@ -288,11 +291,11 @@
}
goto bail;
}
+   php_stream_seek(fp, curloc + 512, SEEK_SET);
/* signature checked out, let's ensure this is the last 
file in the phar */
-   size = ((size+511)~511) + 512;
if (((hdr-typeflag == '\0') || (hdr-typeflag == 
TAR_FILE))  size  0) {
/* this is not good enough - seek succeeds even 
on truncated tars */
-   php_stream_seek(fp, size, SEEK_CUR);
+   php_stream_seek(fp, 512, SEEK_CUR);
if ((uint)php_stream_tell(fp)  totalsize) {
if (error) {
spprintf(error, 4096, phar 
error: \%s\ is a corrupted tar file (truncated), fname);

http://cvs.php.net/viewvc.cgi/php-src/ext/phar/tests/tar/tar_openssl_hash.phpt?view=markuprev=1.1
Index: php-src/ext/phar/tests/tar/tar_openssl_hash.phpt
+++ php-src/ext/phar/tests/tar/tar_openssl_hash.phpt
--TEST--
Phar: tar archive, require_hash=1, OpenSSL hash
--SKIPIF--
?php if (!extension_loaded('phar')) die('skip'); ?
?php if (!extension_loaded(spl)) die(skip SPL not available); ?
?php if (!extension_loaded(zlib)) die(skip zlib not available); ?
?php if (!extension_loaded(openssl)) die(skip openssl not available); ?
--INI--
phar.readonly=1
phar.require_hash=1
--FILE--
?php
try {
$phar = new PharData(dirname(__FILE__) . '/files/P1-1.0.0.tgz');
} catch (Exception $e) {
echo $e-getMessage().\n;
}

?
===DONE===
--EXPECT--
===DONE===

http://cvs.php.net/viewvc.cgi/php-src/ext/phar/tests/tar/files/P1-1.0.0.tgz.pubkey?view=markuprev=1.1
Index: php-src/ext/phar/tests/tar/files/P1-1.0.0.tgz.pubkey
+++ php-src/ext/phar/tests/tar/files/P1-1.0.0.tgz.pubkey
-BEGIN PUBLIC 

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

2009-06-30 Thread Derick Rethans
derick  Tue Jun 30 16:17:30 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-src/ext/date   php_date.c 
/php-srcNEWS 
  Log:
  - MFH: Fixed bug #47351 (Memory leak in DateTime).
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/date/php_date.c?r1=1.43.2.45.2.51.2.84r2=1.43.2.45.2.51.2.85diff_format=u
Index: php-src/ext/date/php_date.c
diff -u php-src/ext/date/php_date.c:1.43.2.45.2.51.2.84 
php-src/ext/date/php_date.c:1.43.2.45.2.51.2.85
--- php-src/ext/date/php_date.c:1.43.2.45.2.51.2.84 Thu Jun 25 15:07:36 2009
+++ php-src/ext/date/php_date.c Tue Jun 30 16:17:30 2009
@@ -16,7 +16,7 @@
+--+
  */
 
-/* $Id: php_date.c,v 1.43.2.45.2.51.2.84 2009/06/25 15:07:36 johannes Exp $ */
+/* $Id: php_date.c,v 1.43.2.45.2.51.2.85 2009/06/30 16:17:30 derick Exp $ */
 
 #include php.h
 #include php_streams.h
@@ -2414,7 +2414,7 @@
}
timelib_unixtime2local(now, (timelib_sll) time(NULL));
 
-   timelib_fill_holes(dateobj-time, now, 0);
+   timelib_fill_holes(dateobj-time, now, TIMELIB_NO_CLONE);
timelib_update_ts(dateobj-time, tzi);
 
dateobj-time-have_relative = 0;
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.658r2=1.2027.2.547.2.965.2.659diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.658 
php-src/NEWS:1.2027.2.547.2.965.2.659
--- php-src/NEWS:1.2027.2.547.2.965.2.658   Tue Jun 30 14:49:11 2009
+++ php-src/NEWSTue Jun 30 16:17:30 2009
@@ -4,6 +4,7 @@
 
 - Fixed bug #48681 (openssl signature verification for tar archives broken).
   (Greg)
+- Fixed bug #47351 (Memory leak in DateTime). (Derick, Tobias John)
 - Fixed bug #38091 (Mail() does not use FQDN when sending SMTP helo). 
   (Kalle, Rick Yorgason)
 



-- 
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/spl php_spl.c /ext/spl/tests spl_autoload_013.phpt spl_autoload_014.phpt spl_autoload_bug48541.phpt

2009-06-30 Thread Christian Seiler
cseiler Tue Jun 30 17:14:38 2009 UTC

  Added files: (Branch: PHP_5_3)
/php-src/ext/spl/tests  spl_autoload_013.phpt spl_autoload_014.phpt 

  Modified files:  
/php-srcNEWS 
/php-src/ext/splphp_spl.c 
/php-src/ext/spl/tests  spl_autoload_bug48541.phpt 
  Log:
  MFH: spl_autoload_unregister/spl_autoload_functions and closures
  
  http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.659r2=1.2027.2.547.2.965.2.660diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.659 
php-src/NEWS:1.2027.2.547.2.965.2.660
--- php-src/NEWS:1.2027.2.547.2.965.2.659   Tue Jun 30 16:17:30 2009
+++ php-src/NEWSTue Jun 30 17:14:37 2009
@@ -2,6 +2,9 @@
 |||
 ?? ??? 2009, PHP 5.3.1
 
+- Fixed spl_autoload_unregister/spl_autoad_functions wrt. Closures and
+  Functors. (Christian Seiler)
+
 - Fixed bug #48681 (openssl signature verification for tar archives broken).
   (Greg)
 - Fixed bug #47351 (Memory leak in DateTime). (Derick, Tobias John)
http://cvs.php.net/viewvc.cgi/php-src/ext/spl/php_spl.c?r1=1.52.2.28.2.17.2.38r2=1.52.2.28.2.17.2.39diff_format=u
Index: php-src/ext/spl/php_spl.c
diff -u php-src/ext/spl/php_spl.c:1.52.2.28.2.17.2.38 
php-src/ext/spl/php_spl.c:1.52.2.28.2.17.2.39
--- php-src/ext/spl/php_spl.c:1.52.2.28.2.17.2.38   Sat Jun 13 17:30:50 2009
+++ php-src/ext/spl/php_spl.c   Tue Jun 30 17:14:37 2009
@@ -16,7 +16,7 @@
+--+
  */
 
-/* $Id: php_spl.c,v 1.52.2.28.2.17.2.38 2009/06/13 17:30:50 cellog Exp $ */
+/* $Id: php_spl.c,v 1.52.2.28.2.17.2.39 2009/06/30 17:14:37 cseiler Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include config.h
@@ -509,10 +509,10 @@
alfi.closure = zcallable;
Z_ADDREF_P(zcallable);
 
-   lc_name = erealloc(lc_name, func_name_len + 2 + 
sizeof(zcallable-value.obj.handle));
-   memcpy(lc_name + func_name_len, 
(zcallable-value.obj.handle),
-   sizeof(zcallable-value.obj.handle));
-   func_name_len += sizeof(zcallable-value.obj.handle);
+   lc_name = erealloc(lc_name, func_name_len + 2 + 
sizeof(zend_object_handle));
+   memcpy(lc_name + func_name_len, 
Z_OBJ_HANDLE_P(zcallable),
+   sizeof(zend_object_handle));
+   func_name_len += sizeof(zend_object_handle);
lc_name[func_name_len] = '\0';
}
 
@@ -579,6 +579,7 @@
 {
char *func_name, *error = NULL;
int func_name_len;
+   char *lc_name = NULL;
zval *zcallable;
int success = FAILURE;
zend_function *spl_func_ptr;
@@ -604,10 +605,20 @@
efree(error);
}
 
-   zend_str_tolower(func_name, func_name_len);
+   lc_name = safe_emalloc(func_name_len, 1, sizeof(long) + 1);
+   zend_str_tolower_copy(lc_name, func_name, func_name_len);
+   efree(func_name);
+
+   if (Z_TYPE_P(zcallable) == IS_OBJECT) {
+   lc_name = erealloc(lc_name, func_name_len + 2 + 
sizeof(zend_object_handle));
+   memcpy(lc_name + func_name_len, Z_OBJ_HANDLE_P(zcallable),
+   sizeof(zend_object_handle));
+   func_name_len += sizeof(zend_object_handle);
+   lc_name[func_name_len] = '\0';
+   }
 
if (SPL_G(autoload_functions)) {
-   if (func_name_len == sizeof(spl_autoload_call)-1  
!strcmp(func_name, spl_autoload_call)) {
+   if (func_name_len == sizeof(spl_autoload_call)-1  
!strcmp(lc_name, spl_autoload_call)) {
/* remove all */
zend_hash_destroy(SPL_G(autoload_functions));
FREE_HASHTABLE(SPL_G(autoload_functions));
@@ -616,16 +627,16 @@
success = SUCCESS;
} else {
/* remove specific */
-   success = zend_hash_del(SPL_G(autoload_functions), 
func_name, func_name_len+1);
+   success = zend_hash_del(SPL_G(autoload_functions), 
lc_name, func_name_len+1);
if (success != SUCCESS  obj_ptr) {
-   func_name = erealloc(func_name, func_name_len + 
1 + sizeof(zend_object_handle));
-   memcpy(func_name + func_name_len, 
Z_OBJ_HANDLE_P(obj_ptr), sizeof(zend_object_handle));
+   lc_name = erealloc(lc_name, func_name_len + 2 + 
sizeof(zend_object_handle));
+   memcpy(lc_name + func_name_len, 
Z_OBJ_HANDLE_P(obj_ptr), sizeof(zend_object_handle));
func_name_len += sizeof(zend_object_handle);
-   func_name[func_name_len] = '\0';
- 

[PHP-CVS] cvs: php-src(PHP_5_3) / NEWS configure.in /main php_version.h

2009-06-29 Thread Johannes Schlüter
johannesMon Jun 29 16:33:25 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-srcNEWS configure.in 
/php-src/main   php_version.h 
  Log:
  Back to -dev
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.655r2=1.2027.2.547.2.965.2.656diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.655 
php-src/NEWS:1.2027.2.547.2.965.2.656
--- php-src/NEWS:1.2027.2.547.2.965.2.655   Fri Jun 26 22:18:30 2009
+++ php-src/NEWSMon Jun 29 16:33:24 2009
@@ -1,5 +1,8 @@
 PHPNEWS
 |||
+?? ??? 2009, PHP 5.3.1
+
+
 30 Jun 2009, PHP 5.3.0
 - Upgraded bundled PCRE to version 7.9. (Nuno)
 - Upgraded bundled sqlite to version 3.6.15. (Scott)
http://cvs.php.net/viewvc.cgi/php-src/configure.in?r1=1.579.2.52.2.77.2.58r2=1.579.2.52.2.77.2.59diff_format=u
Index: php-src/configure.in
diff -u php-src/configure.in:1.579.2.52.2.77.2.58 
php-src/configure.in:1.579.2.52.2.77.2.59
--- php-src/configure.in:1.579.2.52.2.77.2.58   Fri Jun 26 15:44:18 2009
+++ php-src/configure.inMon Jun 29 16:33:24 2009
@@ -1,4 +1,4 @@
-## $Id: configure.in,v 1.579.2.52.2.77.2.58 2009/06/26 15:44:18 johannes Exp $ 
-*- autoconf -*-
+## $Id: configure.in,v 1.579.2.52.2.77.2.59 2009/06/29 16:33:24 johannes Exp $ 
-*- autoconf -*-
 dnl ## Process this file with autoconf to produce a configure script.
 
 divert(1)
@@ -41,8 +41,8 @@
 
 PHP_MAJOR_VERSION=5
 PHP_MINOR_VERSION=3
-PHP_RELEASE_VERSION=0
-PHP_EXTRA_VERSION=
+PHP_RELEASE_VERSION=1
+PHP_EXTRA_VERSION=-dev
 
PHP_VERSION=$PHP_MAJOR_VERSION.$PHP_MINOR_VERSION.$PHP_RELEASE_VERSION$PHP_EXTRA_VERSION
 PHP_VERSION_ID=`expr [$]PHP_MAJOR_VERSION \* 1 + [$]PHP_MINOR_VERSION \* 
100 + [$]PHP_RELEASE_VERSION`
 
http://cvs.php.net/viewvc.cgi/php-src/main/php_version.h?r1=1.112.2.37.2.50.2.18r2=1.112.2.37.2.50.2.19diff_format=u
Index: php-src/main/php_version.h
diff -u php-src/main/php_version.h:1.112.2.37.2.50.2.18 
php-src/main/php_version.h:1.112.2.37.2.50.2.19
--- php-src/main/php_version.h:1.112.2.37.2.50.2.18 Fri Jun 26 15:44:19 2009
+++ php-src/main/php_version.h  Mon Jun 29 16:33:25 2009
@@ -2,7 +2,7 @@
 /* edit configure.in to change version number */
 #define PHP_MAJOR_VERSION 5
 #define PHP_MINOR_VERSION 3
-#define PHP_RELEASE_VERSION 0
-#define PHP_EXTRA_VERSION 
-#define PHP_VERSION 5.3.0
-#define PHP_VERSION_ID 50300
+#define PHP_RELEASE_VERSION 1
+#define PHP_EXTRA_VERSION -dev
+#define PHP_VERSION 5.3.1-dev
+#define PHP_VERSION_ID 50301



-- 
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

2009-06-26 Thread Johannes Schlüter
johannesFri Jun 26 08:12:14 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-srcNEWS 
  Log:
  Merge 5.3.0 NEWS
  http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.649r2=1.2027.2.547.2.965.2.650diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.649 
php-src/NEWS:1.2027.2.547.2.965.2.650
--- php-src/NEWS:1.2027.2.547.2.965.2.649   Thu Jun 25 16:16:08 2009
+++ php-src/NEWSFri Jun 26 08:12:13 2009
@@ -1,232 +1,34 @@
 PHPNEWS
 |||
-?? ??? 2009, PHP 5.3.0 RC 5
-- Fixed slightly unclear message in generation of phar.phar. (Greg+others)
-- Fixed memory leak in json_decode() when depth is less than 0. (Felipe)
-
-- Fixed bug #48696 (ldap_read() segfaults with invalid parameters). (Felipe)
-- Fixed bug #48643 (String functions memory issue). (Dmitry)
-- Fixed bug #48641 (tmpfile() uses old parameter parsing).
-  (crrodriguez at opensuse dot org)
-- Fixed bug #48624 (.user.ini never gets parsed). (Pierre)
-- Fixed bug #48620 (X-PHP-Originating-Script assumes no trailing CRLF in
-  existing headers). (Ilia)
-- Fixed bug #48215 (Calling a method with the same name as the parent class
-  calls the constructor). (Scott)
-
-18 Jun 2009, PHP 5.3.0 RC 4
+30 Jun 2009, PHP 5.3.0 RC 4
+- Upgraded bundled PCRE to version 7.9. (Nuno)
 - Upgraded bundled sqlite to version 3.6.15. (Scott)
 
-- Added phar.phar generation for Windows. (Greg)
-- Added ACL Cache support on Windows.
-  (Kanwaljeet Singla, Pierre, Venkat Raman Don)
-- Added compatibility mode in GD, imagerotate, image(filled)ellipse 
-  imagefilter, imageconvolution and imagecolormatch are now always enabled.
-  (Pierre)
-
-- Fixed readlink on Windows in thread safe SAPI (apache2.x etc.). (Pierre)
 
-- Fixed bug #48578 (Can't build 5.3 on FBSD 4.11). (Rasmus)
-- Fixed bug #48541 (spl_autoload_register only registers first closure, then
-  leaks the others). (Greg)
-- Fixed bug #48535 (file_exists returns false when impersonate is used).
-  (Kanwaljeet Singla, Venkat Raman Don)
-- Fixed bug #48533 (__callStatic is not invoked for private/protected methods).
-  (Felipe)
-- Fixed bug #47767 (include_once does not resolve windows symlinks or 
junctions)
-  (Kanwaljeet Singla, Venkat Raman Don)
-- Fixed bug #47318 (UMR when trying to activate user config). (Pierre)
+- Moved extensions to PECL (Derick, Lukas, Pierre, Scott):
+  . ext/dbase
+  . ext/fbsql
+  . ext/fdf
+  . ext/ncurses
+  . ext/mhsh (BC layer is now entirely within ext/hash)
+  . ext/ming
+  . ext/msql
+  . ext/sybase (not maintained anymore, sybase_ct has to be used instead)
 
-11 Jun 2009, PHP 5.3.0 RC 3
-- Upgraded bundled sqlite to version 3.6.14.2. (Scott, Ilia)
-- Upgraded bundled libmagic to 5.03 in the fileinfo extension. (Scott)
 
+- Removed the experimental RPL (master/slave) functions from mysqli. (Andrey)
+- Removed zend.ze1_compatibility_mode. (Dmitry)
 - Removed all zend_extension_* php.ini directives. Zend extensions are now
   always loaded using zend_extension directive. (Derick)
+- Removed special treatment of /tmp in sessions for open_basedir.
+  Note: This undocumented behaviour was introduced in 5.2.2. (Alexey)
+- Removed shebang line check from CGI sapi (checked by scanner). (Dmitry)
 
-- Changed SQLite3::loadExtension() to be disabled for threaded SAPIs. (Scott)
-
-- Added constants based on Windows' GetVersionEx information. 
-  PHP_WINDOWS_VERSION_* and PHP_WINDOWS_NT_*. (Pierre)
-- Added the ability for json_decode() to take a user specified depth. (Scott)
-- Added support for the mysql_stmt_next_result() function from libmysql.
-  (Andrey)
-- Added support for ACL (is_writable, is_readable, reports now correct results)
-  on Windows. (Pierre, Venkat Raman Don, Kanwaljeet Singla)
-
-- Fixed bug #48493 (spl_autoload_register() doesn't work correctly when
-  prepending functions). (Scott)
-- Fixed bug #48257 (PharData throws exception with non-phar tar). (Greg)
-- Fixed bug #48227 (NumberFormatter::format leaks memory). (Felipe)
-- Fixed bug #48200 (compile failure with mbstring.c when 
-  --enable-zend-multibyte is used). (Jani)
-- Fixed bug #48188 (Cannot execute a scrollable cursors twice with
-  PDO_PGSQL). (Matteo)
-- Fixed bug #41874 (separate STDOUT and STDERR in exec functions).
-  (Kanwaljeet Singla, Venkat Raman Don, Pierre)
-- Fixed bug #38802 (max_redirects and ignore_errors).
-  (patch by datib...@php.net)
-- Fixed isset() on phar sub-directories (isset($phar[blah]) if
-  file blah/foo.php exists in the phar archive). (Greg)
-- Fixed security vulnerability in phar's handling of long tar filenames. (Greg)
-- Fixed potential segfault with converting phars containing metadata to other
-  formats. (Greg)
-
-
-07 May 2009, PHP 5.3.0 RC 2
-- Upgraded bundled sqlite to version 3.6.13. (Ilia)
-- Upgraded bundled PCRE to version 7.9. (Nuno)
-- 

[PHP-CVS] cvs: php-src(PHP_5_3) / NEWS

2009-06-26 Thread Pierre-Alain Joye
pajoye  Fri Jun 26 08:48:37 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-srcNEWS 
  Log:
  - some updates, typos, missing entries
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.650r2=1.2027.2.547.2.965.2.651diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.650 
php-src/NEWS:1.2027.2.547.2.965.2.651
--- php-src/NEWS:1.2027.2.547.2.965.2.650   Fri Jun 26 08:12:13 2009
+++ php-src/NEWSFri Jun 26 08:48:36 2009
@@ -10,7 +10,7 @@
   . ext/fbsql
   . ext/fdf
   . ext/ncurses
-  . ext/mhsh (BC layer is now entirely within ext/hash)
+  . ext/mhash (BC layer is now entirely within ext/hash)
   . ext/ming
   . ext/msql
   . ext/sybase (not maintained anymore, sybase_ct has to be used instead)
@@ -124,6 +124,8 @@
 value. (Hannes)
 
 - Improved Windows support:
+  . Update all libraries to their latest stable version. (Pierre, Rob, Liz, 
+Garrett).
   . Addes Windows support for stat(), touch(), filemtime(), filesize() and
 related functions. (Pierre)
   . Re-added socket_create_pair() for Windows in sockets extension. (Kalle)
@@ -140,8 +142,14 @@
 (Pierre)
   . Added support for symlink(), readlink(), linkinfo() and link() on Windows.
 They are available only when the running platform supports them. (Pierre)
+  . the GMP extension now relies on MPIR instead of the GMP library. (Pierre)
   . Added Windows support for stream_socket_pair(). (Kalle)
-
+  . Drop all external dependencies for the core features. (Pierre)
+  . Drastically improve the build procedure (Pierre, Kalle, Rob):
+. VC9 (visual c++ 2008) or later support
+. Initial experimental x64 support
+  . MSI installer now supports all recent windows, incl. Win7. 
+(John, Kanwaljeet Singla)
 
 - Improved and cleaned CGI code:
   . FastCGI is now always enabled and can not be disabled.
@@ -200,6 +208,8 @@
   . Fixed PECL bug #12431 (OCI8 ping functionality is broken).
   . Allow building (e.g from PECL) the PHP 5.3-based OCI8 code with
 PHP 4.3.9 onwards.
+  . Provide separate extensions for Oracle 11g and 10g on Windows.
+(Pierre, Chris)
 
 - Improved OpenSSL extension:
   . Added support for OpenSSL digest and cipher functions. (Dmitry)
@@ -312,7 +322,9 @@
 DateInterval on each iteration, up to an end date or limited by maximum
 number of occurences.
 
-
+- Added compatibility mode in GD, imagerotate, image(filled)ellipse 
+  imagefilter, imageconvolution and imagecolormatch are now always enabled.
+  (Pierre)
 - Added array_replace() and array_replace_recursive() functions. (Matt)
 - Added ReflectionProperty::setAccessible() method that allows non-public
   property's values to be read through ::getValue() and set through



-- 
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

2009-06-26 Thread Johannes Schlüter
johannesFri Jun 26 09:32:54 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-srcNEWS 
  Log:
  Fix the version number there
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.651r2=1.2027.2.547.2.965.2.652diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.651 
php-src/NEWS:1.2027.2.547.2.965.2.652
--- php-src/NEWS:1.2027.2.547.2.965.2.651   Fri Jun 26 08:48:36 2009
+++ php-src/NEWSFri Jun 26 09:32:54 2009
@@ -1,6 +1,6 @@
 PHPNEWS
 |||
-30 Jun 2009, PHP 5.3.0 RC 4
+30 Jun 2009, PHP 5.3.0
 - Upgraded bundled PCRE to version 7.9. (Nuno)
 - Upgraded bundled sqlite to version 3.6.15. (Scott)
 



-- 
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

2009-06-26 Thread Matt Wilmas
mattwil Fri Jun 26 12:24:21 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-srcNEWS 
  Log:
  Typo, capitalization, wording
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.652r2=1.2027.2.547.2.965.2.653diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.652 
php-src/NEWS:1.2027.2.547.2.965.2.653
--- php-src/NEWS:1.2027.2.547.2.965.2.652   Fri Jun 26 09:32:54 2009
+++ php-src/NEWSFri Jun 26 12:24:20 2009
@@ -126,7 +126,7 @@
 - Improved Windows support:
   . Update all libraries to their latest stable version. (Pierre, Rob, Liz, 
 Garrett).
-  . Addes Windows support for stat(), touch(), filemtime(), filesize() and
+  . Added Windows support for stat(), touch(), filemtime(), filesize() and
 related functions. (Pierre)
   . Re-added socket_create_pair() for Windows in sockets extension. (Kalle)
   . Added inet_pton() and inet_ntop() also for Windows platforms. (Kalle)
@@ -146,13 +146,13 @@
   . Added Windows support for stream_socket_pair(). (Kalle)
   . Drop all external dependencies for the core features. (Pierre)
   . Drastically improve the build procedure (Pierre, Kalle, Rob):
-. VC9 (visual c++ 2008) or later support
+. VC9 (Visual C++ 2008) or later support
 . Initial experimental x64 support
-  . MSI installer now supports all recent windows, incl. Win7. 
-(John, Kanwaljeet Singla)
+  . MSI installer now supports all recent Windows versions, including
+Windows 7. (John, Kanwaljeet Singla)
 
 - Improved and cleaned CGI code:
-  . FastCGI is now always enabled and can not be disabled.
+  . FastCGI is now always enabled and cannot be disabled.
 See sapi/cgi/CHANGES for more details. (Dmitry)
   . Added CGI SAPI -T option which can be used to measure execution
 time of script repeated several times. (Dmitry)



-- 
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

2009-06-26 Thread Kalle Sommer Nielsen
kalle   Fri Jun 26 20:39:37 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-srcNEWS 
  Log:
  Seems like this wasn't merged, re-add credit for Pierre here
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.653r2=1.2027.2.547.2.965.2.654diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.653 
php-src/NEWS:1.2027.2.547.2.965.2.654
--- php-src/NEWS:1.2027.2.547.2.965.2.653   Fri Jun 26 12:24:20 2009
+++ php-src/NEWSFri Jun 26 20:39:36 2009
@@ -1,4 +1,4 @@
-PHPNEWS
+PHP
NEWS
 |||
 30 Jun 2009, PHP 5.3.0
 - Upgraded bundled PCRE to version 7.9. (Nuno)
@@ -129,8 +129,9 @@
   . Added Windows support for stat(), touch(), filemtime(), filesize() and
 related functions. (Pierre)
   . Re-added socket_create_pair() for Windows in sockets extension. (Kalle)
-  . Added inet_pton() and inet_ntop() also for Windows platforms. (Kalle)
-  . Added mcrypt_create_iv() also for Windows platforms. (Pierre)
+  . Added inet_pton() and inet_ntop() also for Windows platforms. 
+(Kalle, Pierre)
+  . Added mcrypt_create_iv() for Windows platforms. (Pierre)
   . Added ACL Cache support on Windows.
 (Kanwaljeet Singla, Pierre, Venkat Raman Don)
   . Added constants based on Windows' GetVersionEx information. 



-- 
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

2009-06-26 Thread Jani Taskinen
janiFri Jun 26 22:18:31 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-srcNEWS 
  Log:
  - clean
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.654r2=1.2027.2.547.2.965.2.655diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.654 
php-src/NEWS:1.2027.2.547.2.965.2.655
--- php-src/NEWS:1.2027.2.547.2.965.2.654   Fri Jun 26 20:39:36 2009
+++ php-src/NEWSFri Jun 26 22:18:30 2009
@@ -1,10 +1,9 @@
-PHP
NEWS
+PHPNEWS
 |||
 30 Jun 2009, PHP 5.3.0
 - Upgraded bundled PCRE to version 7.9. (Nuno)
 - Upgraded bundled sqlite to version 3.6.15. (Scott)
 
-
 - Moved extensions to PECL (Derick, Lukas, Pierre, Scott):
   . ext/dbase
   . ext/fbsql
@@ -15,7 +14,6 @@
   . ext/msql
   . ext/sybase (not maintained anymore, sybase_ct has to be used instead)
 
-
 - Removed the experimental RPL (master/slave) functions from mysqli. (Andrey)
 - Removed zend.ze1_compatibility_mode. (Dmitry)
 - Removed all zend_extension_* php.ini directives. Zend extensions are now
@@ -24,7 +22,6 @@
   Note: This undocumented behaviour was introduced in 5.2.2. (Alexey)
 - Removed shebang line check from CGI sapi (checked by scanner). (Dmitry)
 
-
 - Changed PCRE, Reflection and SPL extensions to be always enabled. (Marcus)
 - Changed md5() to use improved implementation. (Solar Designer, Dmitry)
 - Changed HTTP stream wrapper to accept any code between and including
@@ -50,7 +47,6 @@
   accessibility (like method_exists()). (Felipe)
 - Changed array_reduce() to allow mixed $initial (Christian Seiler)
 
-
 - Improved PHP syntax and semantics:
   . Added lambda functions and closures. (Christian Seiler, Dmitry)
   . Added jump label operator (limited goto). (Dmitry, Sara)
@@ -167,11 +163,11 @@
   . Added ability to use stream wrappers in include_path. (Gregory, Dmitry)
 
 - Improved DNS API
- . Added Windows support for dns_check_record(), dns_get_mx(), checkdnsrr() and
-   getmxrr(). (Pierre)
- . Added support for old style DNS functions (supports OSX and FBSD). (Scott)
- . Added a new entries array in dns_check_record() containing the TXT
-   elements. (Felipe, Pierre)
+  . Added Windows support for dns_check_record(), dns_get_mx(), checkdnsrr() 
and
+getmxrr(). (Pierre)
+  . Added support for old style DNS functions (supports OSX and FBSD). (Scott)
+  . Added a new entries array in dns_check_record() containing the TXT
+elements. (Felipe, Pierre)
 
 - Improved hash extension:
   . Changed mhash to be a wrapper layer around the hash extension. (Scott)
@@ -267,7 +263,6 @@
 - Deprecated define_syslog_variables(). (Kalle)
 - Deprecated ereg extension. (Felipe)
 
-
 - Added new extensions:
   . Added Enchant extension as a way to access spell checkers. (Pierre)
   . Added fileinfo extension as replacement for mime_magic extension. (Derick)
@@ -409,13 +404,11 @@
 - Added pixelation support in imagefilter(). (Takeshi Abe, Kalle)
 - Added SplObjectStorage::addAll/removeAll. (Etienne)
 
-
 - Implemented FR #41712 (curl progress callback: CURLOPT_PROGRESSFUNCTION).
   (sdteffen[at]gmail[dot].com, Pierre)
 - Implemented FR #47739 (Missing cURL option do disable IPv6). (Pierre)
 - Implemented FR #39637 (Missing cURL option CURLOPT_FTP_FILEMETHOD). (Pierre)
 
-
 - Fixed an issue with ReflectionProperty::setAccessible().
   (Sebastian, Roman Borschel)
 - Fixed html_entity_decode() incorrectly converting numeric html entities
@@ -432,7 +425,6 @@
 - Fixed check in recode extension to allow builing of recode and mysql
   extensions when using a recent libmysql. (Johannes)
 
-
 - Fixed PECL bug #12794 (PDOStatement-nextRowset() doesn't work). (Johannes)
 - Fixed PECL bug #12401 (Add support for ATTR_FETCH_TABLE_NAMES). (Johannes)
 



-- 
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) / NEWS /ext/phar/phar pharcommand.inc

2009-06-25 Thread Lukas Kahwe Smith


On 25.06.2009, at 00:12, Greg Beaver wrote:


cellog  Wed Jun 24 22:12:47 2009 UTC

 Modified files:  (Branch: PHP_5_3)
   /php-src NEWS
   /php-src/ext/phar/phar   pharcommand.inc
 Log:
 fix slightly unclear error message in generation of phar.phar



This doesnt need to be merged to HEAD?

regards,
Lukas Kahwe Smith
m...@pooteeweet.org




--
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) / NEWS /ext/phar/phar pharcommand.inc

2009-06-25 Thread Greg Beaver
Lukas Kahwe Smith wrote:
 
 On 25.06.2009, at 00:12, Greg Beaver wrote:
 
 cellogWed Jun 24 22:12:47 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-srcNEWS
/php-src/ext/phar/pharpharcommand.inc
  Log:
  fix slightly unclear error message in generation of phar.phar
 
 
 This doesnt need to be merged to HEAD?

Hi,

It was merged to HEAD here http://news.php.net/php.cvs/58971

Thanks,
Greg

-- 
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

2009-06-25 Thread Felipe Pena
felipe  Thu Jun 25 16:16:09 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-srcNEWS 
  Log:
  - BFN #48696
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.648r2=1.2027.2.547.2.965.2.649diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.648 
php-src/NEWS:1.2027.2.547.2.965.2.649
--- php-src/NEWS:1.2027.2.547.2.965.2.648   Wed Jun 24 22:12:47 2009
+++ php-src/NEWSThu Jun 25 16:16:08 2009
@@ -4,6 +4,7 @@
 - Fixed slightly unclear message in generation of phar.phar. (Greg+others)
 - Fixed memory leak in json_decode() when depth is less than 0. (Felipe)
 
+- Fixed bug #48696 (ldap_read() segfaults with invalid parameters). (Felipe)
 - Fixed bug #48643 (String functions memory issue). (Dmitry)
 - Fixed bug #48641 (tmpfile() uses old parameter parsing).
   (crrodriguez at opensuse dot org)



-- 
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/spl spl_directory.c

2009-06-24 Thread Dmitry Stogov
dmitry  Wed Jun 24 08:53:18 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-srcNEWS 
/php-src/ext/splspl_directory.c 
  Log:
  Fixed bug #48643 (String functions memory issue)
  
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.645r2=1.2027.2.547.2.965.2.646diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.645 
php-src/NEWS:1.2027.2.547.2.965.2.646
--- php-src/NEWS:1.2027.2.547.2.965.2.645   Tue Jun 23 06:56:45 2009
+++ php-src/NEWSWed Jun 24 08:53:17 2009
@@ -1,6 +1,7 @@
-PHP
NEWS
+PHPNEWS
 |||
 ?? ??? 2009, PHP 5.3.0 RC 5
+- Fixed bug #48643 (String functions memory issue). (Dmitry)
 - Fixed bug #48641 (tmpfile() uses old parameter parsing).
   (crrodriguez at opensuse dot org)
 - Fixed bug #48624 (.user.ini never gets parsed). (Pierre)
http://cvs.php.net/viewvc.cgi/php-src/ext/spl/spl_directory.c?r1=1.45.2.27.2.23.2.43r2=1.45.2.27.2.23.2.44diff_format=u
Index: php-src/ext/spl/spl_directory.c
diff -u php-src/ext/spl/spl_directory.c:1.45.2.27.2.23.2.43 
php-src/ext/spl/spl_directory.c:1.45.2.27.2.23.2.44
--- php-src/ext/spl/spl_directory.c:1.45.2.27.2.23.2.43 Thu Jun  4 14:46:26 2009
+++ php-src/ext/spl/spl_directory.c Wed Jun 24 08:53:18 2009
@@ -16,7 +16,7 @@
+--+
  */
 
-/* $Id: spl_directory.c,v 1.45.2.27.2.23.2.43 2009/06/04 14:46:26 colder Exp $ 
*/
+/* $Id: spl_directory.c,v 1.45.2.27.2.23.2.44 2009/06/24 08:53:18 dmitry Exp $ 
*/
 
 #ifdef HAVE_CONFIG_H
 # include config.h
@@ -1604,13 +1604,34 @@
switch (intern-type) {
case SPL_FS_INFO:
case SPL_FS_FILE:
-   ZVAL_STRINGL(writeobj, intern-file_name, 
intern-file_name_len, 1);
+   if (readobj == writeobj) {
+   zval retval;
+   zval *retval_ptr = retval;
+
+   ZVAL_STRINGL(retval_ptr, intern-file_name, 
intern-file_name_len, 1);
+   zval_dtor(readobj);
+   ZVAL_ZVAL(writeobj, retval_ptr, 0, 0);
+   } else {
+   ZVAL_STRINGL(writeobj, intern-file_name, 
intern-file_name_len, 1);
+   }
return SUCCESS;
case SPL_FS_DIR:
-   ZVAL_STRING(writeobj, intern-u.dir.entry.d_name, 1);
+   if (readobj == writeobj) {
+   zval retval;
+   zval *retval_ptr = retval;
+
+   ZVAL_STRING(retval_ptr, 
intern-u.dir.entry.d_name, 1);
+   zval_dtor(readobj);
+   ZVAL_ZVAL(writeobj, retval_ptr, 0, 0);
+   } else {
+   ZVAL_STRING(writeobj, 
intern-u.dir.entry.d_name, 1);
+   }
return SUCCESS;
}
}
+   if (readobj == writeobj) {
+   zval_dtor(readobj);
+   }
ZVAL_NULL(writeobj);
return FAILURE;
 }



-- 
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

2009-06-24 Thread Felipe Pena
felipe  Wed Jun 24 17:43:10 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-srcNEWS 
  Log:
  BFN
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.646r2=1.2027.2.547.2.965.2.647diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.646 
php-src/NEWS:1.2027.2.547.2.965.2.647
--- php-src/NEWS:1.2027.2.547.2.965.2.646   Wed Jun 24 08:53:17 2009
+++ php-src/NEWSWed Jun 24 17:43:09 2009
@@ -1,6 +1,8 @@
 PHPNEWS
 |||
 ?? ??? 2009, PHP 5.3.0 RC 5
+- Fixed memory leak in json_decode() when depth is less than 0. (Felipe)
+
 - Fixed bug #48643 (String functions memory issue). (Dmitry)
 - Fixed bug #48641 (tmpfile() uses old parameter parsing).
   (crrodriguez at opensuse dot org)



-- 
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/phar/phar pharcommand.inc

2009-06-24 Thread Greg Beaver
cellog  Wed Jun 24 22:12:47 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-srcNEWS 
/php-src/ext/phar/phar  pharcommand.inc 
  Log:
  fix slightly unclear error message in generation of phar.phar
  
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.647r2=1.2027.2.547.2.965.2.648diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.647 
php-src/NEWS:1.2027.2.547.2.965.2.648
--- php-src/NEWS:1.2027.2.547.2.965.2.647   Wed Jun 24 17:43:09 2009
+++ php-src/NEWSWed Jun 24 22:12:47 2009
@@ -1,6 +1,7 @@
 PHPNEWS
 |||
 ?? ??? 2009, PHP 5.3.0 RC 5
+- Fixed slightly unclear message in generation of phar.phar. (Greg+others)
 - Fixed memory leak in json_decode() when depth is less than 0. (Felipe)
 
 - Fixed bug #48643 (String functions memory issue). (Dmitry)
http://cvs.php.net/viewvc.cgi/php-src/ext/phar/phar/pharcommand.inc?r1=1.49.2.15r2=1.49.2.16diff_format=u
Index: php-src/ext/phar/phar/pharcommand.inc
diff -u php-src/ext/phar/phar/pharcommand.inc:1.49.2.15 
php-src/ext/phar/phar/pharcommand.inc:1.49.2.16
--- php-src/ext/phar/phar/pharcommand.inc:1.49.2.15 Thu Jun  4 12:22:32 2009
+++ php-src/ext/phar/phar/pharcommand.inc   Wed Jun 24 22:12:47 2009
@@ -210,16 +210,28 @@
 */
static function cli_arg_typ_loader($arg, $cfg, $key)
{
-   if (($arg == '0' || $arg == '1')  !file_exists($arg)) {
+   if (($arg == '0' || $arg == '1')  !file_exists($arg)  
substr(PHP_OS, 0, 3) != 'WIN') {
$found = NULL;
-   $apiver = `pear -q info PHP_Archive 2/dev/null|grep 
'API Version'`;
-   $apiver = trim(substr($apiver, strlen('API Version')));
+   $apiver = false;
+   $path = explode(PATH_SEPARATOR, $_ENV['PATH']);
+   $pear = false;
+   foreach ($path as $component) {
+   if (file_exists($component . 
DIRECTORY_SEPARATOR . 'pear')
+is_executable($component . 
DIRECTORY_SEPARATOR . 'pear')) {
+   $pear = true;
+   break;
+   }
+   }
+   if ($pear) {
+   $apiver = `pear -q info PHP_Archive 
2/dev/null|grep 'API Version'`;
+   $apiver = trim(substr($apiver, strlen('API 
Version')));
+   }
if ($apiver) {
-   self::notice(Pear package PHP_Archive: API 
Version: $apiver.\n);
+   self::notice(PEAR package PHP_Archive: API 
Version: $apiver.\n);
$files  = explode(\n, `pear list-files 
PHP_Archive`);
$phpdir = `pear config-get php_dir 2/dev/null`;
$phpdir = trim($phpdir);
-   self::notice(Pear package PHP_Archive: 
$phpdir.\n);
+   self::notice(PEAR package PHP_Archive: 
$phpdir.\n);
if (is_dir($phpdir)) {
foreach($files as $ent) {
$matches = NULL;
@@ -234,13 +246,13 @@
}
}
} else {
-   self::notice(Pear package PHP_Archive: 
corrupt or inaccessible base dir: $php_dir.\n);
+   self::notice(PEAR package PHP_Archive: 
corrupt or inaccessible base dir: $php_dir.\n);
}
}
if (isset($found)) {
-   self::notice(Pear package PHP_Archive: 
$found.\n);
+   self::notice(PEAR package PHP_Archive: 
$found.\n);
} else {
-   $msg = Pear package PHP_Archive or Archive.php 
class file not found.\n;
+   $msg = PEAR package PHP_Archive not installed: 
generated phar will require PHP's phar extension be enabled.\n;
if ($arg == '0') {
self::notice($msg);
} else {
@@ -1554,7 +1566,7 @@
$use_ext = extension_loaded('phar');
$version = array(
'PHP Version' = phpversion(),
-   'phar.phar version' = '$Revision: 1.49.2.15 $',
+   'phar.phar version' = '$Revision: 1.49.2.16 $',
'Phar EXT 

[PHP-CVS] cvs: php-src(PHP_5_3) / NEWS /ext/standard config.w32 /win32/build config.w32.h.in

2009-06-23 Thread Kalle Sommer Nielsen
kalle   Tue Jun 23 06:56:45 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-srcNEWS 
/php-src/ext/standard   config.w32 
/php-src/win32/buildconfig.w32.h.in 
  Log:
  MFH: Move these defines to config.w32.h
  
  Also credit Pierre for the inet_ntop()/inet_pton() implementations
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.644r2=1.2027.2.547.2.965.2.645diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.644 
php-src/NEWS:1.2027.2.547.2.965.2.645
--- php-src/NEWS:1.2027.2.547.2.965.2.644   Mon Jun 22 22:14:37 2009
+++ php-src/NEWSTue Jun 23 06:56:45 2009
@@ -1,4 +1,4 @@
-PHPNEWS
+PHP
NEWS
 |||
 ?? ??? 2009, PHP 5.3.0 RC 5
 - Fixed bug #48641 (tmpfile() uses old parameter parsing).
@@ -744,7 +744,7 @@
 - Added PREG_BAD_UTF8_OFFSET_ERROR constant. (Nuno)
 - Added native support for asinh(), acosh(), atanh(), log1p() and expm1().
   (Kalle)
-- Added inet_pton() and inet_ntop() also for Windows platforms. (Kalle)
+- Added inet_pton() and inet_ntop() also for Windows platforms. (Kalle, Pierre)
 - Added mcrypt_create_iv() also for Windows platforms. (Pierre)
 
 - Fixed html_entity_decode() incorrectly converting numeric html entities
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/config.w32?r1=1.4.2.2.2.1.2.6r2=1.4.2.2.2.1.2.7diff_format=u
Index: php-src/ext/standard/config.w32
diff -u php-src/ext/standard/config.w32:1.4.2.2.2.1.2.6 
php-src/ext/standard/config.w32:1.4.2.2.2.1.2.7
--- php-src/ext/standard/config.w32:1.4.2.2.2.1.2.6 Fri Jan 16 01:00:22 2009
+++ php-src/ext/standard/config.w32 Tue Jun 23 06:56:45 2009
@@ -1,12 +1,9 @@
 // vim:ft=javascript
-// $Id: config.w32,v 1.4.2.2.2.1.2.6 2009/01/16 01:00:22 pajoye Exp $
+// $Id: config.w32,v 1.4.2.2.2.1.2.7 2009/06/23 06:56:45 kalle Exp $
 
 ARG_WITH(config-file-scan-dir, Dir to check for additional php ini files, 
);
 
 AC_DEFINE(PHP_CONFIG_FILE_SCAN_DIR, PHP_CONFIG_FILE_SCAN_DIR);
-AC_DEFINE(HAVE_INET_PTON, 1);
-AC_DEFINE(HAVE_INET_NTOP, 1);
-
 AC_DEFINE(PHP_USE_PHP_CRYPT_R, 1);
 
 CHECK_HEADER_ADD_INCLUDE(timelib_config.h, CFLAGS_STANDARD, 
ext/date/lib);
@@ -26,5 +23,5 @@
streamsfuncs.c http.c flock_compat.c, false /* never shared */);
 
 if (PHP_MBREGEX != no) {
-   CHECK_HEADER_ADD_INCLUDE(oniguruma.h, CFLAGS_STANDARD, PHP_MBREGEX + 
;ext\\mbstring\\oniguruma)   
+   CHECK_HEADER_ADD_INCLUDE(oniguruma.h, CFLAGS_STANDARD, PHP_MBREGEX 
+ ;ext\\mbstring\\oniguruma)   
 }
http://cvs.php.net/viewvc.cgi/php-src/win32/build/config.w32.h.in?r1=1.7.2.4.2.3.2.13r2=1.7.2.4.2.3.2.14diff_format=u
Index: php-src/win32/build/config.w32.h.in
diff -u php-src/win32/build/config.w32.h.in:1.7.2.4.2.3.2.13 
php-src/win32/build/config.w32.h.in:1.7.2.4.2.3.2.14
--- php-src/win32/build/config.w32.h.in:1.7.2.4.2.3.2.13Fri May 29 
08:11:36 2009
+++ php-src/win32/build/config.w32.h.in Tue Jun 23 06:56:45 2009
@@ -1,6 +1,6 @@
 /*
Build Configuration Template for Win32.
-   $Id: config.w32.h.in,v 1.7.2.4.2.3.2.13 2009/05/29 08:11:36 pajoye Exp $
+   $Id: config.w32.h.in,v 1.7.2.4.2.3.2.14 2009/06/23 06:56:45 kalle Exp $
 */
 
 /* Define the minimum supported version */
@@ -156,6 +156,10 @@
 /* Win32 support proc_open */
 #define PHP_CAN_SUPPORT_PROC_OPEN 1
 
+/* inet_ntop() / inet_pton() */
+#define HAVE_INET_PTON 1
+#define HAVE_INET_NTOP 1
+
 #define HAVE_MBLEN
 
 #undef HAVE_ATOF_ACCEPTS_NAN



-- 
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

2009-06-22 Thread Felipe Pena
felipe  Mon Jun 22 11:44:49 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-srcNEWS 
  Log:
  - BFN #48641 (I missed to add in the previous commit: patch by crrodriguez at 
opensuse dot org) :P
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.640r2=1.2027.2.547.2.965.2.641diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.640 
php-src/NEWS:1.2027.2.547.2.965.2.641
--- php-src/NEWS:1.2027.2.547.2.965.2.640   Sun Jun 21 22:38:49 2009
+++ php-src/NEWSMon Jun 22 11:44:49 2009
@@ -1,6 +1,8 @@
 PHPNEWS
 |||
 ?? ??? 2009, PHP 5.3.0 RC 5
+- Fixed bug #48641 (tmpfile() uses old parameter parsing).
+  (crrodriguez at opensuse dot org)
 - Fixed bug #48620 (X-PHP-Originating-Script assumes no trailing CRLF in
   existing headers). (Ilia)
 - Fixed bug #48555 (ImageFTBBox() differs from previous versions for texts



-- 
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

2009-06-22 Thread Takeshi Abe
tabeMon Jun 22 15:51:50 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-srcNEWS 
  Log:
  moved to PHP_5_2
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.641r2=1.2027.2.547.2.965.2.642diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.641 
php-src/NEWS:1.2027.2.547.2.965.2.642
--- php-src/NEWS:1.2027.2.547.2.965.2.641   Mon Jun 22 11:44:49 2009
+++ php-src/NEWSMon Jun 22 15:51:49 2009
@@ -5,8 +5,6 @@
   (crrodriguez at opensuse dot org)
 - Fixed bug #48620 (X-PHP-Originating-Script assumes no trailing CRLF in
   existing headers). (Ilia)
-- Fixed bug #48555 (ImageFTBBox() differs from previous versions for texts
-  with new lines) (Takeshi Abe)
 - Fixed bug #48215 (Calling a method with the same name as the parent class
   calls the constructor). (Scott)
 



-- 
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

2009-06-22 Thread Pierre-Alain Joye
pajoye  Mon Jun 22 21:39:36 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-srcNEWS 
  Log:
  - #48624
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.642r2=1.2027.2.547.2.965.2.643diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.642 
php-src/NEWS:1.2027.2.547.2.965.2.643
--- php-src/NEWS:1.2027.2.547.2.965.2.642   Mon Jun 22 15:51:49 2009
+++ php-src/NEWSMon Jun 22 21:39:36 2009
@@ -3,6 +3,7 @@
 ?? ??? 2009, PHP 5.3.0 RC 5
 - Fixed bug #48641 (tmpfile() uses old parameter parsing).
   (crrodriguez at opensuse dot org)
+- Fixed bug #48624 (.user.ini never gets parsed). (Pierre)
 - Fixed bug #48620 (X-PHP-Originating-Script assumes no trailing CRLF in
   existing headers). (Ilia)
 - Fixed bug #48215 (Calling a method with the same name as the parent class



-- 
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

2009-06-22 Thread Pierre-Alain Joye
pajoye  Mon Jun 22 22:14:38 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-srcNEWS 
  Log:
  - gd compat mode news
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.643r2=1.2027.2.547.2.965.2.644diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.643 
php-src/NEWS:1.2027.2.547.2.965.2.644
--- php-src/NEWS:1.2027.2.547.2.965.2.643   Mon Jun 22 21:39:36 2009
+++ php-src/NEWSMon Jun 22 22:14:37 2009
@@ -15,6 +15,9 @@
 - Added phar.phar generation for Windows. (Greg)
 - Added ACL Cache support on Windows.
   (Kanwaljeet Singla, Pierre, Venkat Raman Don)
+- Added compatibility mode in GD, imagerotate, image(filled)ellipse 
+  imagefilter, imageconvolution and imagecolormatch are now always enabled.
+  (Pierre)
 
 - Fixed readlink on Windows in thread safe SAPI (apache2.x etc.). (Pierre)
 



-- 
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

2009-06-21 Thread Takeshi Abe
tabeSun Jun 21 06:29:41 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-srcNEWS 
  Log:
  entry for bug #48555
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.636r2=1.2027.2.547.2.965.2.637diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.636 
php-src/NEWS:1.2027.2.547.2.965.2.637
--- php-src/NEWS:1.2027.2.547.2.965.2.636   Thu Jun 18 21:07:08 2009
+++ php-src/NEWSSun Jun 21 06:29:41 2009
@@ -1,6 +1,8 @@
 PHPNEWS
 |||
 ?? ??? 2009, PHP 5.3.0 RC 5
+- Fixed bug #48555 (ImageFTBBox() differs from previous versions for texts
+  with new lines) (Takeshi Abe)
 
 18 Jun 2009, PHP 5.3.0 RC 4
 - Upgraded bundled sqlite to version 3.6.15. (Scott)



-- 
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

2009-06-21 Thread Johannes Schlüter
johannesSun Jun 21 11:50:38 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-srcNEWS 
  Log:
  Merge in NEWS from 5.2
  http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.637r2=1.2027.2.547.2.965.2.638diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.637 
php-src/NEWS:1.2027.2.547.2.965.2.638
--- php-src/NEWS:1.2027.2.547.2.965.2.637   Sun Jun 21 06:29:41 2009
+++ php-src/NEWSSun Jun 21 11:50:37 2009
@@ -869,6 +869,853 @@
 - Fixed bug #27372 (parse error loading browscap.ini at apache startup).
   (Jani)
 
+17 Jun 2009, PHP 5.2.10
+- Updated timezone database to version 2009.9 (2009i) (Derick)
+
+- Added ignore_errors option to http fopen wrapper. (David Zulke, Sara)
+- Added new CURL options CURLOPT_REDIR_PROTOCOLS, CURLOPT_PROTOCOLS,
+  and CURLPROTO_* for redirect fixes in CURL 7.19.4. (Yoram Bar Haim, Stas)
+- Added support for Sun CC (FR #46595 and FR #46513). (David Soria Parra)
+
+- Changed default value of array_unique()'s optional sorting type parameter
+  back to SORT_STRING to fix backwards compatibility breakage introduced in 
+  PHP 5.2.9. (Moriyoshi)
+
+- Fixed memory corruptions while reading properties of zip files. (Ilia)
+- Fixed memory leak in ob_get_clean/ob_get_flush. (Christian)
+- Fixed segfault on invalid session.save_path. (Hannes)
+- Fixed leaks in imap when a mail_criteria is used. (Pierre)
+- Fixed missing erealloc() in fix for Bug #40091 in spl_autoload_register. 
(Greg)
+
+- Fixed bug #48562 (Reference recursion causes segfault when used in
+  wddx_serialize_vars()). (Felipe)
+- Fixed bug #48557 (Numeric string keys in Apache Hashmaps are not cast to
+  integers). (David Zuelke)
+- Fixed bug #48518 (curl crashes when writing into invalid file handle). (Tony)
+- Fixed bug #48514 (cURL extension uses same resource name for simple and
+  multi APIs). (Felipe)
+- Fixed bug #48469 (ldap_get_entries() leaks memory on empty search
+  results). (Patrick)
+- Fixed bug #48456 (CPPFLAGS not restored properly in phpize.m4). (Jani,
+  spisek at kerio dot com)
+- Fixed bug #48448 (Compile failure under IRIX 6.5.30 building cast.c).
+  (Kalle)
+- Fixed bug #48441 (ldap_search() sizelimit, timelimit and deref options
+  persist). (Patrick)
+- Fixed bug #48434 (Improve memory_get_usage() accuracy). (Arnaud)
+- Fixed bug #48416 (Force a cache limit in ereg() to stop excessive memory
+  usage). (Scott)
+- Fixed bug #48409 (Crash when exception is thrown while passing function
+  arguments). (Arnaud)
+- Fixed bug #48378 (exif_read_data() segfaults on certain corrupted .jpeg
+  files). (Pierre)
+- Fixed bug #48359 (Script hangs on snmprealwalk if OID is not increasing).
+  (Ilia, simonov at gmail dot com)
+- Fixed bug #48336 (ReflectionProperty::getDeclaringClass() does not work 
+  with redeclared property).
+  (patch by Markus dot Lidel at shadowconnect dot com)
+- Fixed bug #48326 (constant MSG_DONTWAIT not defined). (Arnaud)
+- Fixed bug #48313 (fgetcsv() does not return null for empty rows). (Ilia)
+- Fixed bug #48309 (stream_copy_to_stream() and fpasstru() do not update
+  stream position of plain files). (Arnaud)
+- Fixed bug #48307 (stream_copy_to_stream() copies 0 bytes when $source is a
+  socket). (Arnaud)
+- Fixed bug #48273 (snmp*_real_walk() returns SNMP errors as values).
+  (Ilia, lytboris at gmail dot com)
+- Fixed bug #48256 (Crash due to double-linking of history.o).
+  (tstarling at wikimedia dot org)
+- Fixed bug #48248 (SIGSEGV when access to private property via __get).
+  (Felipe)
+- Fixed bug #48247 (Crash on errors during startup). (Stas)
+- Fixed bug #48240 (DBA Segmentation fault dba_nextkey). (Felipe)
+- Fixed bug #48224 (Incorrect shuffle in array_rand). (Etienne)
+- Fixed bug #48221 (memory leak when passing invalid xslt parameter).
+  (Felipe)
+- Fixed bug #48207 (CURLOPT_(FILE|WRITEHEADER options do not error out when
+  working with a non-writable stream). (Ilia)
+- Fixed bug #48206 (Iterating over an invalid data structure with
+  RecursiveIteratorIterator leads to a segfault). (Scott)
+- Fixed bug #48204 (xmlwriter_open_uri() does not emit warnings on invalid
+  paths). (Ilia)
+- Fixed bug #48203 (Crash when CURLOPT_STDERR is set to regular file). (Jani)
+- Fixed bug #48202 (Out of Memory error message when passing invalid file
+  path) (Pierre)
+- Fixed bug #48156 (Added support for lcov v1.7). (Ilia)
+- Fixed bug #48132 (configure check for curl ssl support fails with
+  --disable-rpath). (Jani)
+- Fixed bug #48131 (Don't try to bind ipv4 addresses to ipv6 ips via bindto).
+  (Ilia)
+- Fixed bug #48070 (PDO_OCI: Segfault when using persistent connection).
+  (Pierre, Matteo, jarismar dot php at gmail dot com)
+- Fixed bug #48058 (Year formatter goes wrong with out-of-int range). (Derick)
+- Fixed bug #48038 (odbc_execute changes variables used to form params array).
+  (Felipe)
+- Fixed bug #47997 (stream_copy_to_stream returns 1 on empty streams). (Arnaud)
+- Fixed 

[PHP-CVS] cvs: php-src(PHP_5_3) / NEWS

2009-06-21 Thread Ilia Alshanetsky
iliaa   Sun Jun 21 15:30:58 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-srcNEWS 
  Log:
  
  BFN
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.638r2=1.2027.2.547.2.965.2.639diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.638 
php-src/NEWS:1.2027.2.547.2.965.2.639
--- php-src/NEWS:1.2027.2.547.2.965.2.638   Sun Jun 21 11:50:37 2009
+++ php-src/NEWSSun Jun 21 15:30:57 2009
@@ -1,6 +1,8 @@
 PHPNEWS
 |||
 ?? ??? 2009, PHP 5.3.0 RC 5
+- Fixed bug #48620 (X-PHP-Originating-Script assumes no trailing CRLF in
+  existing headers). (Ilia)
 - Fixed bug #48555 (ImageFTBBox() differs from previous versions for texts
   with new lines) (Takeshi Abe)
 



-- 
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

2009-06-21 Thread Scott MacVicar
scottmacSun Jun 21 22:38:49 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-srcNEWS 
  Log:
  BFN - Partially fixed in RC4, fixed properly in the next release.
  
  
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.639r2=1.2027.2.547.2.965.2.640diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.639 
php-src/NEWS:1.2027.2.547.2.965.2.640
--- php-src/NEWS:1.2027.2.547.2.965.2.639   Sun Jun 21 15:30:57 2009
+++ php-src/NEWSSun Jun 21 22:38:49 2009
@@ -5,6 +5,8 @@
   existing headers). (Ilia)
 - Fixed bug #48555 (ImageFTBBox() differs from previous versions for texts
   with new lines) (Takeshi Abe)
+- Fixed bug #48215 (Calling a method with the same name as the parent class
+  calls the constructor). (Scott)
 
 18 Jun 2009, PHP 5.3.0 RC 4
 - Upgraded bundled sqlite to version 3.6.15. (Scott)



-- 
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 configure.in /main php_version.h

2009-06-18 Thread Johannes Schlüter
johannesThu Jun 18 21:01:04 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-src/main   php_version.h 
/php-srcconfigure.in NEWS 
  Log:
  5.3.0 RC 4
  
http://cvs.php.net/viewvc.cgi/php-src/main/php_version.h?r1=1.112.2.37.2.50.2.15r2=1.112.2.37.2.50.2.16diff_format=u
Index: php-src/main/php_version.h
diff -u php-src/main/php_version.h:1.112.2.37.2.50.2.15 
php-src/main/php_version.h:1.112.2.37.2.50.2.16
--- php-src/main/php_version.h:1.112.2.37.2.50.2.15 Wed Jun 10 18:39:14 2009
+++ php-src/main/php_version.h  Thu Jun 18 21:01:02 2009
@@ -3,6 +3,6 @@
 #define PHP_MAJOR_VERSION 5
 #define PHP_MINOR_VERSION 3
 #define PHP_RELEASE_VERSION 0
-#define PHP_EXTRA_VERSION RC4-dev
-#define PHP_VERSION 5.3.0RC4-dev
+#define PHP_EXTRA_VERSION RC4
+#define PHP_VERSION 5.3.0RC4
 #define PHP_VERSION_ID 50300
http://cvs.php.net/viewvc.cgi/php-src/configure.in?r1=1.579.2.52.2.77.2.54r2=1.579.2.52.2.77.2.55diff_format=u
Index: php-src/configure.in
diff -u php-src/configure.in:1.579.2.52.2.77.2.54 
php-src/configure.in:1.579.2.52.2.77.2.55
--- php-src/configure.in:1.579.2.52.2.77.2.54   Wed Jun 10 18:39:14 2009
+++ php-src/configure.inThu Jun 18 21:01:03 2009
@@ -1,4 +1,4 @@
-## $Id: configure.in,v 1.579.2.52.2.77.2.54 2009/06/10 18:39:14 johannes Exp $ 
-*- autoconf -*-
+## $Id: configure.in,v 1.579.2.52.2.77.2.55 2009/06/18 21:01:03 johannes Exp $ 
-*- autoconf -*-
 dnl ## Process this file with autoconf to produce a configure script.
 
 divert(1)
@@ -42,7 +42,7 @@
 PHP_MAJOR_VERSION=5
 PHP_MINOR_VERSION=3
 PHP_RELEASE_VERSION=0
-PHP_EXTRA_VERSION=RC4-dev
+PHP_EXTRA_VERSION=RC4
 
PHP_VERSION=$PHP_MAJOR_VERSION.$PHP_MINOR_VERSION.$PHP_RELEASE_VERSION$PHP_EXTRA_VERSION
 PHP_VERSION_ID=`expr [$]PHP_MAJOR_VERSION \* 1 + [$]PHP_MINOR_VERSION \* 
100 + [$]PHP_RELEASE_VERSION`
 
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.634r2=1.2027.2.547.2.965.2.635diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.634 
php-src/NEWS:1.2027.2.547.2.965.2.635
--- php-src/NEWS:1.2027.2.547.2.965.2.634   Wed Jun 17 22:51:05 2009
+++ php-src/NEWSThu Jun 18 21:01:03 2009
@@ -1,6 +1,6 @@
 PHPNEWS
 |||
-?? ??? 2009, PHP 5.3.0 RC 4
+18 Jun 2009, PHP 5.3.0 RC 4
 - Upgraded bundled sqlite to version 3.6.15. (Scott)
 
 - Added phar.phar generation for Windows. (Greg)



-- 
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 configure.in /main php_version.h

2009-06-18 Thread Johannes Schlüter
johannesThu Jun 18 21:07:08 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-src/main   php_version.h 
/php-srcconfigure.in NEWS 
  Log:
  Back to dev
  
http://cvs.php.net/viewvc.cgi/php-src/main/php_version.h?r1=1.112.2.37.2.50.2.16r2=1.112.2.37.2.50.2.17diff_format=u
Index: php-src/main/php_version.h
diff -u php-src/main/php_version.h:1.112.2.37.2.50.2.16 
php-src/main/php_version.h:1.112.2.37.2.50.2.17
--- php-src/main/php_version.h:1.112.2.37.2.50.2.16 Thu Jun 18 21:01:02 2009
+++ php-src/main/php_version.h  Thu Jun 18 21:07:08 2009
@@ -3,6 +3,6 @@
 #define PHP_MAJOR_VERSION 5
 #define PHP_MINOR_VERSION 3
 #define PHP_RELEASE_VERSION 0
-#define PHP_EXTRA_VERSION RC4
-#define PHP_VERSION 5.3.0RC4
+#define PHP_EXTRA_VERSION RC5-dev
+#define PHP_VERSION 5.3.0RC5-dev
 #define PHP_VERSION_ID 50300
http://cvs.php.net/viewvc.cgi/php-src/configure.in?r1=1.579.2.52.2.77.2.55r2=1.579.2.52.2.77.2.56diff_format=u
Index: php-src/configure.in
diff -u php-src/configure.in:1.579.2.52.2.77.2.55 
php-src/configure.in:1.579.2.52.2.77.2.56
--- php-src/configure.in:1.579.2.52.2.77.2.55   Thu Jun 18 21:01:03 2009
+++ php-src/configure.inThu Jun 18 21:07:08 2009
@@ -1,4 +1,4 @@
-## $Id: configure.in,v 1.579.2.52.2.77.2.55 2009/06/18 21:01:03 johannes Exp $ 
-*- autoconf -*-
+## $Id: configure.in,v 1.579.2.52.2.77.2.56 2009/06/18 21:07:08 johannes Exp $ 
-*- autoconf -*-
 dnl ## Process this file with autoconf to produce a configure script.
 
 divert(1)
@@ -42,7 +42,7 @@
 PHP_MAJOR_VERSION=5
 PHP_MINOR_VERSION=3
 PHP_RELEASE_VERSION=0
-PHP_EXTRA_VERSION=RC4
+PHP_EXTRA_VERSION=RC5-dev
 
PHP_VERSION=$PHP_MAJOR_VERSION.$PHP_MINOR_VERSION.$PHP_RELEASE_VERSION$PHP_EXTRA_VERSION
 PHP_VERSION_ID=`expr [$]PHP_MAJOR_VERSION \* 1 + [$]PHP_MINOR_VERSION \* 
100 + [$]PHP_RELEASE_VERSION`
 
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.635r2=1.2027.2.547.2.965.2.636diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.635 
php-src/NEWS:1.2027.2.547.2.965.2.636
--- php-src/NEWS:1.2027.2.547.2.965.2.635   Thu Jun 18 21:01:03 2009
+++ php-src/NEWSThu Jun 18 21:07:08 2009
@@ -1,5 +1,7 @@
 PHPNEWS
 |||
+?? ??? 2009, PHP 5.3.0 RC 5
+
 18 Jun 2009, PHP 5.3.0 RC 4
 - Upgraded bundled sqlite to version 3.6.15. (Scott)
 



-- 
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

2009-06-17 Thread Felipe Pena
felipe  Wed Jun 17 16:22:14 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-srcNEWS 
  Log:
  BFN #48578
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.628r2=1.2027.2.547.2.965.2.629diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.628 
php-src/NEWS:1.2027.2.547.2.965.2.629
--- php-src/NEWS:1.2027.2.547.2.965.2.628   Mon Jun 15 13:41:42 2009
+++ php-src/NEWSWed Jun 17 16:22:14 2009
@@ -5,6 +5,7 @@
 
 - Added phar.phar generation for Windows. (Greg)
 
+- Fixed bug #48578 (Can't build 5.3 on FBSD 4.11). (Rasmus)
 - Fixed bug #48541 (spl_autoload_register only registers first closure, then
   leaks the others). (Greg)
 - Fixed bug #48533 (__callStatic is not invoked for private/protected methods).



-- 
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

2009-06-17 Thread Pierre-Alain Joye
pajoye  Wed Jun 17 19:40:34 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-srcNEWS 
  Log:
  - update with latest bits
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.629r2=1.2027.2.547.2.965.2.630diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.629 
php-src/NEWS:1.2027.2.547.2.965.2.630
--- php-src/NEWS:1.2027.2.547.2.965.2.629   Wed Jun 17 16:22:14 2009
+++ php-src/NEWSWed Jun 17 19:40:33 2009
@@ -1,15 +1,23 @@
-PHPNEWS
+PHP
NEWS
 |||
 ?? ??? 2009, PHP 5.3.0 RC 4
 - Upgraded bundled sqlite to version 3.6.15. (Scott)
 
 - Added phar.phar generation for Windows. (Greg)
+- Added ACL Cache support on Windows.
+  (Kanwaljeet Singla, Pierre, Venkat Raman Don)
 
 - Fixed bug #48578 (Can't build 5.3 on FBSD 4.11). (Rasmus)
 - Fixed bug #48541 (spl_autoload_register only registers first closure, then
   leaks the others). (Greg)
 - Fixed bug #48533 (__callStatic is not invoked for private/protected methods).
   (Felipe)
+- Fixed bug #47318 (UMR when trying to activate user config). (Pierre)
+- Fixed readlink on Windows in thread safe SAPI (apache2.x etc.). (Pierre)
+- Fixed bug #48535 (file_exists returns false when impersonate is used).
+  (Kanwaljeet Singla, Venkat Raman Don)
+- Fixed bug #47767 (include_once does not resolve windows symlinks or 
junctions)
+  (Kanwaljeet Singla, Venkat Raman Don)
 
 11 Jun 2009, PHP 5.3.0 RC 3
 - Upgraded bundled sqlite to version 3.6.14.2. (Scott, Ilia)



-- 
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

2009-06-17 Thread Pierre-Alain Joye
pajoye  Wed Jun 17 19:42:57 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-srcNEWS 
  Log:
  - fix NEWS (thx Felipe!)
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.630r2=1.2027.2.547.2.965.2.631diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.630 
php-src/NEWS:1.2027.2.547.2.965.2.631
--- php-src/NEWS:1.2027.2.547.2.965.2.630   Wed Jun 17 19:40:33 2009
+++ php-src/NEWSWed Jun 17 19:42:56 2009
@@ -13,11 +13,11 @@
 - Fixed bug #48533 (__callStatic is not invoked for private/protected methods).
   (Felipe)
 - Fixed bug #47318 (UMR when trying to activate user config). (Pierre)
-- Fixed readlink on Windows in thread safe SAPI (apache2.x etc.). (Pierre)
 - Fixed bug #48535 (file_exists returns false when impersonate is used).
   (Kanwaljeet Singla, Venkat Raman Don)
 - Fixed bug #47767 (include_once does not resolve windows symlinks or 
junctions)
   (Kanwaljeet Singla, Venkat Raman Don)
+- Fixed readlink on Windows in thread safe SAPI (apache2.x etc.). (Pierre)
 
 11 Jun 2009, PHP 5.3.0 RC 3
 - Upgraded bundled sqlite to version 3.6.14.2. (Scott, Ilia)



-- 
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

2009-06-17 Thread Felipe Pena
felipe  Wed Jun 17 19:55:33 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-srcNEWS 
  Log:
  - Reorder
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.631r2=1.2027.2.547.2.965.2.632diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.631 
php-src/NEWS:1.2027.2.547.2.965.2.632
--- php-src/NEWS:1.2027.2.547.2.965.2.631   Wed Jun 17 19:42:56 2009
+++ php-src/NEWSWed Jun 17 19:55:32 2009
@@ -3,6 +3,8 @@
 ?? ??? 2009, PHP 5.3.0 RC 4
 - Upgraded bundled sqlite to version 3.6.15. (Scott)
 
+- Fixed readlink on Windows in thread safe SAPI (apache2.x etc.). (Pierre)
+
 - Added phar.phar generation for Windows. (Greg)
 - Added ACL Cache support on Windows.
   (Kanwaljeet Singla, Pierre, Venkat Raman Don)
@@ -10,14 +12,13 @@
 - Fixed bug #48578 (Can't build 5.3 on FBSD 4.11). (Rasmus)
 - Fixed bug #48541 (spl_autoload_register only registers first closure, then
   leaks the others). (Greg)
-- Fixed bug #48533 (__callStatic is not invoked for private/protected methods).
-  (Felipe)
-- Fixed bug #47318 (UMR when trying to activate user config). (Pierre)
 - Fixed bug #48535 (file_exists returns false when impersonate is used).
   (Kanwaljeet Singla, Venkat Raman Don)
+- Fixed bug #48533 (__callStatic is not invoked for private/protected methods).
+  (Felipe)
 - Fixed bug #47767 (include_once does not resolve windows symlinks or 
junctions)
   (Kanwaljeet Singla, Venkat Raman Don)
-- Fixed readlink on Windows in thread safe SAPI (apache2.x etc.). (Pierre)
+- Fixed bug #47318 (UMR when trying to activate user config). (Pierre)
 
 11 Jun 2009, PHP 5.3.0 RC 3
 - Upgraded bundled sqlite to version 3.6.14.2. (Scott, Ilia)



-- 
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

2009-06-17 Thread Jani Taskinen
janiWed Jun 17 22:50:19 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-srcNEWS 
  Log:
  unfuck the file, fucked up by Pierre as usual
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.632r2=1.2027.2.547.2.965.2.633diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.632 
php-src/NEWS:1.2027.2.547.2.965.2.633
--- php-src/NEWS:1.2027.2.547.2.965.2.632   Wed Jun 17 19:55:32 2009
+++ php-src/NEWSWed Jun 17 22:50:18 2009
@@ -1,4 +1,4 @@
-PHP
NEWS
+PHPNEWS
 |||
 ?? ??? 2009, PHP 5.3.0 RC 4
 - Upgraded bundled sqlite to version 3.6.15. (Scott)



-- 
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) / NEWS

2009-06-17 Thread Pierre Joye
On Thu, Jun 18, 2009 at 12:51 AM, Jani Taskinenj...@php.net wrote:
 jani            Wed Jun 17 22:51:06 2009 UTC

  Modified files:              (Branch: PHP_5_3)
    /php-src    NEWS
  Log:
  Pierre, this can not be so hard

I followed what was in RC3, Felipe fixed and etc. etc.

-- 
Pierre

http://blog.thepimp.net | http://www.libgd.org

--
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

2009-06-17 Thread Jani Taskinen
janiWed Jun 17 22:51:06 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-srcNEWS 
  Log:
  Pierre, this can not be so hard
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.633r2=1.2027.2.547.2.965.2.634diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.633 
php-src/NEWS:1.2027.2.547.2.965.2.634
--- php-src/NEWS:1.2027.2.547.2.965.2.633   Wed Jun 17 22:50:18 2009
+++ php-src/NEWSWed Jun 17 22:51:05 2009
@@ -3,12 +3,12 @@
 ?? ??? 2009, PHP 5.3.0 RC 4
 - Upgraded bundled sqlite to version 3.6.15. (Scott)
 
-- Fixed readlink on Windows in thread safe SAPI (apache2.x etc.). (Pierre)
-
 - Added phar.phar generation for Windows. (Greg)
 - Added ACL Cache support on Windows.
   (Kanwaljeet Singla, Pierre, Venkat Raman Don)
 
+- Fixed readlink on Windows in thread safe SAPI (apache2.x etc.). (Pierre)
+
 - Fixed bug #48578 (Can't build 5.3 on FBSD 4.11). (Rasmus)
 - Fixed bug #48541 (spl_autoload_register only registers first closure, then
   leaks the others). (Greg)



-- 
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

2009-06-15 Thread Scott MacVicar
scottmacMon Jun 15 13:41:43 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-srcNEWS 
  Log:
  BFN
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.627r2=1.2027.2.547.2.965.2.628diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.627 
php-src/NEWS:1.2027.2.547.2.965.2.628
--- php-src/NEWS:1.2027.2.547.2.965.2.627   Sat Jun 13 17:34:21 2009
+++ php-src/NEWSMon Jun 15 13:41:42 2009
@@ -1,6 +1,8 @@
 PHPNEWS
 |||
 ?? ??? 2009, PHP 5.3.0 RC 4
+- Upgraded bundled sqlite to version 3.6.15. (Scott)
+
 - Added phar.phar generation for Windows. (Greg)
 
 - Fixed bug #48541 (spl_autoload_register only registers first closure, then



-- 
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

2009-06-13 Thread Greg Beaver
cellog  Sat Jun 13 16:43:05 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-srcNEWS 
  Log:
  fix criminally unclear NEWS entry by me
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.624r2=1.2027.2.547.2.965.2.625diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.624 
php-src/NEWS:1.2027.2.547.2.965.2.625
--- php-src/NEWS:1.2027.2.547.2.965.2.624   Fri Jun 12 01:05:25 2009
+++ php-src/NEWSSat Jun 13 16:43:04 2009
@@ -35,8 +35,8 @@
   (Kanwaljeet Singla, Venkat Raman Don, Pierre)
 - Fixed bug #38802 (max_redirects and ignore_errors).
   (patch by datib...@php.net)
-- Fixed isset() on sub-directories (isset(blah) if file blah/foo.php
-  exists). (Greg)
+- Fixed isset() on phar sub-directories (isset($phar[blah]) if
+  file blah/foo.php exists in the phar archive). (Greg)
 - Fixed security vulnerability in phar's handling of long tar filenames. (Greg)
 - Fixed potential segfault with converting phars containing metadata to other
   formats. (Greg)



-- 
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/spl php_spl.c /ext/spl/tests spl_autoload_bug48541.phpt

2009-06-13 Thread Greg Beaver
cellog  Sat Jun 13 17:30:50 2009 UTC

  Added files: (Branch: PHP_5_3)
/php-src/ext/spl/tests  spl_autoload_bug48541.phpt 

  Modified files:  
/php-srcNEWS 
/php-src/ext/splphp_spl.c 
  Log:
  fix Bug #48541: spl_autoload_register only registers first closure, then 
leaks the others.  Fix missing erealloc in fix for bug #40091 (PHP_5_3 only)
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.625r2=1.2027.2.547.2.965.2.626diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.625 
php-src/NEWS:1.2027.2.547.2.965.2.626
--- php-src/NEWS:1.2027.2.547.2.965.2.625   Sat Jun 13 16:43:04 2009
+++ php-src/NEWSSat Jun 13 17:30:49 2009
@@ -3,8 +3,12 @@
 ?? ??? 2009, PHP 5.3.0 RC 4
 - Added phar.phar generation for Windows. (Greg)
 
+- Fixed bug #48541 (spl_autoload_register only registers first closure, then
+  leaks the others). (Greg)
 - Fixed bug #48533 (__callStatic is not invoked for private/protected methods).
   (Felipe)
+- Fixed missing erealloc() in fix for Bug #40091 in spl_autoload_register.
+  (Greg)
 
 11 Jun 2009, PHP 5.3.0 RC 3
 - Upgraded bundled sqlite to version 3.6.14.2. (Scott, Ilia)
http://cvs.php.net/viewvc.cgi/php-src/ext/spl/php_spl.c?r1=1.52.2.28.2.17.2.37r2=1.52.2.28.2.17.2.38diff_format=u
Index: php-src/ext/spl/php_spl.c
diff -u php-src/ext/spl/php_spl.c:1.52.2.28.2.17.2.37 
php-src/ext/spl/php_spl.c:1.52.2.28.2.17.2.38
--- php-src/ext/spl/php_spl.c:1.52.2.28.2.17.2.37   Tue Jun  9 01:58:07 2009
+++ php-src/ext/spl/php_spl.c   Sat Jun 13 17:30:50 2009
@@ -16,7 +16,7 @@
+--+
  */
 
-/* $Id: php_spl.c,v 1.52.2.28.2.17.2.37 2009/06/09 01:58:07 scottmac Exp $ */
+/* $Id: php_spl.c,v 1.52.2.28.2.17.2.38 2009/06/13 17:30:50 cellog Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include config.h
@@ -497,10 +497,6 @@
alfi.ce = fcc.calling_scope;
alfi.func_ptr = fcc.function_handler;
obj_ptr = fcc.object_ptr;
-   if (Z_TYPE_P(zcallable) == IS_OBJECT) {
-   alfi.closure = zcallable;
-   Z_ADDREF_P(zcallable);
-   }
if (error) {
efree(error);
}
@@ -509,12 +505,27 @@
zend_str_tolower_copy(lc_name, func_name, func_name_len);
efree(func_name);
 
+   if (Z_TYPE_P(zcallable) == IS_OBJECT) {
+   alfi.closure = zcallable;
+   Z_ADDREF_P(zcallable);
+
+   lc_name = erealloc(lc_name, func_name_len + 2 + 
sizeof(zcallable-value.obj.handle));
+   memcpy(lc_name + func_name_len, 
(zcallable-value.obj.handle),
+   sizeof(zcallable-value.obj.handle));
+   func_name_len += sizeof(zcallable-value.obj.handle);
+   lc_name[func_name_len] = '\0';
+   }
+
if (SPL_G(autoload_functions)  
zend_hash_exists(SPL_G(autoload_functions), (char*)lc_name, func_name_len+1)) {
+   if (alfi.closure) {
+   Z_DELREF_P(zcallable);
+   }
goto skip;
}
 
if (obj_ptr  !(alfi.func_ptr-common.fn_flags  
ZEND_ACC_STATIC)) {
/* add object id to the hash to ensure uniqueness, for 
more reference look at bug #40091 */
+   lc_name = erealloc(lc_name, func_name_len + 2 + 
sizeof(zend_object_handle));
memcpy(lc_name + func_name_len, 
Z_OBJ_HANDLE_P(obj_ptr), sizeof(zend_object_handle));
func_name_len += sizeof(zend_object_handle);
lc_name[func_name_len] = '\0';

http://cvs.php.net/viewvc.cgi/php-src/ext/spl/tests/spl_autoload_bug48541.phpt?view=markuprev=1.1
Index: php-src/ext/spl/tests/spl_autoload_bug48541.phpt
+++ php-src/ext/spl/tests/spl_autoload_bug48541.phpt
--TEST--
SPL: spl_autoload_register() Bug #48541: registering multiple closures fails 
with memleaks
--FILE--
?php
$a = function ($class) {
echo a called\n;
};
$b = function ($class) {
eval('class ' . $class . '{function __construct(){echo foo\n;}}');
echo b called\n;
};
spl_autoload_register($a);
spl_autoload_register($b);

$c = $a;
spl_autoload_register($c);
$c = new foo;
?
===DONE===
--EXPECT--
a called
b called
foo
===DONE===


-- 
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

2009-06-13 Thread Greg Beaver
cellog  Sat Jun 13 17:34:22 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-srcNEWS 
  Log:
  remove missing erealloc entry that will go in php 5.2 NEWS
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.626r2=1.2027.2.547.2.965.2.627diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.626 
php-src/NEWS:1.2027.2.547.2.965.2.627
--- php-src/NEWS:1.2027.2.547.2.965.2.626   Sat Jun 13 17:30:49 2009
+++ php-src/NEWSSat Jun 13 17:34:21 2009
@@ -7,8 +7,6 @@
   leaks the others). (Greg)
 - Fixed bug #48533 (__callStatic is not invoked for private/protected methods).
   (Felipe)
-- Fixed missing erealloc() in fix for Bug #40091 in spl_autoload_register.
-  (Greg)
 
 11 Jun 2009, PHP 5.3.0 RC 3
 - Upgraded bundled sqlite to version 3.6.14.2. (Scott, Ilia)



-- 
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) / NEWS /ext/standard php_string.h string.c /ext/standard/tests/strings bug47546.phpt

2009-06-12 Thread Michael Wallner
Matt Wilmas wrote:
 Hi Dmitry, Antony,
 
 Fixed, thanks.
 

 Matt Wilmas wrote:
 mattwil Wed Apr  1 17:05:37 2009 UTC

   Removed files:   (Branch: PHP_5_3)
 /php-src/ext/standard/tests/strings bug47546.phpt
   Modified files:  /php-src NEWS /php-src/ext/standard
 php_string.h string.c Log:
   MFH: explode() stuff:
   - Fixed bug #47560 (explode()'s limit parameter odd behaviour) by
 reverting change for bug #47546 
 

In what state is this now?

php_explode() does not work as expected with limit=-1 and
php_explode_negative_limit() is not exported in php_string.h

Mike

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



[PHP-CVS] Re: [PHP-DEV] Re: [PHP-CVS] cvs: php-src(PHP_5_3) / NEWS /ext/standard php_string.h string.c /ext/standard/tests/strings bug47546.phpt

2009-06-12 Thread Richard Quadling
2009/6/12 Michael Wallner m...@php.net:
 Matt Wilmas wrote:
 Hi Dmitry, Antony,

 Fixed, thanks.


 Matt Wilmas wrote:
 mattwil Wed Apr  1 17:05:37 2009 UTC

   Removed files:               (Branch: PHP_5_3)
     /php-src/ext/standard/tests/strings bug47546.phpt
   Modified files:              /php-src NEWS /php-src/ext/standard
 php_string.h string.c Log:
   MFH: explode() stuff:
   - Fixed bug #47560 (explode()'s limit parameter odd behaviour) by
 reverting change for bug #47546


 In what state is this now?

 php_explode() does not work as expected with limit=-1 and
 php_explode_negative_limit() is not exported in php_string.h

 Mike

 --
 PHP Internals - PHP Runtime Development Mailing List
 To unsubscribe, visit: http://www.php.net/unsub.php



From a user's perspective, I would say that explode() now works as I
would expect.

When a valid delimiter is supplied with no limit, then the result is
the same as if the limit was the count of items after the split.

For negative limits (with a valid delimiter), the result is chopped by
the abs($limit).

?php
$string = 'one.two.three.four';
$results = array();

foreach(array('Valid' = '.', 'Invalid' = '_') as $valid = $delimiter) {
$results[$valid]['No Limit'] = explode($delimiter, $string);

foreach(range(-4, 4) as $limit) {
$results[$valid][$limit] = explode($delimiter, $string, $limit);
}
}

print_r($results);
?

outputs what I think is correct.

Array
(
[Valid] = Array
(
[No Limit] = Array
(
[0] = one
[1] = two
[2] = three
[3] = four
)
[-4] = Array
(
)
[-3] = Array
(
[0] = one
)
[-2] = Array
(
[0] = one
[1] = two
)
[-1] = Array
(
[0] = one
[1] = two
[2] = three
)
[0] = Array
(
[0] = one.two.three.four
)
[1] = Array
(
[0] = one.two.three.four
)
[2] = Array
(
[0] = one
[1] = two.three.four
)
[3] = Array
(
[0] = one
[1] = two
[2] = three.four
)
[4] = Array
(
[0] = one
[1] = two
[2] = three
[3] = four
)
)
[Invalid] = Array
(
[No Limit] = Array
(
[0] = one.two.three.four
)
[-4] = Array
(
)
[-3] = Array
(
)
[-2] = Array
(
)
[-1] = Array
(
)
[0] = Array
(
[0] = one.two.three.four
)
[1] = Array
(
[0] = one.two.three.four
)
[2] = Array
(
[0] = one.two.three.four
)
[3] = Array
(
[0] = one.two.three.four
)
[4] = Array
(
[0] = one.two.three.four
)
)
)

-- 
-
Richard Quadling
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498r=213474731
Standing on the shoulders of some very clever giants!

--
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

2009-06-11 Thread Greg Beaver
cellog  Thu Jun 11 14:40:43 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-srcNEWS 
  Log:
  update NEWS about phar.phar on windows
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.622r2=1.2027.2.547.2.965.2.623diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.622 
php-src/NEWS:1.2027.2.547.2.965.2.623
--- php-src/NEWS:1.2027.2.547.2.965.2.622   Wed Jun 10 18:39:15 2009
+++ php-src/NEWSThu Jun 11 14:40:43 2009
@@ -1,7 +1,7 @@
 PHPNEWS
 |||
 ?? ??? 2009, PHP 5.3.0 RC 4
-
+- Added phar.phar generation for Windows. (Greg)
 
 11 Jun 2009, PHP 5.3.0 RC 3
 - Upgraded bundled sqlite to version 3.6.14.2. (Scott, Ilia)



-- 
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 configure.in /main php_version.h

2009-06-10 Thread Johannes Schlüter
johannesWed Jun 10 18:18:43 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-src/main   php_version.h 
/php-srcconfigure.in NEWS 
  Log:
  5.3.0RC3
  
http://cvs.php.net/viewvc.cgi/php-src/main/php_version.h?r1=1.112.2.37.2.50.2.13r2=1.112.2.37.2.50.2.14diff_format=u
Index: php-src/main/php_version.h
diff -u php-src/main/php_version.h:1.112.2.37.2.50.2.13 
php-src/main/php_version.h:1.112.2.37.2.50.2.14
--- php-src/main/php_version.h:1.112.2.37.2.50.2.13 Wed May  6 18:57:45 2009
+++ php-src/main/php_version.h  Wed Jun 10 18:18:43 2009
@@ -3,6 +3,6 @@
 #define PHP_MAJOR_VERSION 5
 #define PHP_MINOR_VERSION 3
 #define PHP_RELEASE_VERSION 0
-#define PHP_EXTRA_VERSION RC3-dev
-#define PHP_VERSION 5.3.0RC3-dev
+#define PHP_EXTRA_VERSION RC3
+#define PHP_VERSION 5.3.0RC3
 #define PHP_VERSION_ID 50300
http://cvs.php.net/viewvc.cgi/php-src/configure.in?r1=1.579.2.52.2.77.2.52r2=1.579.2.52.2.77.2.53diff_format=u
Index: php-src/configure.in
diff -u php-src/configure.in:1.579.2.52.2.77.2.52 
php-src/configure.in:1.579.2.52.2.77.2.53
--- php-src/configure.in:1.579.2.52.2.77.2.52   Mon May 18 21:33:38 2009
+++ php-src/configure.inWed Jun 10 18:18:43 2009
@@ -1,4 +1,4 @@
-## $Id: configure.in,v 1.579.2.52.2.77.2.52 2009/05/18 21:33:38 derick Exp $ 
-*- autoconf -*-
+## $Id: configure.in,v 1.579.2.52.2.77.2.53 2009/06/10 18:18:43 johannes Exp $ 
-*- autoconf -*-
 dnl ## Process this file with autoconf to produce a configure script.
 
 divert(1)
@@ -42,7 +42,7 @@
 PHP_MAJOR_VERSION=5
 PHP_MINOR_VERSION=3
 PHP_RELEASE_VERSION=0
-PHP_EXTRA_VERSION=RC3-dev
+PHP_EXTRA_VERSION=RC3
 
PHP_VERSION=$PHP_MAJOR_VERSION.$PHP_MINOR_VERSION.$PHP_RELEASE_VERSION$PHP_EXTRA_VERSION
 PHP_VERSION_ID=`expr [$]PHP_MAJOR_VERSION \* 1 + [$]PHP_MINOR_VERSION \* 
100 + [$]PHP_RELEASE_VERSION`
 
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.620r2=1.2027.2.547.2.965.2.621diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.620 
php-src/NEWS:1.2027.2.547.2.965.2.621
--- php-src/NEWS:1.2027.2.547.2.965.2.620   Tue Jun  9 16:38:17 2009
+++ php-src/NEWSWed Jun 10 18:18:43 2009
@@ -1,6 +1,6 @@
 PHPNEWS
 |||
-?? ??? 2009, PHP 5.3.0 RC 3
+11 Jun 2009, PHP 5.3.0 RC 3
 - Upgraded bundled sqlite to version 3.6.14.2. (Scott, Ilia)
 - Upgraded bundled libmagic to 5.03 in the fileinfo extension. (Scott)
 
@@ -17,8 +17,8 @@
 - Added support for ACL (is_writable, is_readable, reports now correct results)
   on Windows. (Pierre, Venkat Raman Don, Kanwaljeet Singla)
 
-- Fixed bug #48493 (spl_autoload_register() doesn't work correctly when 
prepending
-  functions). (Scott)
+- Fixed bug #48493 (spl_autoload_register() doesn't work correctly when
+  prepending functions). (Scott)
 - Fixed bug #48257 (PharData throws exception with non-phar tar). (Greg)
 - Fixed bug #48227 (NumberFormatter::format leaks memory). (Felipe)
 - Fixed bug #48200 (compile failure with mbstring.c when 
@@ -29,8 +29,8 @@
   (Kanwaljeet Singla, Venkat Raman Don, Pierre)
 - Fixed bug #38802 (max_redirects and ignore_errors).
   (patch by datib...@php.net)
-- Fixed isset() on sub-directories (isset(blah) if file blah/foo.php 
exists).
-  (Greg)
+- Fixed isset() on sub-directories (isset(blah) if file blah/foo.php
+  exists). (Greg)
 - Fixed security vulnerability in phar's handling of long tar filenames. (Greg)
 - Fixed potential segfault with converting phars containing metadata to other
   formats. (Greg)



-- 
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 configure.in /main php_version.h

2009-06-10 Thread Johannes Schlüter
johannesWed Jun 10 18:39:15 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-src/main   php_version.h 
/php-srcconfigure.in NEWS 
  Log:
  back to -dev
  
http://cvs.php.net/viewvc.cgi/php-src/main/php_version.h?r1=1.112.2.37.2.50.2.14r2=1.112.2.37.2.50.2.15diff_format=u
Index: php-src/main/php_version.h
diff -u php-src/main/php_version.h:1.112.2.37.2.50.2.14 
php-src/main/php_version.h:1.112.2.37.2.50.2.15
--- php-src/main/php_version.h:1.112.2.37.2.50.2.14 Wed Jun 10 18:18:43 2009
+++ php-src/main/php_version.h  Wed Jun 10 18:39:14 2009
@@ -3,6 +3,6 @@
 #define PHP_MAJOR_VERSION 5
 #define PHP_MINOR_VERSION 3
 #define PHP_RELEASE_VERSION 0
-#define PHP_EXTRA_VERSION RC3
-#define PHP_VERSION 5.3.0RC3
+#define PHP_EXTRA_VERSION RC4-dev
+#define PHP_VERSION 5.3.0RC4-dev
 #define PHP_VERSION_ID 50300
http://cvs.php.net/viewvc.cgi/php-src/configure.in?r1=1.579.2.52.2.77.2.53r2=1.579.2.52.2.77.2.54diff_format=u
Index: php-src/configure.in
diff -u php-src/configure.in:1.579.2.52.2.77.2.53 
php-src/configure.in:1.579.2.52.2.77.2.54
--- php-src/configure.in:1.579.2.52.2.77.2.53   Wed Jun 10 18:18:43 2009
+++ php-src/configure.inWed Jun 10 18:39:14 2009
@@ -1,4 +1,4 @@
-## $Id: configure.in,v 1.579.2.52.2.77.2.53 2009/06/10 18:18:43 johannes Exp $ 
-*- autoconf -*-
+## $Id: configure.in,v 1.579.2.52.2.77.2.54 2009/06/10 18:39:14 johannes Exp $ 
-*- autoconf -*-
 dnl ## Process this file with autoconf to produce a configure script.
 
 divert(1)
@@ -42,7 +42,7 @@
 PHP_MAJOR_VERSION=5
 PHP_MINOR_VERSION=3
 PHP_RELEASE_VERSION=0
-PHP_EXTRA_VERSION=RC3
+PHP_EXTRA_VERSION=RC4-dev
 
PHP_VERSION=$PHP_MAJOR_VERSION.$PHP_MINOR_VERSION.$PHP_RELEASE_VERSION$PHP_EXTRA_VERSION
 PHP_VERSION_ID=`expr [$]PHP_MAJOR_VERSION \* 1 + [$]PHP_MINOR_VERSION \* 
100 + [$]PHP_RELEASE_VERSION`
 
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.621r2=1.2027.2.547.2.965.2.622diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.621 
php-src/NEWS:1.2027.2.547.2.965.2.622
--- php-src/NEWS:1.2027.2.547.2.965.2.621   Wed Jun 10 18:18:43 2009
+++ php-src/NEWSWed Jun 10 18:39:15 2009
@@ -1,5 +1,8 @@
 PHPNEWS
 |||
+?? ??? 2009, PHP 5.3.0 RC 4
+
+
 11 Jun 2009, PHP 5.3.0 RC 3
 - Upgraded bundled sqlite to version 3.6.14.2. (Scott, Ilia)
 - Upgraded bundled libmagic to 5.03 in the fileinfo extension. (Scott)



-- 
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

2009-06-09 Thread Pierre-Alain Joye
pajoye  Tue Jun  9 14:10:09 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-srcNEWS 
  Log:
  - #41874
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.618r2=1.2027.2.547.2.965.2.619diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.618 
php-src/NEWS:1.2027.2.547.2.965.2.619
--- php-src/NEWS:1.2027.2.547.2.965.2.618   Tue Jun  9 02:00:46 2009
+++ php-src/NEWSTue Jun  9 14:10:08 2009
@@ -23,6 +23,8 @@
   --enable-zend-multibyte is used). (Jani)
 - Fixed bug #48188 (Cannot execute a scrollable cursors twice with
   PDO_PGSQL). (Matteo)
+- Fixed bug #41874 (separate STDOUT and STDERR in exec functions).
+  (Kanwaljeet Singla, Venkat Raman Don, Pierre)
 - Fixed bug #38802 (max_redirects and ignore_errors).
   (patch by datib...@php.net)
 - Fixed isset() on sub-directories (isset(blah) if file blah/foo.php 
exists).



-- 
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

2009-06-09 Thread Pierre-Alain Joye
pajoye  Tue Jun  9 16:38:17 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-srcNEWS 
  Log:
  - missing ACL entry
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.619r2=1.2027.2.547.2.965.2.620diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.619 
php-src/NEWS:1.2027.2.547.2.965.2.620
--- php-src/NEWS:1.2027.2.547.2.965.2.619   Tue Jun  9 14:10:08 2009
+++ php-src/NEWSTue Jun  9 16:38:17 2009
@@ -14,6 +14,8 @@
 - Added the ability for json_decode() to take a user specified depth. (Scott)
 - Added support for the mysql_stmt_next_result() function from libmysql.
   (Andrey)
+- Added support for ACL (is_writable, is_readable, reports now correct results)
+  on Windows. (Pierre, Venkat Raman Don, Kanwaljeet Singla)
 
 - Fixed bug #48493 (spl_autoload_register() doesn't work correctly when 
prepending
   functions). (Scott)



-- 
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

2009-06-08 Thread Scott MacVicar
scottmacTue Jun  9 00:42:52 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-srcNEWS 
  Log:
  Move entry to 5.2
  
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.616r2=1.2027.2.547.2.965.2.617diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.616 
php-src/NEWS:1.2027.2.547.2.965.2.617
--- php-src/NEWS:1.2027.2.547.2.965.2.616   Fri Jun  5 04:46:49 2009
+++ php-src/NEWSTue Jun  9 00:42:51 2009
@@ -754,8 +754,6 @@
   connections). (Martin Jansen)
 - Fixed bug #44257 (timelib_tz_lookup_table must use float for gmtoffset).
   (Derick, iuri dot fiedoruk at hp dot com).
-- Fixed bug #44214 (Crash using preg_replace_callback() and global variable).
-  (Nuno, Scott)
 - Fixed bug #44034 (FILE_IGNORE_NEW_LINES in file() does not work as expected
   when lines end in \r\n). (Ilia)
 - Fixed bug #43960 (strtotime() returns timestamp in the future when given a



-- 
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

2009-06-08 Thread Scott MacVicar
scottmacTue Jun  9 02:00:47 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-srcNEWS 
  Log:
  BFN
  
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.617r2=1.2027.2.547.2.965.2.618diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.617 
php-src/NEWS:1.2027.2.547.2.965.2.618
--- php-src/NEWS:1.2027.2.547.2.965.2.617   Tue Jun  9 00:42:51 2009
+++ php-src/NEWSTue Jun  9 02:00:46 2009
@@ -15,6 +15,8 @@
 - Added support for the mysql_stmt_next_result() function from libmysql.
   (Andrey)
 
+- Fixed bug #48493 (spl_autoload_register() doesn't work correctly when 
prepending
+  functions). (Scott)
 - Fixed bug #48257 (PharData throws exception with non-phar tar). (Greg)
 - Fixed bug #48227 (NumberFormatter::format leaks memory). (Felipe)
 - Fixed bug #48200 (compile failure with mbstring.c when 



-- 
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

2009-06-04 Thread Pierre-Alain Joye
pajoye  Thu Jun  4 07:01:47 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-srcNEWS 
  Log:
  - new constnats
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.613r2=1.2027.2.547.2.965.2.614diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.613 
php-src/NEWS:1.2027.2.547.2.965.2.614
--- php-src/NEWS:1.2027.2.547.2.965.2.613   Sun May 31 13:20:22 2009
+++ php-src/NEWSThu Jun  4 07:01:47 2009
@@ -9,6 +9,8 @@
 
 - Changed SQLite3::loadExtension() to be disabled for threaded SAPIs. (Scott)
 
+- Added constants based on Windows' GetVersionEx information. 
+  PHP_WINDOWS_VERSION_* and PHP_WINDOWS_NT_*. (Pierre)
 - Added the ability for json_decode() to take a user specified depth. (Scott)
 - Added support for the mysql_stmt_next_result() function from libmysql.
   (Andrey)



-- 
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/phar tar.c /ext/phar/tests/tar bignames_overflow.phpt /ext/phar/tests/tar/files make.dangerous.tar.php.inc

2009-06-04 Thread Greg Beaver
cellog  Thu Jun  4 19:59:09 2009 UTC

  Added files: (Branch: PHP_5_3)
/php-src/ext/phar/tests/tar bignames_overflow.phpt 
/php-src/ext/phar/tests/tar/files   make.dangerous.tar.php.inc 

  Modified files:  
/php-srcNEWS 
/php-src/ext/phar   tar.c 
  Log:
  MFPECL: fix security vulnerability in phar's handling of long tar filenames
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.614r2=1.2027.2.547.2.965.2.615diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.614 
php-src/NEWS:1.2027.2.547.2.965.2.615
--- php-src/NEWS:1.2027.2.547.2.965.2.614   Thu Jun  4 07:01:47 2009
+++ php-src/NEWSThu Jun  4 19:59:09 2009
@@ -23,8 +23,9 @@
   PDO_PGSQL). (Matteo)
 - Fixed bug #38802 (max_redirects and ignore_errors).
   (patch by datib...@php.net)
+- Fixed security vulnerability in phar's handling of long tar filenames. (Greg)
 - Fixed potential segfault with converting phars containing metadata to other
-  formats (Greg).
+  formats. (Greg)
 
 
 07 May 2009, PHP 5.3.0 RC 2
http://cvs.php.net/viewvc.cgi/php-src/ext/phar/tar.c?r1=1.55.2.28r2=1.55.2.29diff_format=u
Index: php-src/ext/phar/tar.c
diff -u php-src/ext/phar/tar.c:1.55.2.28 php-src/ext/phar/tar.c:1.55.2.29
--- php-src/ext/phar/tar.c:1.55.2.28Wed May 13 20:25:43 2009
+++ php-src/ext/phar/tar.c  Thu Jun  4 19:59:09 2009
@@ -330,16 +330,19 @@
 
if (!old  hdr-prefix[0] != 0) {
char name[256];
+   int i, j;
 
-   strcpy(name, hdr-prefix);
-   /* remove potential buffer overflow */
-   if (hdr-name[99]) {
-   strncat(name, hdr-name, 100);
-   } else {
-   strcat(name, hdr-name);
+   for (i = 0; i  155; i++) {
+   name[i] = hdr-prefix[i];
+   if (name[i] == '\0') {
+   break;
+   }
+   }
+   for (j = 0; j  100; j++) {
+   name[i+j] = hdr-name[j];
}
 
-   entry.filename_len = strlen(hdr-prefix) + 100;
+   entry.filename_len = i+j;
 
if (name[entry.filename_len - 1] == '/') {
/* some tar programs store directories with 
trailing slash */
@@ -347,8 +350,16 @@
}
entry.filename = pestrndup(name, entry.filename_len, 
myphar-is_persistent);
} else {
-   entry.filename = pestrdup(hdr-name, 
myphar-is_persistent);
-   entry.filename_len = strlen(entry.filename);
+   int i;
+
+   /* calculate strlen, which can be no longer than 100 */
+   for (i = 0; i  100; i++) {
+   if (hdr-name[i] == '\0') {
+   break;
+   }
+   }
+   entry.filename_len = i;
+   entry.filename = pestrndup(hdr-name, i, 
myphar-is_persistent);
 
if (entry.filename[entry.filename_len - 1] == '/') {
/* some tar programs store directories with 
trailing slash */

http://cvs.php.net/viewvc.cgi/php-src/ext/phar/tests/tar/bignames_overflow.phpt?view=markuprev=1.1
Index: php-src/ext/phar/tests/tar/bignames_overflow.phpt
+++ php-src/ext/phar/tests/tar/bignames_overflow.phpt

http://cvs.php.net/viewvc.cgi/php-src/ext/phar/tests/tar/files/make.dangerous.tar.php.inc?view=markuprev=1.1
Index: php-src/ext/phar/tests/tar/files/make.dangerous.tar.php.inc
+++ php-src/ext/phar/tests/tar/files/make.dangerous.tar.php.inc



-- 
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/phar phar_object.c /ext/phar/tests phar_oo_011.phpt

2009-06-04 Thread Greg Beaver
cellog  Fri Jun  5 04:46:49 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-srcNEWS 
/php-src/ext/phar   phar_object.c 
/php-src/ext/phar/tests phar_oo_011.phpt 
  Log:
  MFH: fixed isset() on sub-directories (isset(blah) if file blah/foo.php 
exists)
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.615r2=1.2027.2.547.2.965.2.616diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.615 
php-src/NEWS:1.2027.2.547.2.965.2.616
--- php-src/NEWS:1.2027.2.547.2.965.2.615   Thu Jun  4 19:59:09 2009
+++ php-src/NEWSFri Jun  5 04:46:49 2009
@@ -23,6 +23,8 @@
   PDO_PGSQL). (Matteo)
 - Fixed bug #38802 (max_redirects and ignore_errors).
   (patch by datib...@php.net)
+- Fixed isset() on sub-directories (isset(blah) if file blah/foo.php 
exists).
+  (Greg)
 - Fixed security vulnerability in phar's handling of long tar filenames. (Greg)
 - Fixed potential segfault with converting phars containing metadata to other
   formats. (Greg)
http://cvs.php.net/viewvc.cgi/php-src/ext/phar/phar_object.c?r1=1.266.2.62r2=1.266.2.63diff_format=u
Index: php-src/ext/phar/phar_object.c
diff -u php-src/ext/phar/phar_object.c:1.266.2.62 
php-src/ext/phar/phar_object.c:1.266.2.63
--- php-src/ext/phar/phar_object.c:1.266.2.62   Sun May 24 18:50:58 2009
+++ php-src/ext/phar/phar_object.c  Fri Jun  5 04:46:49 2009
@@ -17,7 +17,7 @@
   +--+
 */
 
-/* $Id: phar_object.c,v 1.266.2.62 2009/05/24 18:50:58 cellog Exp $ */
+/* $Id: phar_object.c,v 1.266.2.63 2009/06/05 04:46:49 cellog Exp $ */
 
 #include phar_internal.h
 #include func_interceptors.h
@@ -3526,6 +3526,9 @@
}
RETURN_TRUE;
} else {
+   if (zend_hash_exists(phar_obj-arc.archive-virtual_dirs, 
fname, (uint) fname_len)) {
+   RETURN_TRUE;
+   }
RETURN_FALSE;
}
 }
http://cvs.php.net/viewvc.cgi/php-src/ext/phar/tests/phar_oo_011.phpt?r1=1.8r2=1.8.2.1diff_format=u
Index: php-src/ext/phar/tests/phar_oo_011.phpt
diff -u php-src/ext/phar/tests/phar_oo_011.phpt:1.8 
php-src/ext/phar/tests/phar_oo_011.phpt:1.8.2.1
--- php-src/ext/phar/tests/phar_oo_011.phpt:1.8 Wed Feb 20 13:32:59 2008
+++ php-src/ext/phar/tests/phar_oo_011.phpt Fri Jun  5 04:46:49 2009
@@ -16,9 +16,10 @@
 $phar = new Phar($fname);
 $phar-setInfoClass('SplFileObject');
 
-$phar['f.php'] = 'hi';
-var_dump(isset($phar['f.php']));
-echo $phar['f.php'];
+$phar['hi/f.php'] = 'hi';
+var_dump(isset($phar['hi']));
+var_dump(isset($phar['hi/f.php']));
+echo $phar['hi/f.php'];
 echo \n;
 
 ?
@@ -30,5 +31,6 @@
 ?
 --EXPECT--
 bool(true)
+bool(true)
 hi
 ===DONE===



-- 
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

2009-05-31 Thread Jani Taskinen
janiSun May 31 13:20:22 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-srcNEWS 
  Log:
  fix news
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.612r2=1.2027.2.547.2.965.2.613diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.612 
php-src/NEWS:1.2027.2.547.2.965.2.613
--- php-src/NEWS:1.2027.2.547.2.965.2.612   Fri May 29 13:11:10 2009
+++ php-src/NEWSSun May 31 13:20:22 2009
@@ -10,6 +10,8 @@
 - Changed SQLite3::loadExtension() to be disabled for threaded SAPIs. (Scott)
 
 - Added the ability for json_decode() to take a user specified depth. (Scott)
+- Added support for the mysql_stmt_next_result() function from libmysql.
+  (Andrey)
 
 - Fixed bug #48257 (PharData throws exception with non-phar tar). (Greg)
 - Fixed bug #48227 (NumberFormatter::format leaks memory). (Felipe)
@@ -21,9 +23,6 @@
   (patch by datib...@php.net)
 - Fixed potential segfault with converting phars containing metadata to other
   formats (Greg).
-- Added support for the mysql_stmt_next_result() function from libmysql.
-  mysqlnd already supports this and the mysqli function was already there.
-  (Andrey)
 
 
 07 May 2009, PHP 5.3.0 RC 2



-- 
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

2009-05-29 Thread Andrey Hristov
andrey  Fri May 29 13:11:10 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-srcNEWS 
  Log:
  NEWS
  
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.611r2=1.2027.2.547.2.965.2.612diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.611 
php-src/NEWS:1.2027.2.547.2.965.2.612
--- php-src/NEWS:1.2027.2.547.2.965.2.611   Thu May 28 13:21:08 2009
+++ php-src/NEWSFri May 29 13:11:10 2009
@@ -21,6 +21,9 @@
   (patch by datib...@php.net)
 - Fixed potential segfault with converting phars containing metadata to other
   formats (Greg).
+- Added support for the mysql_stmt_next_result() function from libmysql.
+  mysqlnd already supports this and the mysqli function was already there.
+  (Andrey)
 
 
 07 May 2009, PHP 5.3.0 RC 2



-- 
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

2009-05-28 Thread Arnaud Le Blanc
lbarnaudThu May 28 13:21:08 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-srcNEWS 
  Log:
  Moved to 5.2
  
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.610r2=1.2027.2.547.2.965.2.611diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.610 
php-src/NEWS:1.2027.2.547.2.965.2.611
--- php-src/NEWS:1.2027.2.547.2.965.2.610   Thu May 28 03:22:44 2009
+++ php-src/NEWSThu May 28 13:21:08 2009
@@ -538,7 +538,6 @@
 - Improved streams:
   . Fixed confusing error message on failure when no errors are logged. (Greg)
   . Added stream_supports_lock() function. (Benjamin Schulz)
-  . Added ignore_errors option to http fopen wrapper. (David Zulke, Sara)
   . Added context parameter for copy() function. (Sara)
   . Added glob:// stream wrapper. (Marcus)
   . Added params as optional parameter for stream_context_create(). (Sara)



-- 
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

2009-05-27 Thread Scott MacVicar
scottmacThu May 28 03:22:44 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-srcNEWS 
  Log:
  BFN, though this library gets a lot of updates
  
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.609r2=1.2027.2.547.2.965.2.610diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.609 
php-src/NEWS:1.2027.2.547.2.965.2.610
--- php-src/NEWS:1.2027.2.547.2.965.2.609   Sun May 24 18:50:57 2009
+++ php-src/NEWSThu May 28 03:22:44 2009
@@ -1,7 +1,7 @@
 PHPNEWS
 |||
 ?? ??? 2009, PHP 5.3.0 RC 3
-- Upgraded bundled sqlite to version 3.6.14.1. (Ilia)
+- Upgraded bundled sqlite to version 3.6.14.2. (Scott, Ilia)
 - Upgraded bundled libmagic to 5.03 in the fileinfo extension. (Scott)
 
 - Removed all zend_extension_* php.ini directives. Zend extensions are now



-- 
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

2009-05-19 Thread Jani Taskinen
janiTue May 19 09:41:36 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-srcNEWS 
  Log:
  fix news
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.606r2=1.2027.2.547.2.965.2.607diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.606 
php-src/NEWS:1.2027.2.547.2.965.2.607
--- php-src/NEWS:1.2027.2.547.2.965.2.606   Mon May 18 21:33:38 2009
+++ php-src/NEWSTue May 19 09:41:34 2009
@@ -4,10 +4,12 @@
 - Upgraded bundled sqlite to version 3.6.14. (Scott)
 - Upgraded bundled libmagic to 5.03 in the fileinfo extension. (Scott)
 
-- Added the ability for json_decode() to take a user specified depth. (Scott)
-- Coalesce all the zend_extension_* variables into zend_extension. (Derick)
+- Removed all zend_extension_* php.ini directives. Zend extensions are now
+  always loaded using zend_extension directive. (Derick)
+
+- Changed SQLite3::loadExtension() to be disabled for threaded SAPIs. (Scott)
 
-- Disabled SQLite3::loadExtension for threaded SAPIs. (Scott)
+- Added the ability for json_decode() to take a user specified depth. (Scott)
 
 - Fixed bug #48257 (PharData throws exception with non-phar tar). (Greg)
 - Fixed bug #48227 (NumberFormatter::format leaks memory). (Felipe)



-- 
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/sqlite3/libsqlite sqlite3.c sqlite3.h sqlite3ext.h

2009-05-19 Thread Ilia Alshanetsky
iliaa   Tue May 19 18:33:02 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-srcNEWS 
/php-src/ext/sqlite3/libsqlite  sqlite3.c sqlite3.h sqlite3ext.h 
  Log:
  Upgraded to 3.6.14.1
  
  http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.607r2=1.2027.2.547.2.965.2.608diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.607 
php-src/NEWS:1.2027.2.547.2.965.2.608
--- php-src/NEWS:1.2027.2.547.2.965.2.607   Tue May 19 09:41:34 2009
+++ php-src/NEWSTue May 19 18:32:25 2009
@@ -1,7 +1,7 @@
 PHPNEWS
 |||
 ?? ??? 2009, PHP 5.3.0 RC 3
-- Upgraded bundled sqlite to version 3.6.14. (Scott)
+- Upgraded bundled sqlite to version 3.6.14.1. (Ilia)
 - Upgraded bundled libmagic to 5.03 in the fileinfo extension. (Scott)
 
 - Removed all zend_extension_* php.ini directives. Zend extensions are now
http://cvs.php.net/viewvc.cgi/php-src/ext/sqlite3/libsqlite/sqlite3.c?r1=1.1.2.21r2=1.1.2.22diff_format=u
Index: php-src/ext/sqlite3/libsqlite/sqlite3.c
diff -u php-src/ext/sqlite3/libsqlite/sqlite3.c:1.1.2.21 
php-src/ext/sqlite3/libsqlite/sqlite3.c:1.1.2.22
--- php-src/ext/sqlite3/libsqlite/sqlite3.c:1.1.2.21Thu May  7 12:39:26 2009
+++ php-src/ext/sqlite3/libsqlite/sqlite3.c Tue May 19 18:32:25 2009
@@ -4,7 +4,7 @@
 
 /**
 ** This file is an amalgamation of many separate C source files from SQLite
-** version 3.6.14.  By combining all the individual C code files into this 
+** version 3.6.14.1.  By combining all the individual C code files into this 
 ** single large file, the entire code can be compiled as a one translation
 ** unit.  This allows many compilers to do optimizations that would not be
 ** possible if the files were compiled separately.  Performance improvements
@@ -21,7 +21,7 @@
 ** is also in a separate file.  This file contains only code for the core
 ** SQLite library.
 **
-** This amalgamation was generated on 2009-05-07 01:56:00 UTC.
+** This amalgamation was generated on 2009-05-18 18:33:54 UTC.
 */
 #define SQLITE_CORE 1
 #define SQLITE_AMALGAMATION 1
@@ -45,7 +45,7 @@
 *
 ** Internal interface definitions for SQLite.
 **
-** @(#) $Id: sqlite3.c,v 1.1.2.21 2009/05/07 12:39:26 iliaa Exp $
+** @(#) $Id: sqlite3.c,v 1.1.2.22 2009/05/19 18:32:25 iliaa Exp $
 */
 #ifndef _SQLITEINT_H_
 #define _SQLITEINT_H_
@@ -74,7 +74,7 @@
 ** 
 ** This file defines various limits of what SQLite can process.
 **
-** @(#) $Id: sqlite3.c,v 1.1.2.21 2009/05/07 12:39:26 iliaa Exp $
+** @(#) $Id: sqlite3.c,v 1.1.2.22 2009/05/19 18:32:25 iliaa Exp $
 */
 
 /*
@@ -532,7 +532,7 @@
 ** the version number) and changes its name to sqlite3.h as
 ** part of the build process.
 **
-** @(#) $Id: sqlite3.c,v 1.1.2.21 2009/05/07 12:39:26 iliaa Exp $
+** @(#) $Id: sqlite3.c,v 1.1.2.22 2009/05/19 18:32:25 iliaa Exp $
 */
 #ifndef _SQLITE3_H_
 #define _SQLITE3_H_
@@ -601,7 +601,7 @@
 **
 ** Requirements: [H10011] [H10014]
 */
-#define SQLITE_VERSION 3.6.14
+#define SQLITE_VERSION 3.6.14.1
 #define SQLITE_VERSION_NUMBER  3006014
 
 /*
@@ -6052,7 +6052,7 @@
 ** This is the header file for the generic hash-table implemenation
 ** used in SQLite.
 **
-** $Id: sqlite3.c,v 1.1.2.21 2009/05/07 12:39:26 iliaa Exp $
+** $Id: sqlite3.c,v 1.1.2.22 2009/05/19 18:32:25 iliaa Exp $
 */
 #ifndef _SQLITE_HASH_H_
 #define _SQLITE_HASH_H_
@@ -6635,7 +6635,7 @@
 ** subsystem.  See comments in the source code for a detailed description
 ** of what each interface routine does.
 **
-** @(#) $Id: sqlite3.c,v 1.1.2.21 2009/05/07 12:39:26 iliaa Exp $
+** @(#) $Id: sqlite3.c,v 1.1.2.22 2009/05/19 18:32:25 iliaa Exp $
 */
 #ifndef _BTREE_H_
 #define _BTREE_H_
@@ -6867,7 +6867,7 @@
 ** or VDBE.  The VDBE implements an abstract machine that runs a
 ** simple program to access and modify the underlying database.
 **
-** $Id: sqlite3.c,v 1.1.2.21 2009/05/07 12:39:26 iliaa Exp $
+** $Id: sqlite3.c,v 1.1.2.22 2009/05/19 18:32:25 iliaa Exp $
 */
 #ifndef _SQLITE_VDBE_H_
 #define _SQLITE_VDBE_H_
@@ -7259,7 +7259,7 @@
 ** subsystem.  The page cache subsystem reads and writes a file a page
 ** at a time and provides a journal for rollback.
 **
-** @(#) $Id: sqlite3.c,v 1.1.2.21 2009/05/07 12:39:26 iliaa Exp $
+** @(#) $Id: sqlite3.c,v 1.1.2.22 2009/05/19 18:32:25 iliaa Exp $
 */
 
 #ifndef _PAGER_H_
@@ -7427,7 +7427,7 @@
 ** This header file defines the interface that the sqlite page cache
 ** subsystem. 
 **
-** @(#) $Id: sqlite3.c,v 1.1.2.21 2009/05/07 12:39:26 iliaa Exp $
+** @(#) $Id: sqlite3.c,v 1.1.2.22 2009/05/19 18:32:25 iliaa Exp $
 */
 
 #ifndef _PCACHE_H_
@@ -7595,7 +7595,7 @@
 ** This header file is #include-ed by sqliteInt.h and thus ends up
 ** being included by 

[PHP-CVS] cvs: php-src(PHP_5_3) / NEWS configure.in /main php_ini.c /scripts phpize.m4

2009-05-18 Thread Derick Rethans
derick  Mon May 18 21:33:38 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-srcconfigure.in NEWS 
/php-src/scriptsphpize.m4 
/php-src/main   php_ini.c 
  Log:
  - MFH: Get rid of the four different versions of zend_extension* and only use
zend_extension. Because of the API identifier change in PHP 5.3 you also get
a proper warning message now.
  #- [DOC]
  
  
http://cvs.php.net/viewvc.cgi/php-src/configure.in?r1=1.579.2.52.2.77.2.51r2=1.579.2.52.2.77.2.52diff_format=u
Index: php-src/configure.in
diff -u php-src/configure.in:1.579.2.52.2.77.2.51 
php-src/configure.in:1.579.2.52.2.77.2.52
--- php-src/configure.in:1.579.2.52.2.77.2.51   Wed May  6 18:57:45 2009
+++ php-src/configure.inMon May 18 21:33:38 2009
@@ -1,4 +1,4 @@
-## $Id: configure.in,v 1.579.2.52.2.77.2.51 2009/05/06 18:57:45 johannes Exp $ 
-*- autoconf -*-
+## $Id: configure.in,v 1.579.2.52.2.77.2.52 2009/05/18 21:33:38 derick Exp $ 
-*- autoconf -*-
 dnl ## Process this file with autoconf to produce a configure script.
 
 divert(1)
@@ -1332,15 +1332,7 @@
   CPPFLAGS=$CPPFLAGS -DTHREAD=1
 fi
 
-if test $PHP_DEBUG = 1  test $PHP_THREAD_SAFETY = yes; then
-  ZEND_EXT_TYPE=zend_extension_debug_ts
-elif test $PHP_DEBUG = 1; then
-  ZEND_EXT_TYPE=zend_extension_debug
-elif test $PHP_THREAD_SAFETY = yes; then
-  ZEND_EXT_TYPE=zend_extension_ts
-else
-  ZEND_EXT_TYPE=zend_extension
-fi
+ZEND_EXT_TYPE=zend_extension
 PHP_SUBST(ZEND_EXT_TYPE)
 
 dnl
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.605r2=1.2027.2.547.2.965.2.606diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.605 
php-src/NEWS:1.2027.2.547.2.965.2.606
--- php-src/NEWS:1.2027.2.547.2.965.2.605   Sat May 16 20:34:48 2009
+++ php-src/NEWSMon May 18 21:33:38 2009
@@ -5,6 +5,7 @@
 - Upgraded bundled libmagic to 5.03 in the fileinfo extension. (Scott)
 
 - Added the ability for json_decode() to take a user specified depth. (Scott)
+- Coalesce all the zend_extension_* variables into zend_extension. (Derick)
 
 - Disabled SQLite3::loadExtension for threaded SAPIs. (Scott)
 
http://cvs.php.net/viewvc.cgi/php-src/scripts/phpize.m4?r1=1.17.2.3.2.5.2.6r2=1.17.2.3.2.5.2.7diff_format=u
Index: php-src/scripts/phpize.m4
diff -u php-src/scripts/phpize.m4:1.17.2.3.2.5.2.6 
php-src/scripts/phpize.m4:1.17.2.3.2.5.2.7
--- php-src/scripts/phpize.m4:1.17.2.3.2.5.2.6  Wed Dec  3 19:52:59 2008
+++ php-src/scripts/phpize.m4   Mon May 18 21:33:38 2009
@@ -96,15 +96,7 @@
 AC_MSG_RESULT([$PHP_DEBUG])
 
 dnl Support for building and testing Zend extensions
-if test $PHP_DEBUG = yes  test $PHP_THREAD_SAFETY = yes; then
-  ZEND_EXT_TYPE=zend_extension_debug_ts
-elif test $PHP_DEBUG = yes; then
-  ZEND_EXT_TYPE=zend_extension_debug
-elif test $PHP_THREAD_SAFETY = yes; then
-  ZEND_EXT_TYPE=zend_extension_ts
-else
-  ZEND_EXT_TYPE=zend_extension
-fi
+ZEND_EXT_TYPE=zend_extension
 PHP_SUBST(ZEND_EXT_TYPE)
 
 dnl Discard optimization flags when debugging is enabled
http://cvs.php.net/viewvc.cgi/php-src/main/php_ini.c?r1=1.136.2.4.2.15.2.13r2=1.136.2.4.2.15.2.14diff_format=u
Index: php-src/main/php_ini.c
diff -u php-src/main/php_ini.c:1.136.2.4.2.15.2.13 
php-src/main/php_ini.c:1.136.2.4.2.15.2.14
--- php-src/main/php_ini.c:1.136.2.4.2.15.2.13  Wed Dec 31 11:15:47 2008
+++ php-src/main/php_ini.c  Mon May 18 21:33:38 2009
@@ -16,7 +16,7 @@
+--+
  */
 
-/* $Id: php_ini.c,v 1.136.2.4.2.15.2.13 2008/12/31 11:15:47 sebastian Exp $ */
+/* $Id: php_ini.c,v 1.136.2.4.2.15.2.14 2009/05/18 21:33:38 derick Exp $ */
 
 #include php.h
 #include ext/standard/info.h
@@ -170,19 +170,7 @@
 
 /* php.ini support */
 #define PHP_EXTENSION_TOKENextension
-#ifdef ZTS
-# if (ZEND_DEBUG)
-# define ZEND_EXTENSION_TOKEN  zend_extension_debug_ts
-# else
-# define ZEND_EXTENSION_TOKEN  zend_extension_ts
-# endif
-#else
-# if (ZEND_DEBUG)
-# define ZEND_EXTENSION_TOKEN  zend_extension_debug
-# else
-# define ZEND_EXTENSION_TOKEN  zend_extension
-# endif
-#endif
+#define ZEND_EXTENSION_TOKEN   zend_extension
 
 /* {{{ config_zval_dtor
  */



-- 
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 http_fopen_wrapper.c

2009-05-16 Thread Arnaud Le Blanc
lbarnaudSat May 16 20:34:49 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-src/ext/standard   http_fopen_wrapper.c 
/php-srcNEWS 
  Log:
  Fixed bug #38802 (max_redirects and ignore_errors)
  (patch by datib...@php.net)
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/http_fopen_wrapper.c?r1=1.99.2.12.2.9.2.16r2=1.99.2.12.2.9.2.17diff_format=u
Index: php-src/ext/standard/http_fopen_wrapper.c
diff -u php-src/ext/standard/http_fopen_wrapper.c:1.99.2.12.2.9.2.16 
php-src/ext/standard/http_fopen_wrapper.c:1.99.2.12.2.9.2.17
--- php-src/ext/standard/http_fopen_wrapper.c:1.99.2.12.2.9.2.16Thu May 
14 13:36:56 2009
+++ php-src/ext/standard/http_fopen_wrapper.c   Sat May 16 20:34:48 2009
@@ -19,7 +19,7 @@
|  Sara Golemon poll...@php.net  |
+--+
  */
-/* $Id: http_fopen_wrapper.c,v 1.99.2.12.2.9.2.16 2009/05/14 13:36:56 cellog 
Exp $ */ 
+/* $Id: http_fopen_wrapper.c,v 1.99.2.12.2.9.2.17 2009/05/16 20:34:48 lbarnaud 
Exp $ */ 
 
 #include php.h
 #include php_globals.h
@@ -104,7 +104,7 @@
size_t chunk_size = 0, file_size = 0;
int eol_detect = 0;
char *transport_string, *errstr = NULL;
-   int transport_len, have_header = 0, request_fulluri = 0;
+   int transport_len, have_header = 0, request_fulluri = 0, ignore_errors 
= 0;
char *protocol_version = NULL;
int protocol_version_len = 3; /* Default: 1.0 */
struct timeval timeout;
@@ -557,9 +557,11 @@
} else {
response_code = 0;
}
+   if (context  
SUCCESS==php_stream_context_get_option(context, http, ignore_errors, 
tmpzval)) {
+   ignore_errors = zend_is_true(*tmpzval);
+   }
/* when we request only the header, don't fail even on 
error codes */
-   if ((options  STREAM_ONLY_GET_HEADERS) ||
-   (context  
php_stream_context_get_option(context, http, ignore_errors,  tmpzval) == 
SUCCESS  zend_is_true(*tmpzval)) ) {
+   if ((options  STREAM_ONLY_GET_HEADERS) || 
ignore_errors) {
reqok = 1;
}
/* all status codes in the 2xx range are defined by the 
specification as successful;
@@ -656,7 +658,7 @@
}

if (!reqok || location[0] != '\0') {
-   if (options  STREAM_ONLY_GET_HEADERS  redirect_max = 1) {
+   if (((options  STREAM_ONLY_GET_HEADERS) || ignore_errors)  
redirect_max = 1) {
goto out;
}
 
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.604r2=1.2027.2.547.2.965.2.605diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.604 
php-src/NEWS:1.2027.2.547.2.965.2.605
--- php-src/NEWS:1.2027.2.547.2.965.2.604   Thu May 14 22:03:35 2009
+++ php-src/NEWSSat May 16 20:34:48 2009
@@ -14,6 +14,8 @@
   --enable-zend-multibyte is used). (Jani)
 - Fixed bug #48188 (Cannot execute a scrollable cursors twice with
   PDO_PGSQL). (Matteo)
+- Fixed bug #38802 (max_redirects and ignore_errors).
+  (patch by datib...@php.net)
 
 
 07 May 2009, PHP 5.3.0 RC 2



-- 
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

2009-05-14 Thread Arnaud Le Blanc
lbarnaudThu May 14 16:23:59 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-srcNEWS 
  Log:
  moved to 5.2
  
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.601r2=1.2027.2.547.2.965.2.602diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.601 
php-src/NEWS:1.2027.2.547.2.965.2.602
--- php-src/NEWS:1.2027.2.547.2.965.2.601   Thu May 14 01:31:02 2009
+++ php-src/NEWSThu May 14 16:23:58 2009
@@ -709,7 +709,6 @@
   prop of wrapped object). (robin_fernandes at uk dot ibm dot com, Arnaud)
 - Fixed bug #45571 (ReflectionClass::export() shows superclasses' private
   static methods). (robin_fernandes at uk dot ibm dot com)
-- Fixed bug #45540 (stream_context_create creates bad http request). (Arnaud)
 - Fixed bug #45430 (windows implementation of crypt is not thread safe).
   (Pierre)
 - Fixed bug #45345 (SPLFileInfo::getPathInfo() returning dir info instead of
@@ -776,8 +775,6 @@
 - Fixed bug #42848 (Status: header incorrect under FastCGI). (Dmitry)
 - Fixed bug #42773 (WSDL error causes HTTP 500 Response). (Dmitry)
 - Fixed bug #42736 (xmlrpc_server_call_method() crashes). (Tony)
-- Fixed bug #42663 (gzinflate() try to allocate all memory with truncated
-  data). (Arnaud)
 - Fixed bug #42657 (ini_get() returns incorrect value when default is NULL).
   (Jani, Scott)
 - Fixed bug #42637 (SoapFault : Only http and https are allowed). (Bill Moran)



-- 
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

2009-05-14 Thread Arnaud Le Blanc
lbarnaudThu May 14 19:03:59 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-srcNEWS 
  Log:
  moved to 5.2
  
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.602r2=1.2027.2.547.2.965.2.603diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.602 
php-src/NEWS:1.2027.2.547.2.965.2.603
--- php-src/NEWS:1.2027.2.547.2.965.2.602   Thu May 14 16:23:58 2009
+++ php-src/NEWSThu May 14 19:03:59 2009
@@ -703,10 +703,6 @@
 - Fixed PECL bug #12794 (PDOStatement-nextRowset() doesn't work). (Johannes)
 - Fixed PECL bug #12401 (Add support for ATTR_FETCH_TABLE_NAMES). (Johannes)
 
-- Fixed bug #45622 (isset($arrayObject-p) misbehaves with ArrayObject::
-  ARRAY_AS_PROPS set). (robin_fernandes at uk dot ibm dot com, Arnaud)
-- Fixed bug #45614 (ArrayIterator::current(), ::key() can show 1st private
-  prop of wrapped object). (robin_fernandes at uk dot ibm dot com, Arnaud)
 - Fixed bug #45571 (ReflectionClass::export() shows superclasses' private
   static methods). (robin_fernandes at uk dot ibm dot com)
 - Fixed bug #45430 (windows implementation of crypt is not thread safe).



-- 
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

2009-05-14 Thread Scott MacVicar
scottmacThu May 14 22:03:36 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-srcNEWS 
  Log:
  BFN
  
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.603r2=1.2027.2.547.2.965.2.604diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.603 
php-src/NEWS:1.2027.2.547.2.965.2.604
--- php-src/NEWS:1.2027.2.547.2.965.2.603   Thu May 14 19:03:59 2009
+++ php-src/NEWSThu May 14 22:03:35 2009
@@ -4,6 +4,8 @@
 - Upgraded bundled sqlite to version 3.6.14. (Scott)
 - Upgraded bundled libmagic to 5.03 in the fileinfo extension. (Scott)
 
+- Added the ability for json_decode() to take a user specified depth. (Scott)
+
 - Disabled SQLite3::loadExtension for threaded SAPIs. (Scott)
 
 - Fixed bug #48257 (PharData throws exception with non-phar tar). (Greg)



-- 
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/phar phar.c phar_internal.h tar.c /ext/phar/tests/tar require_hash.phpt tar_nohash.phpt /ext/phar/tests/tar/files Net_URL-1.0.15.tgz

2009-05-13 Thread Greg Beaver
cellog  Wed May 13 20:25:44 2009 UTC

  Added files: (Branch: PHP_5_3)
/php-src/ext/phar/tests/tar tar_nohash.phpt 
/php-src/ext/phar/tests/tar/files   Net_URL-1.0.15.tgz 

  Modified files:  
/php-srcNEWS 
/php-src/ext/phar   phar.c phar_internal.h tar.c 
/php-src/ext/phar/tests/tar require_hash.phpt 
  Log:
  fix Bug #48257: PharData throws exception with non-phar tar
  http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.599r2=1.2027.2.547.2.965.2.600diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.599 
php-src/NEWS:1.2027.2.547.2.965.2.600
--- php-src/NEWS:1.2027.2.547.2.965.2.599   Tue May 12 22:18:14 2009
+++ php-src/NEWSWed May 13 20:25:43 2009
@@ -6,6 +6,7 @@
 
 - Disabled SQLite3::loadExtension for threaded SAPIs. (Scott)
 
+- Fixed bug #48257 (PharData throws exception with non-phar tar). (Greg)
 - Fixed bug #48227 (NumberFormatter::format leaks memory). (Felipe)
 - Fixed bug #48200 (compile failure with mbstring.c when 
   --enable-zend-multibyte is used). (Jani)
http://cvs.php.net/viewvc.cgi/php-src/ext/phar/phar.c?r1=1.370.2.61r2=1.370.2.62diff_format=u
Index: php-src/ext/phar/phar.c
diff -u php-src/ext/phar/phar.c:1.370.2.61 php-src/ext/phar/phar.c:1.370.2.62
--- php-src/ext/phar/phar.c:1.370.2.61  Fri May  1 09:22:16 2009
+++ php-src/ext/phar/phar.c Wed May 13 20:25:43 2009
@@ -17,7 +17,7 @@
   +--+
 */
 
-/* $Id: phar.c,v 1.370.2.61 2009/05/01 09:22:16 tony2001 Exp $ */
+/* $Id: phar.c,v 1.370.2.62 2009/05/13 20:25:43 cellog Exp $ */
 
 #define PHAR_MAIN 1
 #include phar_internal.h
@@ -1345,7 +1345,7 @@
}
 
if (fp) {
-   if (phar_open_from_fp(fp, fname, fname_len, alias, alias_len, 
options, pphar, error TSRMLS_CC) == SUCCESS) {
+   if (phar_open_from_fp(fp, fname, fname_len, alias, alias_len, 
options, pphar, is_data, error TSRMLS_CC) == SUCCESS) {
if ((*pphar)-is_data || !PHAR_G(readonly)) {
(*pphar)-is_writeable = 1;
}
@@ -1519,7 +1519,7 @@
fname_len = strlen(actual);
}
 
-   ret =  phar_open_from_fp(fp, fname, fname_len, alias, alias_len, 
options, pphar, error TSRMLS_CC);
+   ret =  phar_open_from_fp(fp, fname, fname_len, alias, alias_len, 
options, pphar, is_data, error TSRMLS_CC);
 
if (actual) {
efree(actual);
@@ -1563,7 +1563,7 @@
  * that the manifest is proper, then pass it to phar_parse_pharfile().  SUCCESS
  * or FAILURE is returned and pphar is set to a pointer to the phar's manifest
  */
-static int phar_open_from_fp(php_stream* fp, char *fname, int fname_len, char 
*alias, int alias_len, int options, phar_archive_data** pphar, char **error 
TSRMLS_DC) /* {{{ */
+static int phar_open_from_fp(php_stream* fp, char *fname, int fname_len, char 
*alias, int alias_len, int options, phar_archive_data** pphar, int is_data, 
char **error TSRMLS_DC) /* {{{ */
 {
const char token[] = __HALT_COMPILER();;
const char zip_magic[] = PK\x03\x04;
@@ -1706,7 +1706,7 @@
if (got  512) {
if (phar_is_tar(pos, fname)) {
php_stream_rewind(fp);
-   return phar_parse_tarfile(fp, fname, 
fname_len, alias, alias_len, pphar, compression, error TSRMLS_CC);
+   return phar_parse_tarfile(fp, fname, 
fname_len, alias, alias_len, pphar, is_data, compression, error TSRMLS_CC);
}
}
}
@@ -2380,7 +2380,7 @@
fname_len = strlen(actual);
}
 
-   ret = phar_open_from_fp(fp, fname, fname_len, alias, alias_len, 
REPORT_ERRORS, NULL, error TSRMLS_CC);
+   ret = phar_open_from_fp(fp, fname, fname_len, alias, alias_len, 
REPORT_ERRORS, NULL, 0, error TSRMLS_CC);
 
if (actual) {
efree(actual);
@@ -3635,7 +3635,7 @@
php_info_print_table_header(2, Phar: PHP Archive support, enabled);
php_info_print_table_row(2, Phar EXT version, PHP_PHAR_VERSION);
php_info_print_table_row(2, Phar API version, PHP_PHAR_API_VERSION);
-   php_info_print_table_row(2, CVS revision, $Revision: 1.370.2.61 $);
+   php_info_print_table_row(2, CVS revision, $Revision: 1.370.2.62 $);
php_info_print_table_row(2, Phar-based phar archives, enabled);
php_info_print_table_row(2, Tar-based phar archives, enabled);
php_info_print_table_row(2, ZIP-based phar archives, enabled);
http://cvs.php.net/viewvc.cgi/php-src/ext/phar/phar_internal.h?r1=1.109.2.30r2=1.109.2.31diff_format=u
Index: php-src/ext/phar/phar_internal.h
diff -u php-src/ext/phar/phar_internal.h:1.109.2.30 
php-src/ext/phar/phar_internal.h:1.109.2.31
--- 

[PHP-CVS] cvs: php-src(PHP_5_3) / NEWS

2009-05-13 Thread Matt Wilmas
mattwil Thu May 14 01:31:02 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-srcNEWS 
  Log:
  Now in 5.2 (or should the entry be here as well...?)
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.600r2=1.2027.2.547.2.965.2.601diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.600 
php-src/NEWS:1.2027.2.547.2.965.2.601
--- php-src/NEWS:1.2027.2.547.2.965.2.600   Wed May 13 20:25:43 2009
+++ php-src/NEWSThu May 14 01:31:02 2009
@@ -143,7 +143,6 @@
 - Fixed bug #46347 (parse_ini_file() doesn't support * in keys). (Nuno)
 - Fixed bug #46048 (SimpleXML top-level @attributes not part of iterator).
   (David C.)
-- Fixed bug #45877 (Array key '2147483647' left as string). (Matt)
 - Fixed bug #45682 (Unable to var_dump(DateInterval)). (Derick)
 - Fixed bug #45432 (PDO: persistent connection leak). (Felipe)
 - Fixed bug #43831 ($this gets mangled when extending PDO with persistent 



-- 
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/pdo_pgsql pgsql_statement.c php_pdo_pgsql_int.h /ext/pdo_pgsql/tests bug44861.phpt

2009-05-12 Thread Matteo Beccati
mbeccatiTue May 12 22:18:15 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-srcNEWS 
/php-src/ext/pdo_pgsql  pgsql_statement.c php_pdo_pgsql_int.h 
/php-src/ext/pdo_pgsql/testsbug44861.phpt 
  Log:
  MFH
  - Fixed bug #48188
  
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.598r2=1.2027.2.547.2.965.2.599diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.598 
php-src/NEWS:1.2027.2.547.2.965.2.599
--- php-src/NEWS:1.2027.2.547.2.965.2.598   Mon May 11 12:35:19 2009
+++ php-src/NEWSTue May 12 22:18:14 2009
@@ -9,6 +9,8 @@
 - Fixed bug #48227 (NumberFormatter::format leaks memory). (Felipe)
 - Fixed bug #48200 (compile failure with mbstring.c when 
   --enable-zend-multibyte is used). (Jani)
+- Fixed bug #48188 (Cannot execute a scrollable cursors twice with
+  PDO_PGSQL). (Matteo)
 
 
 07 May 2009, PHP 5.3.0 RC 2
http://cvs.php.net/viewvc.cgi/php-src/ext/pdo_pgsql/pgsql_statement.c?r1=1.31.2.12.2.7.2.11r2=1.31.2.12.2.7.2.12diff_format=u
Index: php-src/ext/pdo_pgsql/pgsql_statement.c
diff -u php-src/ext/pdo_pgsql/pgsql_statement.c:1.31.2.12.2.7.2.11 
php-src/ext/pdo_pgsql/pgsql_statement.c:1.31.2.12.2.7.2.12
--- php-src/ext/pdo_pgsql/pgsql_statement.c:1.31.2.12.2.7.2.11  Thu Apr 30 
12:38:43 2009
+++ php-src/ext/pdo_pgsql/pgsql_statement.c Tue May 12 22:18:14 2009
@@ -18,7 +18,7 @@
   +--+
 */
 
-/* $Id: pgsql_statement.c,v 1.31.2.12.2.7.2.11 2009/04/30 12:38:43 mbeccati 
Exp $ */
+/* $Id: pgsql_statement.c,v 1.31.2.12.2.7.2.12 2009/05/12 22:18:14 mbeccati 
Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include config.h
@@ -131,6 +131,13 @@
 
if (S-cursor_name) {
char *q = NULL;
+
+   if (S-is_prepared) {
+   spprintf(q, 0, CLOSE %s, S-cursor_name);
+   S-result = PQexec(H-server, q);
+   efree(q);
+   }
+
spprintf(q, 0, DECLARE %s SCROLL CURSOR WITH HOLD FOR %s, 
S-cursor_name, stmt-active_query_string);
S-result = PQexec(H-server, q);
efree(q);
@@ -142,6 +149,9 @@
return 0;
}
 
+   /* the cursor was declared correctly */
+   S-is_prepared = 1;
+
/* fetch to be able to get the number of tuples later, but 
don't advance the cursor pointer */
spprintf(q, 0, FETCH FORWARD 0 FROM %s, S-cursor_name);
S-result = PQexec(H-server, q);
http://cvs.php.net/viewvc.cgi/php-src/ext/pdo_pgsql/php_pdo_pgsql_int.h?r1=1.13.2.4.2.1.2.3r2=1.13.2.4.2.1.2.4diff_format=u
Index: php-src/ext/pdo_pgsql/php_pdo_pgsql_int.h
diff -u php-src/ext/pdo_pgsql/php_pdo_pgsql_int.h:1.13.2.4.2.1.2.3 
php-src/ext/pdo_pgsql/php_pdo_pgsql_int.h:1.13.2.4.2.1.2.4
--- php-src/ext/pdo_pgsql/php_pdo_pgsql_int.h:1.13.2.4.2.1.2.3  Thu Apr 30 
12:38:43 2009
+++ php-src/ext/pdo_pgsql/php_pdo_pgsql_int.h   Tue May 12 22:18:14 2009
@@ -18,7 +18,7 @@
   +--+
 */
 
-/* $Id: php_pdo_pgsql_int.h,v 1.13.2.4.2.1.2.3 2009/04/30 12:38:43 mbeccati 
Exp $ */
+/* $Id: php_pdo_pgsql_int.h,v 1.13.2.4.2.1.2.4 2009/05/12 22:18:14 mbeccati 
Exp $ */
 
 #ifndef PHP_PDO_PGSQL_INT_H
 #define PHP_PDO_PGSQL_INT_H
@@ -65,8 +65,8 @@
int *param_lengths;
int *param_formats;
Oid *param_types;
-   zend_bool is_prepared;
 #endif
+   zend_bool is_prepared;
 } pdo_pgsql_stmt;
 
 typedef struct {
http://cvs.php.net/viewvc.cgi/php-src/ext/pdo_pgsql/tests/bug44861.phpt?r1=1.1.2.1r2=1.1.2.2diff_format=u
Index: php-src/ext/pdo_pgsql/tests/bug44861.phpt
diff -u php-src/ext/pdo_pgsql/tests/bug44861.phpt:1.1.2.1 
php-src/ext/pdo_pgsql/tests/bug44861.phpt:1.1.2.2
--- php-src/ext/pdo_pgsql/tests/bug44861.phpt:1.1.2.1   Sat Mar 28 02:58:04 2009
+++ php-src/ext/pdo_pgsql/tests/bug44861.phpt   Tue May 12 22:18:15 2009
@@ -38,6 +38,12 @@
 $res-execute(array(it's working));
 var_dump($res-fetch(PDO::FETCH_NUM));
 
+
+// Test bug #48188, trying to execute again
+$res-execute(array(try again));
+var_dump($res-fetchColumn());
+var_dump($res-fetchColumn());
+
 ?
 --EXPECT--
 string(4) row1
@@ -76,3 +82,5 @@
   [0]=
   string(12) it's working
 }
+string(9) try again
+bool(false)



-- 
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/xmlwriter php_xmlwriter.c

2009-05-11 Thread Ilia Alshanetsky
iliaa   Mon May 11 12:21:26 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-src/ext/xmlwriter  php_xmlwriter.c 
/php-srcNEWS 
  Log:
  
  Fixed bug #48204 (xmlwriter_open_uri() does not emit warnings on invalid  
  paths)
  
http://cvs.php.net/viewvc.cgi/php-src/ext/xmlwriter/php_xmlwriter.c?r1=1.20.2.12.2.15.2.11r2=1.20.2.12.2.15.2.12diff_format=u
Index: php-src/ext/xmlwriter/php_xmlwriter.c
diff -u php-src/ext/xmlwriter/php_xmlwriter.c:1.20.2.12.2.15.2.11 
php-src/ext/xmlwriter/php_xmlwriter.c:1.20.2.12.2.15.2.12
--- php-src/ext/xmlwriter/php_xmlwriter.c:1.20.2.12.2.15.2.11   Wed Dec 31 
11:15:47 2008
+++ php-src/ext/xmlwriter/php_xmlwriter.c   Mon May 11 12:21:26 2009
@@ -17,7 +17,7 @@
   +--+
 */
 
-/* $Id: php_xmlwriter.c,v 1.20.2.12.2.15.2.11 2008/12/31 11:15:47 sebastian 
Exp $ */
+/* $Id: php_xmlwriter.c,v 1.20.2.12.2.15.2.12 2009/05/11 12:21:26 iliaa Exp $ 
*/
 
 #ifdef HAVE_CONFIG_H
 #include config.h
@@ -1755,6 +1755,7 @@
 
valid_file = _xmlwriter_get_valid_file_path(source, resolved_path, 
MAXPATHLEN TSRMLS_CC);
if (!valid_file) {
+   php_error_docref(NULL TSRMLS_CC, E_WARNING, Unable to resolve 
file path);
RETURN_FALSE;
}
 
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.596r2=1.2027.2.547.2.965.2.597diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.596 
php-src/NEWS:1.2027.2.547.2.965.2.597
--- php-src/NEWS:1.2027.2.547.2.965.2.596   Sun May 10 21:06:35 2009
+++ php-src/NEWSMon May 11 12:21:26 2009
@@ -39,6 +39,8 @@
 - Added ability to throw exceptions from SQLite3 instead of warnings. (Scott)
 - Added startup notices for deprecated ini settings. (Kalle)
 
+- Fixed bug #48204 (xmlwriter_open_uri() does not emit warnings on invalid
+  paths). (Ilia)
 - Fixed bug #48185 (warning: value computed is not used in
   pdo_sqlite_stmt_get_col line 271). (Matteo)
 - Fixed bug #48087 (call_user_method() invalid free of arguments). (Felipe)



-- 
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) / NEWS /ext/xmlwriter php_xmlwriter.c

2009-05-11 Thread Pierre Joye
Did you notice the assigned field in the bug report? I had the patch
already as well (wrote it on my way back home from the NL test fest,
these bugs were found there while writing tests for xmlwriter :)

Can you MFB it to 5.2 as well then? Small enough.

Cheers,
--
Pierre

On Mon, May 11, 2009 at 2:21 PM, Ilia Alshanetsky il...@php.net wrote:
 iliaa           Mon May 11 12:21:26 2009 UTC

  Modified files:              (Branch: PHP_5_3)
    /php-src/ext/xmlwriter      php_xmlwriter.c
    /php-src    NEWS
  Log:

  Fixed bug #48204 (xmlwriter_open_uri() does not emit warnings on invalid
  paths)

 http://cvs.php.net/viewvc.cgi/php-src/ext/xmlwriter/php_xmlwriter.c?r1=1.20.2.12.2.15.2.11r2=1.20.2.12.2.15.2.12diff_format=u
 Index: php-src/ext/xmlwriter/php_xmlwriter.c
 diff -u php-src/ext/xmlwriter/php_xmlwriter.c:1.20.2.12.2.15.2.11 
 php-src/ext/xmlwriter/php_xmlwriter.c:1.20.2.12.2.15.2.12
 --- php-src/ext/xmlwriter/php_xmlwriter.c:1.20.2.12.2.15.2.11   Wed Dec 31 
 11:15:47 2008
 +++ php-src/ext/xmlwriter/php_xmlwriter.c       Mon May 11 12:21:26 2009
 @@ -17,7 +17,7 @@
   +--+
  */

 -/* $Id: php_xmlwriter.c,v 1.20.2.12.2.15.2.11 2008/12/31 11:15:47 sebastian 
 Exp $ */
 +/* $Id: php_xmlwriter.c,v 1.20.2.12.2.15.2.12 2009/05/11 12:21:26 iliaa Exp 
 $ */

  #ifdef HAVE_CONFIG_H
  #include config.h
 @@ -1755,6 +1755,7 @@

        valid_file = _xmlwriter_get_valid_file_path(source, resolved_path, 
 MAXPATHLEN TSRMLS_CC);
        if (!valid_file) {
 +               php_error_docref(NULL TSRMLS_CC, E_WARNING, Unable to 
 resolve file path);
                RETURN_FALSE;
        }

 http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.596r2=1.2027.2.547.2.965.2.597diff_format=u
 Index: php-src/NEWS
 diff -u php-src/NEWS:1.2027.2.547.2.965.2.596 
 php-src/NEWS:1.2027.2.547.2.965.2.597
 --- php-src/NEWS:1.2027.2.547.2.965.2.596       Sun May 10 21:06:35 2009
 +++ php-src/NEWS        Mon May 11 12:21:26 2009
 @@ -39,6 +39,8 @@
  - Added ability to throw exceptions from SQLite3 instead of warnings. (Scott)
  - Added startup notices for deprecated ini settings. (Kalle)

 +- Fixed bug #48204 (xmlwriter_open_uri() does not emit warnings on invalid
 +  paths). (Ilia)
  - Fixed bug #48185 (warning: value computed is not used in
   pdo_sqlite_stmt_get_col line 271). (Matteo)
  - Fixed bug #48087 (call_user_method() invalid free of arguments). (Felipe)



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





-- 
Pierre

http://blog.thepimp.net | http://www.libgd.org

--
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

2009-05-11 Thread Ilia Alshanetsky
iliaa   Mon May 11 12:35:20 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-srcNEWS 
  Log:
  
  moved to 5.2 as well
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.597r2=1.2027.2.547.2.965.2.598diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.597 
php-src/NEWS:1.2027.2.547.2.965.2.598
--- php-src/NEWS:1.2027.2.547.2.965.2.597   Mon May 11 12:21:26 2009
+++ php-src/NEWSMon May 11 12:35:19 2009
@@ -39,8 +39,6 @@
 - Added ability to throw exceptions from SQLite3 instead of warnings. (Scott)
 - Added startup notices for deprecated ini settings. (Kalle)
 
-- Fixed bug #48204 (xmlwriter_open_uri() does not emit warnings on invalid
-  paths). (Ilia)
 - Fixed bug #48185 (warning: value computed is not used in
   pdo_sqlite_stmt_get_col line 271). (Matteo)
 - Fixed bug #48087 (call_user_method() invalid free of arguments). (Felipe)



-- 
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/intl/formatter formatter_format.c /ext/intl/tests bug48227.phpt

2009-05-10 Thread Felipe Pena
felipe  Sun May 10 20:17:22 2009 UTC

  Added files: (Branch: PHP_5_3)
/php-src/ext/intl/tests bug48227.phpt 

  Modified files:  
/php-srcNEWS 
/php-src/ext/intl/formatter formatter_format.c 
  Log:
  - Fixed bug #48227 (NumberFormatter::format leaks memory)
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.594r2=1.2027.2.547.2.965.2.595diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.594 
php-src/NEWS:1.2027.2.547.2.965.2.595
--- php-src/NEWS:1.2027.2.547.2.965.2.594   Sat May  9 21:06:59 2009
+++ php-src/NEWSSun May 10 20:17:21 2009
@@ -6,6 +6,7 @@
 
 - Disabled SQLite3::loadExtension for threaded SAPIs. (Scott)
 
+- Fixed bug #48227 (NumberFormatter::format leaks memory). (Felipe)
 
 07 May 2009, PHP 5.3.0 RC 2
 - Upgraded bundled sqlite to version 3.6.13. (Ilia)
http://cvs.php.net/viewvc.cgi/php-src/ext/intl/formatter/formatter_format.c?r1=1.1.2.2r2=1.1.2.3diff_format=u
Index: php-src/ext/intl/formatter/formatter_format.c
diff -u php-src/ext/intl/formatter/formatter_format.c:1.1.2.2 
php-src/ext/intl/formatter/formatter_format.c:1.1.2.3
--- php-src/ext/intl/formatter/formatter_format.c:1.1.2.2   Mon Aug 11 
19:48:00 2008
+++ php-src/ext/intl/formatter/formatter_format.c   Sun May 10 20:17:21 2009
@@ -54,11 +54,7 @@
 
if(type == FORMAT_TYPE_DEFAULT) {
if(Z_TYPE_PP(number) == IS_STRING) {
-   SEPARATE_ZVAL_IF_NOT_REF(number);
-   if 
((Z_TYPE_PP(number)=is_numeric_string(Z_STRVAL_PP(number), Z_STRLEN_PP(number), 
-   Z_LVAL_PP(number), Z_DVAL_PP(number), 1)) == 
0) {
-   ZVAL_LONG(*number, 0);
-   }
+   convert_scalar_to_number_ex(number);
}
 
if(Z_TYPE_PP(number) == IS_LONG) {

http://cvs.php.net/viewvc.cgi/php-src/ext/intl/tests/bug48227.phpt?view=markuprev=1.1
Index: php-src/ext/intl/tests/bug48227.phpt
+++ php-src/ext/intl/tests/bug48227.phpt
--TEST--
Bug #48227 (NumberFormatter::format leaks memory)
--FILE--
?php

$x = new NumberFormatter('en_US', NumberFormatter::DECIMAL);
var_dump($x-format(''));
var_dump($x-format(1));
var_dump($x-format(NULL));
var_dump($x-format($x));

?
--EXPECTF--
string(1) 0
string(1) 1
string(1) 0

Notice: Object of class NumberFormatter could not be converted to int in %s on 
line %d
string(1) 1



-- 
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

2009-05-09 Thread Jani Taskinen
janiSat May  9 20:37:47 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-srcNEWS 
  Log:
  - Moved to PHP_5_2
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.591r2=1.2027.2.547.2.965.2.592diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.591 
php-src/NEWS:1.2027.2.547.2.965.2.592
--- php-src/NEWS:1.2027.2.547.2.965.2.591   Thu May  7 23:29:54 2009
+++ php-src/NEWSSat May  9 20:37:47 2009
@@ -5,6 +5,7 @@
 
 - Disabled SQLite3::loadExtension for threaded SAPIs. (Scott)
 
+
 07 May 2009, PHP 5.3.0 RC 2
 - Upgraded bundled sqlite to version 3.6.13. (Ilia)
 - Upgraded bundled PCRE to version 7.9. (Nuno)
@@ -274,9 +275,6 @@
   (Keisial at gmail dot com, Greg)
 - Added support for using compressed connections with PDO_mysql. (Johannes)
 
-- Implemented FR #46595 (Use cc as the default compiler). (David Soria Parra)
-- Implemented FR #46513 (Missing compiler flags for suncc).  (David Soria 
Parra)
-
 - Deprecated define_syslog_variables(). (Kalle)
 - Deprecated ereg extension. (Felipe)
 



-- 
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

2009-05-09 Thread Scott MacVicar
scottmacSat May  9 20:42:44 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-srcNEWS 
  Log:
  BFN
  
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.592r2=1.2027.2.547.2.965.2.593diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.592 
php-src/NEWS:1.2027.2.547.2.965.2.593
--- php-src/NEWS:1.2027.2.547.2.965.2.592   Sat May  9 20:37:47 2009
+++ php-src/NEWSSat May  9 20:42:44 2009
@@ -2,6 +2,7 @@
 |||
 ?? ??? 2009, PHP 5.3.0 RC 3
 - Upgraded bundled sqlite to version 3.6.14. (Scott)
+- Upgraded bundled libmagic to 5.03 in the fileinfo extension. (Scott)
 
 - Disabled SQLite3::loadExtension for threaded SAPIs. (Scott)
 



-- 
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/spl spl_directory.c /ext/spl/tests bug47534.phpt

2009-05-09 Thread Etienne Kneuss
colder  Sat May  9 21:06:59 2009 UTC

  Added files: (Branch: PHP_5_3)
/php-src/ext/spl/tests  bug47534.phpt 

  Modified files:  
/php-src/ext/splspl_directory.c 
/php-srcNEWS 
  Log:
  MFH: Fix bug #47534 (RecursiveDirectoryIterator::getChildren ignoring 
CURRENT_AS_PATHNAME)
  
http://cvs.php.net/viewvc.cgi/php-src/ext/spl/spl_directory.c?r1=1.45.2.27.2.23.2.41r2=1.45.2.27.2.23.2.42diff_format=u
Index: php-src/ext/spl/spl_directory.c
diff -u php-src/ext/spl/spl_directory.c:1.45.2.27.2.23.2.41 
php-src/ext/spl/spl_directory.c:1.45.2.27.2.23.2.42
--- php-src/ext/spl/spl_directory.c:1.45.2.27.2.23.2.41 Tue Mar 10 23:28:17 2009
+++ php-src/ext/spl/spl_directory.c Sat May  9 21:06:58 2009
@@ -16,7 +16,7 @@
+--+
  */
 
-/* $Id: spl_directory.c,v 1.45.2.27.2.23.2.41 2009/03/10 23:28:17 helly Exp $ 
*/
+/* $Id: spl_directory.c,v 1.45.2.27.2.23.2.42 2009/05/09 21:06:58 colder Exp $ 
*/
 
 #ifdef HAVE_CONFIG_H
 # include config.h
@@ -1268,24 +1268,27 @@

spl_filesystem_object_get_file_name(intern TSRMLS_CC);
 
-   INIT_PZVAL(zflags);
-   INIT_PZVAL(zpath);
-   ZVAL_LONG(zflags, intern-flags);
-   ZVAL_STRINGL(zpath, intern-file_name, intern-file_name_len, 0);
-
-   spl_instantiate_arg_ex2(Z_OBJCE_P(getThis()), return_value, 0, zpath, 
zflags TSRMLS_CC);
-   
-   subdir = 
(spl_filesystem_object*)zend_object_store_get_object(return_value TSRMLS_CC);
-   if (subdir) {
-   if (intern-u.dir.sub_path  intern-u.dir.sub_path[0]) {
-   subdir-u.dir.sub_path_len = 
spprintf(subdir-u.dir.sub_path, 0, %s%c%s, intern-u.dir.sub_path, slash, 
intern-u.dir.entry.d_name);
-   } else {
-   subdir-u.dir.sub_path_len = 
strlen(intern-u.dir.entry.d_name);
-   subdir-u.dir.sub_path = 
estrndup(intern-u.dir.entry.d_name, subdir-u.dir.sub_path_len);
+   if (SPL_HAS_FLAG(intern-flags, SPL_FILE_DIR_CURRENT_AS_PATHNAME)) {
+   RETURN_STRINGL(intern-file_name, intern-file_name_len, 1);
+   } else {
+   INIT_PZVAL(zflags);
+   INIT_PZVAL(zpath);
+   ZVAL_LONG(zflags, intern-flags);
+   ZVAL_STRINGL(zpath, intern-file_name, intern-file_name_len, 
0);
+   spl_instantiate_arg_ex2(Z_OBJCE_P(getThis()), return_value, 0, 
zpath, zflags TSRMLS_CC);
+   
+   subdir = 
(spl_filesystem_object*)zend_object_store_get_object(return_value TSRMLS_CC);
+   if (subdir) {
+   if (intern-u.dir.sub_path  
intern-u.dir.sub_path[0]) {
+   subdir-u.dir.sub_path_len = 
spprintf(subdir-u.dir.sub_path, 0, %s%c%s, intern-u.dir.sub_path, slash, 
intern-u.dir.entry.d_name);
+   } else {
+   subdir-u.dir.sub_path_len = 
strlen(intern-u.dir.entry.d_name);
+   subdir-u.dir.sub_path = 
estrndup(intern-u.dir.entry.d_name, subdir-u.dir.sub_path_len);
+   }
+   subdir-info_class = intern-info_class;
+   subdir-file_class = intern-file_class;
+   subdir-oth = intern-oth;
}
-   subdir-info_class = intern-info_class;
-   subdir-file_class = intern-file_class;
-   subdir-oth = intern-oth;
}
 }
 /* }}} */
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.593r2=1.2027.2.547.2.965.2.594diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.593 
php-src/NEWS:1.2027.2.547.2.965.2.594
--- php-src/NEWS:1.2027.2.547.2.965.2.593   Sat May  9 20:42:44 2009
+++ php-src/NEWSSat May  9 21:06:59 2009
@@ -63,6 +63,8 @@
 - Fixed bug #47560 (explode()'s limit parameter odd behaviour). (Matt)
 - Fixed bug #47535 (Compilation failure in ps_fetch_from_1_to_8_bytes()).
   (Johannes)
+- Fixed bug #47534 (RecursiveDiteratoryIterator::getChildren ignoring
+  CURRENT_AS_PATHNAME). (Etienne)
 - Fixed bug #47516 (nowdoc can not be embed in heredoc but can be embed in
   double quote). (Dmitry)
 - Fixed bug #47038 (Memory leak in include). (Dmitry)

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



-- 
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) / NEWS /ext/pdo_sqlite sqlite_statement.c

2009-05-08 Thread Antony Dovgal
On 08.05.2009 03:29, Matteo Beccati wrote:
  #ifdef HAVE_CONFIG_H
  #include config.h
 @@ -265,11 +265,6 @@
   case SQLITE3_TEXT:
   *ptr = (char*)sqlite3_column_text(S-stmt, colno);
   *len = sqlite3_column_bytes(S-stmt, colno);
 - if (*len) {
 - /* sqlite3.h says the NUL terminator is 
 included in the byte count
 -  * for TEXT values */
 - *len--;
 - }
   return 1;

It doesn't look like no-op to me, but it's not clear what's being decremented.
I'd say it should do (*len)-- if the comment in sqlite3.h is correct.

-- 
Wbr, 
Antony Dovgal

-- 
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) / NEWS /ext/pdo_sqlite sqlite_statement.c

2009-05-08 Thread Matteo Beccati
Antony Dovgal ha scritto:
 On 08.05.2009 03:29, Matteo Beccati wrote:
  #ifdef HAVE_CONFIG_H
  #include config.h
 @@ -265,11 +265,6 @@
  case SQLITE3_TEXT:
  *ptr = (char*)sqlite3_column_text(S-stmt, colno);
  *len = sqlite3_column_bytes(S-stmt, colno);
 -if (*len) {
 -/* sqlite3.h says the NUL terminator is 
 included in the byte count
 - * for TEXT values */
 -*len--;
 -}
  return 1;
 
 It doesn't look like no-op to me, but it's not clear what's being decremented.
 I'd say it should do (*len)-- if the comment in sqlite3.h is correct.

By no-op I meant that it's not doing anything in a broader context,
i.e. it's not decreasing the length integer used by the caller function.

I've been pointed to the compiler warning (see bug topic of
http://bugs.php.net/bug.php?id=48185) and propery fixed it. When I ran
the test suite lots of test cases were failing because the output was
truncated.

I think that this by itself is the proof that sqlite3_column_bytes() is
not including the NULL terminator. To be sure I've also checked
sqlite3.h and couldn't find any reference to that behaviour.

The comment is wrong and the code is not doing what the comment tells,
so I thought that a clean up was required, both for consistency and to
fix the compiler warning.


Cheers
--
M.

-- 
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

2009-05-07 Thread Scott MacVicar
scottmacThu May  7 11:29:32 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-srcNEWS 
  Log:
  BFN
  
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.588r2=1.2027.2.547.2.965.2.589diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.588 
php-src/NEWS:1.2027.2.547.2.965.2.589
--- php-src/NEWS:1.2027.2.547.2.965.2.588   Wed May  6 18:57:45 2009
+++ php-src/NEWSThu May  7 11:29:32 2009
@@ -1,6 +1,7 @@
 PHPNEWS
 |||
 ?? ??? 2009, PHP 5.3.0 RC 3
+- Upgraded bundled sqlite to version 3.6.14. (Scott)
 
 07 May 2009, PHP 5.3.0 RC 2
 - Upgraded bundled sqlite to version 3.6.13. (Ilia)



-- 
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

2009-05-07 Thread Scott MacVicar
scottmacThu May  7 16:56:19 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-srcNEWS 
  Log:
  BFN
  
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.589r2=1.2027.2.547.2.965.2.590diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.589 
php-src/NEWS:1.2027.2.547.2.965.2.590
--- php-src/NEWS:1.2027.2.547.2.965.2.589   Thu May  7 11:29:32 2009
+++ php-src/NEWSThu May  7 16:56:18 2009
@@ -3,6 +3,8 @@
 ?? ??? 2009, PHP 5.3.0 RC 3
 - Upgraded bundled sqlite to version 3.6.14. (Scott)
 
+- Disabled SQLite3::loadExtension for threaded SAPIs. (Scott)
+
 07 May 2009, PHP 5.3.0 RC 2
 - Upgraded bundled sqlite to version 3.6.13. (Ilia)
 - Upgraded bundled PCRE to version 7.9. (Nuno)



-- 
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/pdo_sqlite sqlite_statement.c

2009-05-07 Thread Matteo Beccati
mbeccatiThu May  7 23:29:55 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-src/ext/pdo_sqlite sqlite_statement.c 
/php-srcNEWS 
  Log:
  MFH
  - Fixed bug #48185 removing no-op code
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/pdo_sqlite/sqlite_statement.c?r1=1.18.2.4.2.3.2.6r2=1.18.2.4.2.3.2.7diff_format=u
Index: php-src/ext/pdo_sqlite/sqlite_statement.c
diff -u php-src/ext/pdo_sqlite/sqlite_statement.c:1.18.2.4.2.3.2.6 
php-src/ext/pdo_sqlite/sqlite_statement.c:1.18.2.4.2.3.2.7
--- php-src/ext/pdo_sqlite/sqlite_statement.c:1.18.2.4.2.3.2.6  Wed Apr  1 
14:35:24 2009
+++ php-src/ext/pdo_sqlite/sqlite_statement.c   Thu May  7 23:29:54 2009
@@ -16,7 +16,7 @@
   +--+
 */
 
-/* $Id: sqlite_statement.c,v 1.18.2.4.2.3.2.6 2009/04/01 14:35:24 indeyets Exp 
$ */
+/* $Id: sqlite_statement.c,v 1.18.2.4.2.3.2.7 2009/05/07 23:29:54 mbeccati Exp 
$ */
 
 #ifdef HAVE_CONFIG_H
 #include config.h
@@ -265,11 +265,6 @@
case SQLITE3_TEXT:
*ptr = (char*)sqlite3_column_text(S-stmt, colno);
*len = sqlite3_column_bytes(S-stmt, colno);
-   if (*len) {
-   /* sqlite3.h says the NUL terminator is 
included in the byte count
-* for TEXT values */
-   *len--;
-   }
return 1;

default:
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.590r2=1.2027.2.547.2.965.2.591diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.590 
php-src/NEWS:1.2027.2.547.2.965.2.591
--- php-src/NEWS:1.2027.2.547.2.965.2.590   Thu May  7 16:56:18 2009
+++ php-src/NEWSThu May  7 23:29:54 2009
@@ -33,6 +33,8 @@
 - Added ability to throw exceptions from SQLite3 instead of warnings. (Scott)
 - Added startup notices for deprecated ini settings. (Kalle)
 
+- Fixed bug #48185 (warning: value computed is not used in
+  pdo_sqlite_stmt_get_col line 271). (Matteo)
 - Fixed bug #48087 (call_user_method() invalid free of arguments). (Felipe)
 - Fixed bug #48060 (pdo_pgsql - large objects are returned as empty). (Matteo)
 - Fixed bug #48034 (PHP crashes when script is 8192 (8KB) bytes long). (Dmitry)



-- 
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 configure.in /main php_version.h

2009-05-06 Thread Johannes Schlüter
johannesWed May  6 18:51:29 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-src/main   php_version.h 
/php-srcconfigure.in NEWS 
  Log:
  5.3.0RC2-dev
  
http://cvs.php.net/viewvc.cgi/php-src/main/php_version.h?r1=1.112.2.37.2.50.2.11r2=1.112.2.37.2.50.2.12diff_format=u
Index: php-src/main/php_version.h
diff -u php-src/main/php_version.h:1.112.2.37.2.50.2.11 
php-src/main/php_version.h:1.112.2.37.2.50.2.12
--- php-src/main/php_version.h:1.112.2.37.2.50.2.11 Mon Mar 23 20:40:36 2009
+++ php-src/main/php_version.h  Wed May  6 18:51:29 2009
@@ -3,6 +3,6 @@
 #define PHP_MAJOR_VERSION 5
 #define PHP_MINOR_VERSION 3
 #define PHP_RELEASE_VERSION 0
-#define PHP_EXTRA_VERSION RC2-dev
-#define PHP_VERSION 5.3.0RC2-dev
+#define PHP_EXTRA_VERSION RC2
+#define PHP_VERSION 5.3.0RC2
 #define PHP_VERSION_ID 50300
http://cvs.php.net/viewvc.cgi/php-src/configure.in?r1=1.579.2.52.2.77.2.49r2=1.579.2.52.2.77.2.50diff_format=u
Index: php-src/configure.in
diff -u php-src/configure.in:1.579.2.52.2.77.2.49 
php-src/configure.in:1.579.2.52.2.77.2.50
--- php-src/configure.in:1.579.2.52.2.77.2.49   Wed May  6 14:04:46 2009
+++ php-src/configure.inWed May  6 18:51:29 2009
@@ -1,4 +1,4 @@
-## $Id: configure.in,v 1.579.2.52.2.77.2.49 2009/05/06 14:04:46 iliaa Exp $ 
-*- autoconf -*-
+## $Id: configure.in,v 1.579.2.52.2.77.2.50 2009/05/06 18:51:29 johannes Exp $ 
-*- autoconf -*-
 dnl ## Process this file with autoconf to produce a configure script.
 
 divert(1)
@@ -42,7 +42,7 @@
 PHP_MAJOR_VERSION=5
 PHP_MINOR_VERSION=3
 PHP_RELEASE_VERSION=0
-PHP_EXTRA_VERSION=RC2-dev
+PHP_EXTRA_VERSION=RC2
 
PHP_VERSION=$PHP_MAJOR_VERSION.$PHP_MINOR_VERSION.$PHP_RELEASE_VERSION$PHP_EXTRA_VERSION
 PHP_VERSION_ID=`expr [$]PHP_MAJOR_VERSION \* 1 + [$]PHP_MINOR_VERSION \* 
100 + [$]PHP_RELEASE_VERSION`
 
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.586r2=1.2027.2.547.2.965.2.587diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.586 
php-src/NEWS:1.2027.2.547.2.965.2.587
--- php-src/NEWS:1.2027.2.547.2.965.2.586   Tue May  5 01:35:43 2009
+++ php-src/NEWSWed May  6 18:51:29 2009
@@ -1,6 +1,6 @@
 PHPNEWS
 |||
-?? ??? 200?, PHP 5.3.0 RC 2
+07 May 2009, PHP 5.3.0 RC 2
 - Upgraded bundled sqlite to version 3.6.13. (Ilia)
 - Upgraded bundled PCRE to version 7.9. (Nuno)
 - Upgraded bundled libmagic to 5.02 in the fileinfo extension. (Scott)
@@ -69,7 +69,8 @@
 - Fixed bug #42362 (HTTP status codes 204 and 304 should not be gzipped).
   (Scott, Edward Z. Yang)
 - Fixed PECL bug #16338 (phar extension uses php_stream_copy_to_stream). (Greg)
-- Fixed PECL bug #14646 (phar error message unclear with php stream wrappers). 
(Greg)
+- Fixed PECL bug #14646 (phar error message unclear with php stream wrappers).
+  (Greg)
 - Fixed an issue with ReflectionProperty::setAccessible().
   (Sebastian, Roman Borschel)
 



-- 
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) / NEWS configure.in /main php_version.h

2009-05-06 Thread Johannes Schlüter
On Wed, 2009-05-06 at 18:51 +, Johannes Schlüter wrote:
 johannes  Wed May  6 18:51:29 2009 UTC
 
   Modified files:  (Branch: PHP_5_3)
 /php-src/main php_version.h 
 /php-src  configure.in NEWS 
   Log:
   5.3.0RC2-dev

no -dev of course ;-)
  
 http://cvs.php.net/viewvc.cgi/php-src/main/php_version.h?r1=1.112.2.37.2.50.2.11r2=1.112.2.37.2.50.2.12diff_format=u
 Index: php-src/main/php_version.h
 diff -u php-src/main/php_version.h:1.112.2.37.2.50.2.11 
 php-src/main/php_version.h:1.112.2.37.2.50.2.12
 --- php-src/main/php_version.h:1.112.2.37.2.50.2.11   Mon Mar 23 20:40:36 2009
 +++ php-src/main/php_version.hWed May  6 18:51:29 2009
 @@ -3,6 +3,6 @@
  #define PHP_MAJOR_VERSION 5
  #define PHP_MINOR_VERSION 3
  #define PHP_RELEASE_VERSION 0
 -#define PHP_EXTRA_VERSION RC2-dev
 -#define PHP_VERSION 5.3.0RC2-dev
 +#define PHP_EXTRA_VERSION RC2
 +#define PHP_VERSION 5.3.0RC2
  #define PHP_VERSION_ID 50300
 http://cvs.php.net/viewvc.cgi/php-src/configure.in?r1=1.579.2.52.2.77.2.49r2=1.579.2.52.2.77.2.50diff_format=u
 Index: php-src/configure.in
 diff -u php-src/configure.in:1.579.2.52.2.77.2.49 
 php-src/configure.in:1.579.2.52.2.77.2.50
 --- php-src/configure.in:1.579.2.52.2.77.2.49 Wed May  6 14:04:46 2009
 +++ php-src/configure.in  Wed May  6 18:51:29 2009
 @@ -1,4 +1,4 @@
 -## $Id: configure.in,v 1.579.2.52.2.77.2.49 2009/05/06 14:04:46 iliaa Exp $ 
 -*- autoconf -*-
 +## $Id: configure.in,v 1.579.2.52.2.77.2.50 2009/05/06 18:51:29 johannes Exp 
 $ -*- autoconf -*-
  dnl ## Process this file with autoconf to produce a configure script.
  
  divert(1)
 @@ -42,7 +42,7 @@
  PHP_MAJOR_VERSION=5
  PHP_MINOR_VERSION=3
  PHP_RELEASE_VERSION=0
 -PHP_EXTRA_VERSION=RC2-dev
 +PHP_EXTRA_VERSION=RC2
  
 PHP_VERSION=$PHP_MAJOR_VERSION.$PHP_MINOR_VERSION.$PHP_RELEASE_VERSION$PHP_EXTRA_VERSION
  PHP_VERSION_ID=`expr [$]PHP_MAJOR_VERSION \* 1 + [$]PHP_MINOR_VERSION \* 
 100 + [$]PHP_RELEASE_VERSION`
  
 http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.586r2=1.2027.2.547.2.965.2.587diff_format=u
 Index: php-src/NEWS
 diff -u php-src/NEWS:1.2027.2.547.2.965.2.586 
 php-src/NEWS:1.2027.2.547.2.965.2.587
 --- php-src/NEWS:1.2027.2.547.2.965.2.586 Tue May  5 01:35:43 2009
 +++ php-src/NEWS  Wed May  6 18:51:29 2009
 @@ -1,6 +1,6 @@
  PHP
 NEWS
  
 |||
 -?? ??? 200?, PHP 5.3.0 RC 2
 +07 May 2009, PHP 5.3.0 RC 2
  - Upgraded bundled sqlite to version 3.6.13. (Ilia)
  - Upgraded bundled PCRE to version 7.9. (Nuno)
  - Upgraded bundled libmagic to 5.02 in the fileinfo extension. (Scott)
 @@ -69,7 +69,8 @@
  - Fixed bug #42362 (HTTP status codes 204 and 304 should not be gzipped).
(Scott, Edward Z. Yang)
  - Fixed PECL bug #16338 (phar extension uses php_stream_copy_to_stream). 
 (Greg)
 -- Fixed PECL bug #14646 (phar error message unclear with php stream 
 wrappers). (Greg)
 +- Fixed PECL bug #14646 (phar error message unclear with php stream 
 wrappers).
 +  (Greg)
  - Fixed an issue with ReflectionProperty::setAccessible().
(Sebastian, Roman Borschel)
  
 
 
 


-- 
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 configure.in /main php_version.h

2009-05-06 Thread Johannes Schlüter
johannesWed May  6 18:57:46 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-src/main   php_version.h 
/php-srcconfigure.in NEWS 
  Log:
  Back to -dev
  
http://cvs.php.net/viewvc.cgi/php-src/main/php_version.h?r1=1.112.2.37.2.50.2.12r2=1.112.2.37.2.50.2.13diff_format=u
Index: php-src/main/php_version.h
diff -u php-src/main/php_version.h:1.112.2.37.2.50.2.12 
php-src/main/php_version.h:1.112.2.37.2.50.2.13
--- php-src/main/php_version.h:1.112.2.37.2.50.2.12 Wed May  6 18:51:29 2009
+++ php-src/main/php_version.h  Wed May  6 18:57:45 2009
@@ -3,6 +3,6 @@
 #define PHP_MAJOR_VERSION 5
 #define PHP_MINOR_VERSION 3
 #define PHP_RELEASE_VERSION 0
-#define PHP_EXTRA_VERSION RC2
-#define PHP_VERSION 5.3.0RC2
+#define PHP_EXTRA_VERSION RC3-dev
+#define PHP_VERSION 5.3.0RC3-dev
 #define PHP_VERSION_ID 50300
http://cvs.php.net/viewvc.cgi/php-src/configure.in?r1=1.579.2.52.2.77.2.50r2=1.579.2.52.2.77.2.51diff_format=u
Index: php-src/configure.in
diff -u php-src/configure.in:1.579.2.52.2.77.2.50 
php-src/configure.in:1.579.2.52.2.77.2.51
--- php-src/configure.in:1.579.2.52.2.77.2.50   Wed May  6 18:51:29 2009
+++ php-src/configure.inWed May  6 18:57:45 2009
@@ -1,4 +1,4 @@
-## $Id: configure.in,v 1.579.2.52.2.77.2.50 2009/05/06 18:51:29 johannes Exp $ 
-*- autoconf -*-
+## $Id: configure.in,v 1.579.2.52.2.77.2.51 2009/05/06 18:57:45 johannes Exp $ 
-*- autoconf -*-
 dnl ## Process this file with autoconf to produce a configure script.
 
 divert(1)
@@ -42,7 +42,7 @@
 PHP_MAJOR_VERSION=5
 PHP_MINOR_VERSION=3
 PHP_RELEASE_VERSION=0
-PHP_EXTRA_VERSION=RC2
+PHP_EXTRA_VERSION=RC3-dev
 
PHP_VERSION=$PHP_MAJOR_VERSION.$PHP_MINOR_VERSION.$PHP_RELEASE_VERSION$PHP_EXTRA_VERSION
 PHP_VERSION_ID=`expr [$]PHP_MAJOR_VERSION \* 1 + [$]PHP_MINOR_VERSION \* 
100 + [$]PHP_RELEASE_VERSION`
 
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.587r2=1.2027.2.547.2.965.2.588diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.587 
php-src/NEWS:1.2027.2.547.2.965.2.588
--- php-src/NEWS:1.2027.2.547.2.965.2.587   Wed May  6 18:51:29 2009
+++ php-src/NEWSWed May  6 18:57:45 2009
@@ -1,5 +1,7 @@
 PHPNEWS
 |||
+?? ??? 2009, PHP 5.3.0 RC 3
+
 07 May 2009, PHP 5.3.0 RC 2
 - Upgraded bundled sqlite to version 3.6.13. (Ilia)
 - Upgraded bundled PCRE to version 7.9. (Nuno)



-- 
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) / NEWS /ext/filter/tests bug39763.phpt bug42718-2.phpt /ext/pcre/tests bug33200.phpt /ext/session/tests 001.phpt 003.phpt 004.phpt 005.phpt 006.phpt 007.phpt 008

2009-05-05 Thread Antony Dovgal
On 05.05.2009 01:18, Kalle Sommer Nielsen wrote:
 kalle Mon May  4 21:18:22 2009 UTC
 
   Modified files:  (Branch: PHP_5_3)
 /php-src  NEWS 
 /php-src/ext/filter/tests bug39763.phpt bug42718-2.phpt 
 /php-src/ext/pcre/tests   bug33200.phpt 
 /php-src/ext/session/tests001.phpt 003.phpt 004.phpt 005.phpt 
   006.phpt 007.phpt 008-php4.2.3.phpt 
   009.phpt 012.phpt 013.phpt 014.phpt 
   019.phpt 
 /php-src/ext/standard/tests/general_functions putenv_error1.phpt 
   putenv_error2.phpt 
 /php-src/ext/standard/tests/misc  syslog_vars_variation1.phpt 
 /php-src/ext/standard/tests/network   
   
 define_syslog_variables_variation-win32.phpt 
 /php-src/main main.c 
 /php-src/tests/basic  bug46313-win.phpt 
 /php-src/tests/security   magic_quotes_gpc.phpt 
   Log:
   Added E_DEPRECATED startup notice (5.3 only)

+25 test failures.

# cat /local/qa/5_3/ext/session/tests/007.diff
001+ PHP Warning:  Directive 'register_globals' is deprecated in PHP 5.3 and 
greater in Unknown on line 0
002+ PHP Warning:  Directive 'register_long_arrays' is deprecated in PHP 5.3 
and greater in Unknown on line 0
003+
012- PHP Warning:  Directive 'register_globals' is deprecated in PHP 5.3 and 
greater in Unknown on line 0
013- PHP Warning:  Directive 'register_long_arrays' is deprecated in PHP 5.3 
and greater in Unknown on line 0

-- 
Wbr, 
Antony Dovgal

-- 
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

2009-05-04 Thread Pierre-Alain Joye
pajoye  Mon May  4 12:23:56 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-srcNEWS 
  Log:
  - #47739
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.578r2=1.2027.2.547.2.965.2.579diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.578 
php-src/NEWS:1.2027.2.547.2.965.2.579
--- php-src/NEWS:1.2027.2.547.2.965.2.578   Sun May  3 19:58:49 2009
+++ php-src/NEWSMon May  4 12:23:56 2009
@@ -12,6 +12,7 @@
 
 - Implemented FR #41712 (curl progress callback: CURLOPT_PROGRESSFUNCTION).
   (sdteffen[at]gmail[dot].com, Pierre)
+- Implemented FR #47739 (Missing cURL option do disable IPv6) (Pierre)
 
 - Added timezone_version_get() to retrieve the version of the used timezone
   database. (Derick)



-- 
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

2009-05-04 Thread Jani Taskinen
janiMon May  4 19:02:27 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-srcNEWS 
  Log:
  - Fix news
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.580r2=1.2027.2.547.2.965.2.581diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.580 
php-src/NEWS:1.2027.2.547.2.965.2.581
--- php-src/NEWS:1.2027.2.547.2.965.2.580   Mon May  4 14:15:58 2009
+++ php-src/NEWSMon May  4 19:02:26 2009
@@ -7,14 +7,13 @@
 - Undeprecated ticks. (Arnaud)
 
 - Improved IMAP support (Pierre):
-  - Added imap_gc to clear the imap cache
-  - Added imap_utf8_to_mutf7 and imap_mutf7_to_utf8
+  . Added imap_gc() to clear the imap cache
+  . Added imap_utf8_to_mutf7() and imap_mutf7_to_utf8()
 
 - Implemented FR #41712 (curl progress callback: CURLOPT_PROGRESSFUNCTION).
   (sdteffen[at]gmail[dot].com, Pierre)
-- Implemented FR #47739 (Missing cURL option do disable IPv6) (Pierre)
-- Implemented FR #39637 (Missing cURL option CURLOPT_FTP_FILEMETHOD)
-  (Pierre)
+- Implemented FR #47739 (Missing cURL option do disable IPv6). (Pierre)
+- Implemented FR #39637 (Missing cURL option CURLOPT_FTP_FILEMETHOD). (Pierre)
 
 - Added timezone_version_get() to retrieve the version of the used timezone
   database. (Derick)



-- 
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

2009-05-04 Thread Scott MacVicar
scottmacMon May  4 21:11:41 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-srcNEWS 
  Log:
  BFN
  
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.581r2=1.2027.2.547.2.965.2.582diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.581 
php-src/NEWS:1.2027.2.547.2.965.2.582
--- php-src/NEWS:1.2027.2.547.2.965.2.581   Mon May  4 19:02:26 2009
+++ php-src/NEWSMon May  4 21:11:40 2009
@@ -3,6 +3,7 @@
 ?? ??? 200?, PHP 5.3.0 RC 2
 - Upgraded bundled sqlite to version 3.6.13. (Ilia)
 - Upgraded bundled PCRE to version 7.9. (Nuno)
+- Upgraded bundled libmagic to 5.02 in the fileinfo extension. (Scott)
 
 - Undeprecated ticks. (Arnaud)
 



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



  1   2   3   4   5   6   7   8   >