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

2009-01-04 Thread changelog
changelog   Mon Jan  5 01:32:20 2009 UTC

  Modified files:  
/ZendEngine2ChangeLog 
  Log:
  ChangeLog update
  
http://cvs.php.net/viewvc.cgi/ZendEngine2/ChangeLog?r1=1.1421r2=1.1422diff_format=u
Index: ZendEngine2/ChangeLog
diff -u ZendEngine2/ChangeLog:1.1421 ZendEngine2/ChangeLog:1.1422
--- ZendEngine2/ChangeLog:1.1421Sun Jan  4 01:32:28 2009
+++ ZendEngine2/ChangeLog   Mon Jan  5 01:32:20 2009
@@ -1,3 +1,15 @@
+2009-01-04  Marcus Boerger  p...@marcus-boerger.de
+
+* (PHP_5_3)
+  zend_closures.c
+  tests/closure_036.phpt:
+  - MFH - Set scope when copying a closure with a new this pointer.
+
+* zend_closures.c
+  tests/closure_036.phpt
+  tests/closure_036.phpt:
+  - Set scope when copying a closure with a new this pointer.
+
 2009-01-03  Marcus Boerger  p...@marcus-boerger.de
 
 * (PHP_5_3)
@@ -27344,7 +27356,7 @@
 2003-06-10  Jani Taskinen  sni...@iki.fi
 
 * zend_multiply.h:
-  - Missing $Id: ChangeLog,v 1.1421 2009/01/04 01:32:28 changelog Exp $ tag
+  - Missing $Id: ChangeLog,v 1.1422 2009/01/05 01:32:20 changelog Exp $ tag
 
 2003-06-10  James Cox  ja...@imajes.info
 
@@ -29068,7 +29080,7 @@
   zend_types.h
   zend_variables.c
   zend_variables.h:
-  - Added some missing CVS $Id: ChangeLog,v 1.1421 2009/01/04 01:32:28 
changelog Exp $ tags, headers and footers.
+  - Added some missing CVS $Id: ChangeLog,v 1.1422 2009/01/05 01:32:20 
changelog Exp $ tags, headers and footers.
 
 2003-01-30  Ilia Alshanetsky  i...@prohost.org
 




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

2009-01-04 Thread Antony Dovgal
tony2001Sun Jan  4 15:19:49 2009 UTC

  Modified files:  
/php-src/ext/standard   info.c 
  Log:
  capitalize
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/info.c?r1=1.301r2=1.302diff_format=u
Index: php-src/ext/standard/info.c
diff -u php-src/ext/standard/info.c:1.301 php-src/ext/standard/info.c:1.302
--- php-src/ext/standard/info.c:1.301   Wed Dec 31 13:48:59 2008
+++ php-src/ext/standard/info.c Sun Jan  4 15:19:49 2009
@@ -18,7 +18,7 @@
+--+
 */
 
-/* $Id: info.c,v 1.301 2008/12/31 13:48:59 helly Exp $ */
+/* $Id: info.c,v 1.302 2009/01/04 15:19:49 tony2001 Exp $ */
 
 #include php.h
 #include php_ini.h
@@ -771,7 +771,7 @@
php_info_print_table_row(2, Configuration File (php.ini) 
Path, PHP_CONFIG_FILE_PATH);
php_info_print_table_row(2, Loaded Configuration File, 
php_ini_opened_path ? php_ini_opened_path : (none));
php_info_print_table_row(2, Scan this dir for additional .ini 
files, php_ini_scanned_path ? php_ini_scanned_path : (none));
-   php_info_print_table_row(2, additional .ini files parsed, 
php_ini_scanned_files ? php_ini_scanned_files : (none));
+   php_info_print_table_row(2, Additional .ini files parsed, 
php_ini_scanned_files ? php_ini_scanned_files : (none));
 
snprintf(temp_api, sizeof(temp_api), %d, PHP_API_VERSION);
php_info_print_table_row(2, PHP API, temp_api);



-- 
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) / .gdbinit

2009-01-04 Thread Marcus Boerger
helly   Sun Jan  4 15:20:19 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-src.gdbinit 
  Log:
  - MFH Add compiler globals as 
  
http://cvs.php.net/viewvc.cgi/php-src/.gdbinit?r1=1.10.4.3.2.1.2.1r2=1.10.4.3.2.1.2.2diff_format=u
Index: php-src/.gdbinit
diff -u php-src/.gdbinit:1.10.4.3.2.1.2.1 php-src/.gdbinit:1.10.4.3.2.1.2.2
--- php-src/.gdbinit:1.10.4.3.2.1.2.1   Sun Oct 14 02:48:30 2007
+++ php-src/.gdbinitSun Jan  4 15:20:19 2009
@@ -2,13 +2,16 @@
if basic_functions_module.zts
set $tsrm_ls = ts_resource_ex(0, 0)
set $eg = ((zend_executor_globals) (*((void ***) 
$tsrm_ls))[executor_globals_id-1])
+   set $cg = ((zend_compiler_globals) (*((void ***) 
$tsrm_ls))[compiler_globals_id-1])
else
set $eg = executor_globals
+   set $cg = compiler_globals
end
 end
 
 document executor_globals
portable way of accessing executor_globals, set $eg
+   this also sets compiler_globals to $cg
ZTS detection is automatically based on ext/standard module struct
 end
 



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



[PHP-CVS] cvs: php-src / run-tests.php

2009-01-04 Thread Antony Dovgal
tony2001Sun Jan  4 15:56:38 2009 UTC

  Modified files:  
/php-srcrun-tests.php 
  Log:
  fix PDO and other 'redirected' tests - add that # original source line only 
if the test fails
  
  
http://cvs.php.net/viewvc.cgi/php-src/run-tests.php?r1=1.387r2=1.388diff_format=u
Index: php-src/run-tests.php
diff -u php-src/run-tests.php:1.387 php-src/run-tests.php:1.388
--- php-src/run-tests.php:1.387 Wed Dec 31 17:32:54 2008
+++ php-src/run-tests.php   Sun Jan  4 15:56:38 2009
@@ -24,7 +24,7 @@
+--+
  */
 
-/* $Id: run-tests.php,v 1.387 2008/12/31 17:32:54 zoe Exp $ */
+/* $Id: run-tests.php,v 1.388 2009/01/04 15:56:38 tony2001 Exp $ */
 
 /* Sanity check to ensure that pcre extension needed by this script is 
available.
  * In the event it is not, print a nice error message indicating that this 
script will
@@ -617,7 +617,7 @@
$html_output = is_resource($html_file);
break;
case '--version':
-   echo '$Revision: 1.387 $' . \n;
+   echo '$Revision: 1.388 $' . \n;
exit(1);
 
default:
@@ -1338,7 +1338,6 @@
if (is_array($IN_REDIRECT)) {
$tested = $IN_REDIRECT['prefix'] . ' ' . 
trim($section_text['TEST']);
$tested_file = $tmp_relative_file;
-   $section_text['FILE'] = # original source file: $shortname\n 
. $section_text['FILE'];
}
 
// unlink old test results
@@ -1871,6 +1870,7 @@
 
// write .diff
$diff = generate_diff($wanted, $wanted_re, $output);
+   $diff = # original source file: $shortname\n . $diff;
show_file_block('diff', $diff);
if (strpos($log_format, 'D') !== false  
file_put_contents($diff_filename, (binary) $diff, FILE_BINARY) === false) {
error(Cannot create test diff - $diff_filename);



-- 
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) / run-tests.php

2009-01-04 Thread Antony Dovgal
tony2001Sun Jan  4 15:56:45 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-srcrun-tests.php 
  Log:
  MFH: fix PDO and other 'redirected' tests - add that # original source line 
only if the test fails
  
  
http://cvs.php.net/viewvc.cgi/php-src/run-tests.php?r1=1.226.2.37.2.35.2.58r2=1.226.2.37.2.35.2.59diff_format=u
Index: php-src/run-tests.php
diff -u php-src/run-tests.php:1.226.2.37.2.35.2.58 
php-src/run-tests.php:1.226.2.37.2.35.2.59
--- php-src/run-tests.php:1.226.2.37.2.35.2.58  Wed Dec 31 17:35:50 2008
+++ php-src/run-tests.php   Sun Jan  4 15:56:45 2009
@@ -24,7 +24,7 @@
+--+
  */
 
-/* $Id: run-tests.php,v 1.226.2.37.2.35.2.58 2008/12/31 17:35:50 zoe Exp $ */
+/* $Id: run-tests.php,v 1.226.2.37.2.35.2.59 2009/01/04 15:56:45 tony2001 Exp 
$ */
 
 /* Sanity check to ensure that pcre extension needed by this script is 
available.
  * In the event it is not, print a nice error message indicating that this 
script will
@@ -617,7 +617,7 @@
$html_output = is_resource($html_file);
break;
case '--version':
-   echo '$Revision: 1.226.2.37.2.35.2.58 
$' . \n;
+   echo '$Revision: 1.226.2.37.2.35.2.59 
$' . \n;
exit(1);
 
default:
@@ -1338,7 +1338,6 @@
if (is_array($IN_REDIRECT)) {
$tested = $IN_REDIRECT['prefix'] . ' ' . 
trim($section_text['TEST']);
$tested_file = $tmp_relative_file;
-   $section_text['FILE'] = # original source file: $shortname\n 
. $section_text['FILE'];
}
 
// unlink old test results
@@ -1871,6 +1870,7 @@
 
// write .diff
$diff = generate_diff($wanted, $wanted_re, $output);
+   $diff = # original source file: $shortname\n . $diff;
show_file_block('diff', $diff);
if (strpos($log_format, 'D') !== false  
file_put_contents($diff_filename, (binary) $diff, FILE_BINARY) === false) {
error(Cannot create test diff - $diff_filename);



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



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

2009-01-04 Thread Pierre Joye
hi Tony!

On Sun, Jan 4, 2009 at 4:19 PM, Antony Dovgal tony2...@php.net wrote:
 tony2001Sun Jan  4 15:19:57 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-src/ext/standard   info.c
  Log:
  MFH

Can you add the description as well (for MF*), like

MFH: Capitalize

It makes reviewing and history check easier. Thanks!

Cheers,
-- 
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) /ext/standard info.c

2009-01-04 Thread Antony Dovgal
Sure, will do.

On 04.01.2009 18:58, Pierre Joye wrote:
 hi Tony!
 
 On Sun, Jan 4, 2009 at 4:19 PM, Antony Dovgal tony2...@php.net wrote:
 tony2001Sun Jan  4 15:19:57 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-src/ext/standard   info.c
  Log:
  MFH
 
 Can you add the description as well (for MF*), like
 
 MFH: Capitalize
 
 It makes reviewing and history check easier. Thanks!
 
 Cheers,


-- 
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) /ext/sqlite3 sqlite3.c

2009-01-04 Thread Ilia Alshanetsky
iliaa   Sun Jan  4 16:31:12 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-src/ext/sqlite3sqlite3.c 
  Log:
  Added missing initialization
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/sqlite3/sqlite3.c?r1=1.1.2.24r2=1.1.2.25diff_format=u
Index: php-src/ext/sqlite3/sqlite3.c
diff -u php-src/ext/sqlite3/sqlite3.c:1.1.2.24 
php-src/ext/sqlite3/sqlite3.c:1.1.2.25
--- php-src/ext/sqlite3/sqlite3.c:1.1.2.24  Sat Jan  3 22:08:38 2009
+++ php-src/ext/sqlite3/sqlite3.c   Sun Jan  4 16:31:12 2009
@@ -16,7 +16,7 @@
+--+
 */
 
-/* $Id: sqlite3.c,v 1.1.2.24 2009/01/03 22:08:38 felipe Exp $ */
+/* $Id: sqlite3.c,v 1.1.2.25 2009/01/04 16:31:12 iliaa Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include config.h
@@ -70,7 +70,7 @@
php_sqlite3_db_object *db_obj;
zval *object = getThis();
char *filename, *encryption_key, *fullpath;
-   int filename_len, encryption_key_len;
+   int filename_len, encryption_key_len = 0;
long flags = SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE;
db_obj = (php_sqlite3_db_object *)zend_object_store_get_object(object 
TSRMLS_CC);
 



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



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

2009-01-04 Thread Ilia Alshanetsky
iliaa   Sun Jan  4 16:32:05 2009 UTC

  Modified files:  
/php-src/ext/sqlite3sqlite3.c 
  Log:
  
  MFB: Added missing initialization
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/sqlite3/sqlite3.c?r1=1.26r2=1.27diff_format=u
Index: php-src/ext/sqlite3/sqlite3.c
diff -u php-src/ext/sqlite3/sqlite3.c:1.26 php-src/ext/sqlite3/sqlite3.c:1.27
--- php-src/ext/sqlite3/sqlite3.c:1.26  Sat Jan  3 22:07:22 2009
+++ php-src/ext/sqlite3/sqlite3.c   Sun Jan  4 16:32:05 2009
@@ -16,7 +16,7 @@
+--+
 */
 
-/* $Id: sqlite3.c,v 1.26 2009/01/03 22:07:22 felipe Exp $ */
+/* $Id: sqlite3.c,v 1.27 2009/01/04 16:32:05 iliaa Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include config.h
@@ -72,7 +72,7 @@
zval *object = getThis();
char *filename, *encryption_key, *fullpath;
zend_uchar filename_type;
-   int filename_len, encryption_key_len;
+   int filename_len, encryption_key_len = 0;
long flags = SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE;
db_obj = (php_sqlite3_db_object *)zend_object_store_get_object(object 
TSRMLS_CC);
 



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



Re: [PHP-CVS] cvs: php-src / run-tests.php

2009-01-04 Thread Jani Taskinen
Don't forget PHP_5_2. It's so annoying when this thing gets out-of-sync when 
same script should run in any PHP version.. :)


--Jani


Antony Dovgal kirjoitti:

tony2001Sun Jan  4 15:56:38 2009 UTC

  Modified files:  
/php-src	run-tests.php 
  Log:

  fix PDO and other 'redirected' tests - add that # original source line only 
if the test fails
  
  
http://cvs.php.net/viewvc.cgi/php-src/run-tests.php?r1=1.387r2=1.388diff_format=u

Index: php-src/run-tests.php
diff -u php-src/run-tests.php:1.387 php-src/run-tests.php:1.388
--- php-src/run-tests.php:1.387 Wed Dec 31 17:32:54 2008
+++ php-src/run-tests.php   Sun Jan  4 15:56:38 2009
@@ -24,7 +24,7 @@
+--+
  */
 
-/* $Id: run-tests.php,v 1.387 2008/12/31 17:32:54 zoe Exp $ */

+/* $Id: run-tests.php,v 1.388 2009/01/04 15:56:38 tony2001 Exp $ */
 
 /* Sanity check to ensure that pcre extension needed by this script is available.

  * In the event it is not, print a nice error message indicating that this 
script will
@@ -617,7 +617,7 @@
$html_output = is_resource($html_file);
break;
case '--version':
-   echo '$Revision: 1.387 $' . \n;
+   echo '$Revision: 1.388 $' . \n;
exit(1);
 
 default:

@@ -1338,7 +1338,6 @@
if (is_array($IN_REDIRECT)) {
$tested = $IN_REDIRECT['prefix'] . ' ' . 
trim($section_text['TEST']);
$tested_file = $tmp_relative_file;
-   $section_text['FILE'] = # original source file: $shortname\n 
. $section_text['FILE'];
}
 
 	// unlink old test results

@@ -1871,6 +1870,7 @@
 
 		// write .diff

$diff = generate_diff($wanted, $wanted_re, $output);
+   $diff = # original source file: $shortname\n . $diff;
show_file_block('diff', $diff);
if (strpos($log_format, 'D') !== false  
file_put_contents($diff_filename, (binary) $diff, FILE_BINARY) === false) {
error(Cannot create test diff - $diff_filename);






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



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

2009-01-04 Thread Antony Dovgal
tony2001Sun Jan  4 15:19:57 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-src/ext/standard   info.c 
  Log:
  MFH
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/info.c?r1=1.249.2.10.2.14.2.21r2=1.249.2.10.2.14.2.22diff_format=u
Index: php-src/ext/standard/info.c
diff -u php-src/ext/standard/info.c:1.249.2.10.2.14.2.21 
php-src/ext/standard/info.c:1.249.2.10.2.14.2.22
--- php-src/ext/standard/info.c:1.249.2.10.2.14.2.21Wed Dec 31 13:49:14 2008
+++ php-src/ext/standard/info.c Sun Jan  4 15:19:57 2009
@@ -18,7 +18,7 @@
+--+
 */
 
-/* $Id: info.c,v 1.249.2.10.2.14.2.21 2008/12/31 13:49:14 helly Exp $ */
+/* $Id: info.c,v 1.249.2.10.2.14.2.22 2009/01/04 15:19:57 tony2001 Exp $ */
 
 #include php.h
 #include php_ini.h
@@ -685,7 +685,7 @@
php_info_print_table_row(2, Configuration File (php.ini) 
Path, PHP_CONFIG_FILE_PATH);
php_info_print_table_row(2, Loaded Configuration File, 
php_ini_opened_path ? php_ini_opened_path : (none));
php_info_print_table_row(2, Scan this dir for additional .ini 
files, php_ini_scanned_path ? php_ini_scanned_path : (none));
-   php_info_print_table_row(2, additional .ini files parsed, 
php_ini_scanned_files ? php_ini_scanned_files : (none));
+   php_info_print_table_row(2, Additional .ini files parsed, 
php_ini_scanned_files ? php_ini_scanned_files : (none));
 
snprintf(temp_api, sizeof(temp_api), %d, PHP_API_VERSION);
php_info_print_table_row(2, PHP API, temp_api);



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



[PHP-CVS] cvs: php-src / .gdbinit

2009-01-04 Thread Marcus Boerger
helly   Sun Jan  4 15:20:02 2009 UTC

  Modified files:  
/php-src.gdbinit 
  Log:
  - Add compiler globals as 
  
http://cvs.php.net/viewvc.cgi/php-src/.gdbinit?r1=1.24r2=1.25diff_format=u
Index: php-src/.gdbinit
diff -u php-src/.gdbinit:1.24 php-src/.gdbinit:1.25
--- php-src/.gdbinit:1.24   Sat Jan  3 12:18:53 2009
+++ php-src/.gdbinitSun Jan  4 15:20:02 2009
@@ -2,13 +2,16 @@
if basic_functions_module.zts
set $tsrm_ls = ts_resource_ex(0, 0)
set $eg = ((zend_executor_globals) (*((void ***) 
$tsrm_ls))[executor_globals_id-1])
+   set $cg = ((zend_compiler_globals) (*((void ***) 
$tsrm_ls))[compiler_globals_id-1])
else
set $eg = executor_globals
+   set $cg = compiler_globals
end
 end
 
 document executor_globals
portable way of accessing executor_globals, set $eg
+   this also sets compiler_globals to $cg
ZTS detection is automatically based on ext/standard module struct
 end
 



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



[PHP-CVS] cvs: php-src(PHP_5_3) /ext/standard/tests/general_functions phpinfo.phpt

2009-01-04 Thread Antony Dovgal
tony2001Sun Jan  4 15:21:56 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-src/ext/standard/tests/general_functions   phpinfo.phpt 
  Log:
  fix test
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/phpinfo.phpt?r1=1.1.2.2.2.4r2=1.1.2.2.2.5diff_format=u
Index: php-src/ext/standard/tests/general_functions/phpinfo.phpt
diff -u php-src/ext/standard/tests/general_functions/phpinfo.phpt:1.1.2.2.2.4 
php-src/ext/standard/tests/general_functions/phpinfo.phpt:1.1.2.2.2.5
--- php-src/ext/standard/tests/general_functions/phpinfo.phpt:1.1.2.2.2.4   
Sun Aug 17 16:44:13 2008
+++ php-src/ext/standard/tests/general_functions/phpinfo.phpt   Sun Jan  4 
15:21:56 2009
@@ -25,6 +25,8 @@
 Virtual Directory Support = %s
 Configuration File (php.ini) Path = %s
 Loaded Configuration File = %a
+Scan this dir for additional .ini files = %a
+Additional .ini files parsed = %a
 PHP API = %d
 PHP Extension = %d
 Zend Extension = %d



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



[PHP-CVS] cvs: php-src(PHP_5_2) /ext/posix posix.c

2009-01-04 Thread Antony Dovgal
tony2001Sun Jan  4 15:08:34 2009 UTC

  Modified files:  (Branch: PHP_5_2)
/php-src/ext/posix  posix.c 
  Log:
  MFH: Fix build where __USE_GNU is used instead of _GNU_SOURCE to define 
utsname.domainname
  (c) felipe, Sun Jun 22 21:45:42 2008 UTC
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/posix/posix.c?r1=1.70.2.3.2.21r2=1.70.2.3.2.22diff_format=u
Index: php-src/ext/posix/posix.c
diff -u php-src/ext/posix/posix.c:1.70.2.3.2.21 
php-src/ext/posix/posix.c:1.70.2.3.2.22
--- php-src/ext/posix/posix.c:1.70.2.3.2.21 Wed Dec 31 11:17:42 2008
+++ php-src/ext/posix/posix.c   Sun Jan  4 15:08:34 2009
@@ -16,7 +16,7 @@
+--+
  */
 
-/* $Id: posix.c,v 1.70.2.3.2.21 2008/12/31 11:17:42 sebastian Exp $ */
+/* $Id: posix.c,v 1.70.2.3.2.22 2009/01/04 15:08:34 tony2001 Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include config.h
@@ -36,6 +36,11 @@
 #endif
 
 #include sys/resource.h
+
+#if defined(_GNU_SOURCE)  !defined(__USE_GNU)
+# define __USE_GNU
+#endif
+
 #include sys/utsname.h
 #include sys/types.h
 #include sys/stat.h
@@ -147,7 +152,7 @@
 static PHP_MINFO_FUNCTION(posix)
 {
php_info_print_table_start();
-   php_info_print_table_row(2, Revision, $Revision: 1.70.2.3.2.21 $);
+   php_info_print_table_row(2, Revision, $Revision: 1.70.2.3.2.22 $);
php_info_print_table_end();
 }
 /* }}} */



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



[PHP-CVS] cvs: php-src /ext/standard/tests/general_functions phpinfo.phpt

2009-01-04 Thread Antony Dovgal
tony2001Sun Jan  4 15:21:39 2009 UTC

  Modified files:  
/php-src/ext/standard/tests/general_functions   phpinfo.phpt 
  Log:
  fix test
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/phpinfo.phpt?r1=1.6r2=1.7diff_format=u
Index: php-src/ext/standard/tests/general_functions/phpinfo.phpt
diff -u php-src/ext/standard/tests/general_functions/phpinfo.phpt:1.6 
php-src/ext/standard/tests/general_functions/phpinfo.phpt:1.7
--- php-src/ext/standard/tests/general_functions/phpinfo.phpt:1.6   Sun Aug 
17 16:43:36 2008
+++ php-src/ext/standard/tests/general_functions/phpinfo.phpt   Sun Jan  4 
15:21:39 2009
@@ -25,6 +25,8 @@
 Virtual Directory Support = %s
 Configuration File (php.ini) Path = %s
 Loaded Configuration File = %a
+Scan this dir for additional .ini files = %a
+Additional .ini files parsed = %a
 PHP API = %d
 PHP Extension = %d
 Zend Extension = %d



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



[PHP-CVS] cvs: php-src(PHP_5_3) /sapi/embed php_embed.c

2009-01-04 Thread Pierre-Alain Joye
pajoye  Sun Jan  4 20:18:57 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-src/sapi/embed php_embed.c 
  Log:
  - fix build
  
http://cvs.php.net/viewvc.cgi/php-src/sapi/embed/php_embed.c?r1=1.11.2.1.2.5.2.5r2=1.11.2.1.2.5.2.6diff_format=u
Index: php-src/sapi/embed/php_embed.c
diff -u php-src/sapi/embed/php_embed.c:1.11.2.1.2.5.2.5 
php-src/sapi/embed/php_embed.c:1.11.2.1.2.5.2.6
--- php-src/sapi/embed/php_embed.c:1.11.2.1.2.5.2.5 Wed Dec 31 14:27:09 2008
+++ php-src/sapi/embed/php_embed.c  Sun Jan  4 20:18:57 2009
@@ -15,9 +15,10 @@
| Author: Edin Kadribasic ed...@php.net  |
+--+
 */
-/* $Id: php_embed.c,v 1.11.2.1.2.5.2.5 2008/12/31 14:27:09 helly Exp $ */
+/* $Id: php_embed.c,v 1.11.2.1.2.5.2.6 2009/01/04 20:18:57 pajoye Exp $ */
 
 #include php_embed.h
+#include ext/standard/php_standard.h
 
 #ifdef PHP_WIN32
 #include io.h



-- 
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 basic_functions.c /main SAPI.h main.c /sapi/cgi cgi_main.c /sapi/cli php_cli.c /sapi/embed php_embed.c

2009-01-04 Thread Stanislav Malyshev

Hi!


Why?
I'm not aware of any dl()-related problems in FastCGI.


FastCGI is like all other long-running SAPIs, so can't it have the same 
problems httpd has?

--
Stanislav Malyshev, Zend Software Architect
s...@zend.com   http://www.zend.com/
(408)253-8829   MSN: s...@zend.com

--
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 basic_functions.c /main SAPI.h main.c /sapi/cgi cgi_main.c /sapi/cli php_cli.c /sapi/embed php_embed.c

2009-01-04 Thread Steph Fox

Why?
I'm not aware of any dl()-related problems in FastCGI.


FastCGI is like all other long-running SAPIs, so can't it have the same 
problems httpd has?


OK that's confused me... I thought the problem with dl() was purely in 
threaded SAPIs? - otherwise surely it should've been dropped for CLI forever 
ago?


What did I miss?

- Steph

ps Happy new year Stas ;)



--
Stanislav Malyshev, Zend Software Architect
s...@zend.com   http://www.zend.com/
(408)253-8829   MSN: s...@zend.com

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




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