]> granicus.if.org Git - php/log
php
11 years agoRevert "Suppress compliation warning "warning: passing argument 1 of ‘_efree’ discard...
Christopher Jones [Thu, 22 Aug 2013 15:57:18 +0000 (08:57 -0700)]
Revert "Suppress compliation warning "warning: passing argument 1 of ‘_efree’ discards qualifiers from pointer target type""

This reverts commit f38bd22ed2c5f710f72e719d7ab2a41ce30541fc.

11 years agoMerge branch 'PHP-5.5'
Matteo Beccati [Thu, 22 Aug 2013 13:34:22 +0000 (15:34 +0200)]
Merge branch 'PHP-5.5'

* PHP-5.5:
  Fixed other compiler warnings

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Matteo Beccati [Thu, 22 Aug 2013 13:34:11 +0000 (15:34 +0200)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Fixed other compiler warnings

11 years agoFixed other compiler warnings
Matteo Beccati [Thu, 22 Aug 2013 13:33:12 +0000 (15:33 +0200)]
Fixed other compiler warnings

11 years agoMerge branch 'PHP-5.5'
Nikita Popov [Thu, 22 Aug 2013 12:07:32 +0000 (14:07 +0200)]
Merge branch 'PHP-5.5'

11 years agoApply pgsql notice test fixes to PHP-5.5
Nikita Popov [Thu, 22 Aug 2013 12:02:55 +0000 (14:02 +0200)]
Apply pgsql notice test fixes to PHP-5.5

11 years agoRemove trailing whitespace in test
Nikita Popov [Thu, 22 Aug 2013 11:08:47 +0000 (13:08 +0200)]
Remove trailing whitespace in test

Third try to make this work...

11 years agoForgot newline in test
Nikita Popov [Thu, 22 Aug 2013 10:26:34 +0000 (12:26 +0200)]
Forgot newline in test

11 years agoMerge branch 'PHP-5.5'
Nikita Popov [Thu, 22 Aug 2013 09:47:55 +0000 (11:47 +0200)]
Merge branch 'PHP-5.5'

11 years agoFix intl build
Nikita Popov [Thu, 22 Aug 2013 09:46:51 +0000 (11:46 +0200)]
Fix intl build

Turns out that you can't use implicit void pointer casts if intl
is compiled.

11 years agoFix pgsql notice test failure
Nikita Popov [Thu, 22 Aug 2013 09:31:56 +0000 (11:31 +0200)]
Fix pgsql notice test failure

11 years agoRemove duplicate calls to set filename & lineno for the DTRACE_FUNCTION_ENTRY/RETURN...
Christopher Jones [Tue, 20 Aug 2013 23:32:53 +0000 (16:32 -0700)]
Remove duplicate calls to set filename & lineno for the DTRACE_FUNCTION_ENTRY/RETURN cases

11 years agoMerge branch 'PHP-5.5'
Nikita Popov [Thu, 22 Aug 2013 09:01:19 +0000 (11:01 +0200)]
Merge branch 'PHP-5.5'

11 years agoFix bug #46311: Pointer aliasing issue results in miscompile on gcc4.4
Nikita Popov [Thu, 22 Aug 2013 08:56:50 +0000 (10:56 +0200)]
Fix bug #46311: Pointer aliasing issue results in miscompile on gcc4.4

The code violated the strict aliasing restriction, because it
dereferenced the same pointer as zval** once and as void**
afterwards. Now both occurances dereference void** and cast to
zval* in the former case.

11 years agoMerge branch 'PHP-5.5'
Christopher Jones [Wed, 21 Aug 2013 22:43:33 +0000 (15:43 -0700)]
Merge branch 'PHP-5.5'

* PHP-5.5:
  Suppress compiler warning "warning: variable ‘length’ set but not used [-Wunused-but-set-variable]"
  Suppress compiler warning "warning: variable ‘retcount’ set but not used [-Wunused-but-set-variable]"

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Christopher Jones [Wed, 21 Aug 2013 22:43:19 +0000 (15:43 -0700)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Suppress compiler warning "warning: variable ‘length’ set but not used [-Wunused-but-set-variable]"
  Suppress compiler warning "warning: variable ‘retcount’ set but not used [-Wunused-but-set-variable]"

11 years agoSuppress compiler warning "warning: variable ‘length’ set but not used [-Wunused...
Christopher Jones [Wed, 21 Aug 2013 22:39:14 +0000 (15:39 -0700)]
Suppress compiler warning "warning: variable ‘length’ set but not used [-Wunused-but-set-variable]"

11 years agoSuppress compiler warning "warning: variable ‘retcount’ set but not used [-Wunused...
Christopher Jones [Wed, 21 Aug 2013 22:37:02 +0000 (15:37 -0700)]
Suppress compiler warning "warning: variable ‘retcount’ set but not used [-Wunused-but-set-variable]"

11 years agoMerge branch 'master' of https://git.php.net/repository/php-src
Christopher Jones [Wed, 21 Aug 2013 22:23:50 +0000 (15:23 -0700)]
Merge branch 'master' of https://git.php.net/repository/php-src

* 'master' of https://git.php.net/repository/php-src:
  Suppress compliation warning "warning: passing argument 1 of ‘_efree’ discards qualifiers from pointer target type"

11 years agoMerge branch 'PHP-5.5' of https://git.php.net/repository/php-src into PHP-5.5
Christopher Jones [Wed, 21 Aug 2013 22:23:48 +0000 (15:23 -0700)]
Merge branch 'PHP-5.5' of https://git.php.net/repository/php-src into PHP-5.5

* 'PHP-5.5' of https://git.php.net/repository/php-src:
  Suppress compliation warning "warning: passing argument 1 of ‘_efree’ discards qualifiers from pointer target type"

11 years agoMerge branch 'PHP-5.4' of https://git.php.net/repository/php-src into PHP-5.4
Christopher Jones [Wed, 21 Aug 2013 22:23:48 +0000 (15:23 -0700)]
Merge branch 'PHP-5.4' of https://git.php.net/repository/php-src into PHP-5.4

* 'PHP-5.4' of https://git.php.net/repository/php-src:
  Suppress compliation warning "warning: passing argument 1 of ‘_efree’ discards qualifiers from pointer target type"

11 years agoMerge branch 'PHP-5.5'
Christopher Jones [Wed, 21 Aug 2013 22:07:13 +0000 (15:07 -0700)]
Merge branch 'PHP-5.5'

* PHP-5.5:
  Suppress compliation warning "warning: passing argument 1 of ‘_efree’ discards qualifiers from pointer target type"

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Christopher Jones [Wed, 21 Aug 2013 22:07:03 +0000 (15:07 -0700)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Suppress compliation warning "warning: passing argument 1 of ‘_efree’ discards qualifiers from pointer target type"

11 years agoSuppress compliation warning "warning: passing argument 1 of ‘_efree’ discards qualif...
Christopher Jones [Wed, 21 Aug 2013 22:06:23 +0000 (15:06 -0700)]
Suppress compliation warning "warning: passing argument 1 of ‘_efree’ discards qualifiers from pointer target type"

11 years agoMerge branch 'PHP-5.5'
Christopher Jones [Wed, 21 Aug 2013 17:35:07 +0000 (10:35 -0700)]
Merge branch 'PHP-5.5'

* PHP-5.5:
  Reduce compilation noise during normal compilation:     php-5.5/ext/session/session.c:836: warning: unused variable ‘struc’     php-5.5/ext/session/session.c:836: warning: unused variable ‘num_key’     php-5.5/ext/session/session.c:836: warning: unused variable ‘key_length’     php-5.5/ext/session/session.c:836: warning: unused variable ‘key’     php-5.5/ext/session/session.c:835: warning: unused variable ‘key_type’     php-5.5/ext/session/session.c:834: warning: unused variable ‘_ht’     php-5.5/ext/session/session.c:857: warning: unused variable ‘has_value’     php-5.5/ext/session/session.c:856: warning: unused variable ‘namelen’     php-5.5/ext/session/session.c:853: warning: unused variable ‘name’     php-5.5/ext/session/session.c:852: warning: unused variable ‘p’

11 years agoReduce compilation noise during normal compilation:
Christopher Jones [Wed, 21 Aug 2013 17:34:09 +0000 (10:34 -0700)]
Reduce compilation noise during normal compilation:
    php-5.5/ext/session/session.c:836: warning: unused variable ‘struc’
    php-5.5/ext/session/session.c:836: warning: unused variable ‘num_key’
    php-5.5/ext/session/session.c:836: warning: unused variable ‘key_length’
    php-5.5/ext/session/session.c:836: warning: unused variable ‘key’
    php-5.5/ext/session/session.c:835: warning: unused variable ‘key_type’
    php-5.5/ext/session/session.c:834: warning: unused variable ‘_ht’
    php-5.5/ext/session/session.c:857: warning: unused variable ‘has_value’
    php-5.5/ext/session/session.c:856: warning: unused variable ‘namelen’
    php-5.5/ext/session/session.c:853: warning: unused variable ‘name’
    php-5.5/ext/session/session.c:852: warning: unused variable ‘p’

    php-5.5/ext/session/mod_user.c:191: warning: unused variable ‘ret’

11 years agoMerge branch 'PHP-5.5'
Michael Wallner [Wed, 21 Aug 2013 17:18:29 +0000 (19:18 +0200)]
Merge branch 'PHP-5.5'

* PHP-5.5:
  Fix pointer sign warning showing up in EVERY build

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Michael Wallner [Wed, 21 Aug 2013 17:18:11 +0000 (19:18 +0200)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Fix pointer sign warning showing up in EVERY build

11 years agoFix pointer sign warning showing up in EVERY build
Michael Wallner [Wed, 21 Aug 2013 17:17:22 +0000 (19:17 +0200)]
Fix pointer sign warning showing up in EVERY build

11 years agoMerge branch 'PHP-5.5'
Anthony Ferrara [Wed, 21 Aug 2013 16:11:10 +0000 (12:11 -0400)]
Merge branch 'PHP-5.5'

* PHP-5.5:
  Fix return types of password API helper functions.

11 years agoFix return types of password API helper functions.
Anthony Ferrara [Wed, 21 Aug 2013 16:10:40 +0000 (12:10 -0400)]
Fix return types of password API helper functions.

This fixes issues that were found during static analysis by cjones where failure was impossible to detect due to return type mangling (casting an int to a char, then comparing to an int).

11 years agoMerge branch 'PHP-5.5'
Matteo Beccati [Wed, 21 Aug 2013 09:26:41 +0000 (11:26 +0200)]
Merge branch 'PHP-5.5'

* PHP-5.5:
  Fixed compiler warnings in ext/pgsql
  Fixed other compiler warnings in PDO_PGSQL
  Fixed compiler warning
  Update NEWS

Conflicts:
ext/pdo_pgsql/pgsql_driver.c

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Matteo Beccati [Wed, 21 Aug 2013 09:24:27 +0000 (11:24 +0200)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Fixed compiler warnings in ext/pgsql
  Fixed other compiler warnings in PDO_PGSQL
  Fixed compiler warning

11 years agoFixed compiler warnings in ext/pgsql
Matteo Beccati [Wed, 21 Aug 2013 09:21:43 +0000 (11:21 +0200)]
Fixed compiler warnings in ext/pgsql

11 years agoFixed other compiler warnings in PDO_PGSQL
Matteo Beccati [Wed, 21 Aug 2013 09:08:16 +0000 (11:08 +0200)]
Fixed other compiler warnings in PDO_PGSQL

11 years agoFixed compiler warning
Matteo Beccati [Wed, 21 Aug 2013 09:00:31 +0000 (11:00 +0200)]
Fixed compiler warning

I moved the constant to the enum in order to avoid this:
ext/pgsql/pgsql.c:3491: warning: comparison is always false due to limited range of data type

Works in gcc 4.6, but I'm not sure about other compilers.

11 years agoUpdate NEWS
Yasuo Ohgaki [Wed, 21 Aug 2013 02:19:06 +0000 (11:19 +0900)]
Update NEWS

11 years agoMerge branch 'PHP-5.5'
Yasuo Ohgaki [Wed, 21 Aug 2013 02:06:11 +0000 (11:06 +0900)]
Merge branch 'PHP-5.5'

* PHP-5.5:
  Add php_serialize session.serialize_handler. This patch closes

11 years agoAdd php_serialize session.serialize_handler. This patch closes
Yasuo Ohgaki [Wed, 21 Aug 2013 01:51:51 +0000 (10:51 +0900)]
Add php_serialize session.serialize_handler. This patch closes

  Request #25630
  Request #43980
  Request #54383
  Bug #65359

and many others similar to these that are closed as "wont fix" or
"not a bug".

Current serializers have limitations due to register_globals support
that are no longer supported. Changing existing serializer may cause
compatibility issue. Therefore, new handler is needed to remove
needless limitations.

php_serialize does not have special characters and allow numerical
index in $_SESSION. $_SESSION can be used as ordinary array.

11 years agoUpdate NEWS
Yasuo Ohgaki [Wed, 21 Aug 2013 01:38:59 +0000 (10:38 +0900)]
Update NEWS

11 years agoFixed Bug #65475
Yasuo Ohgaki [Tue, 20 Aug 2013 23:08:55 +0000 (08:08 +0900)]
Fixed Bug #65475

11 years agoFixed Bug #65475
Yasuo Ohgaki [Tue, 20 Aug 2013 23:08:55 +0000 (08:08 +0900)]
Fixed Bug #65475

11 years agoMerge branch 'PHP-5.5'
Christopher Jones [Tue, 20 Aug 2013 20:37:22 +0000 (13:37 -0700)]
Merge branch 'PHP-5.5'

* PHP-5.5:
  Quash compile warning "warning: 'flags' may be used uninitialized in this function"

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Christopher Jones [Tue, 20 Aug 2013 20:37:02 +0000 (13:37 -0700)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Quash compile warning "warning: 'flags' may be used uninitialized in this function"

11 years agoQuash compile warning "warning: 'flags' may be used uninitialized in this function"
Christopher Jones [Tue, 20 Aug 2013 20:36:18 +0000 (13:36 -0700)]
Quash compile warning "warning: 'flags' may be used uninitialized in this function"

11 years agoMerge branch 'master' of https://git.php.net/repository/php-src
Christopher Jones [Tue, 20 Aug 2013 18:27:01 +0000 (11:27 -0700)]
Merge branch 'master' of https://git.php.net/repository/php-src

* 'master' of https://git.php.net/repository/php-src:
  Fix bug #64953 (Postgres prepared statement positional parameter casting)

11 years agoMerge branch 'PHP-5.5' of https://git.php.net/repository/php-src into PHP-5.5
Christopher Jones [Tue, 20 Aug 2013 18:26:57 +0000 (11:26 -0700)]
Merge branch 'PHP-5.5' of https://git.php.net/repository/php-src into PHP-5.5

* 'PHP-5.5' of https://git.php.net/repository/php-src:
  Fix bug #64953 (Postgres prepared statement positional parameter casting)

11 years agoMerge branch 'PHP-5.4' of https://git.php.net/repository/php-src into PHP-5.4
Christopher Jones [Tue, 20 Aug 2013 18:26:49 +0000 (11:26 -0700)]
Merge branch 'PHP-5.4' of https://git.php.net/repository/php-src into PHP-5.4

* 'PHP-5.4' of https://git.php.net/repository/php-src:
  Fix bug #64953 (Postgres prepared statement positional parameter casting)

11 years agoMerge branch 'PHP-5.5'
Christopher Jones [Tue, 20 Aug 2013 18:04:51 +0000 (11:04 -0700)]
Merge branch 'PHP-5.5'

* PHP-5.5:
  Remove compilation warning "warning: no newline at end of file"

11 years agoRemove compilation warning "warning: no newline at end of file"
Christopher Jones [Tue, 20 Aug 2013 18:04:26 +0000 (11:04 -0700)]
Remove compilation warning "warning: no newline at end of file"

11 years agoMerge branch 'PHP-5.5'
Christopher Jones [Tue, 20 Aug 2013 18:03:26 +0000 (11:03 -0700)]
Merge branch 'PHP-5.5'

* PHP-5.5:
  Remove compilation warnings: "warning: no newline at end of file"

11 years agoRemove compilation warnings: "warning: no newline at end of file"
Christopher Jones [Tue, 20 Aug 2013 18:01:20 +0000 (11:01 -0700)]
Remove compilation warnings: "warning: no newline at end of file"

11 years agoMerge branch 'PHP-5.5'
Christopher Jones [Tue, 20 Aug 2013 17:55:16 +0000 (10:55 -0700)]
Merge branch 'PHP-5.5'

* PHP-5.5:
  Fix compile warning "intl_cppshims.h:34:7: warning: no newline at end of file"

11 years agoFix compile warning "intl_cppshims.h:34:7: warning: no newline at end of file"
Christopher Jones [Tue, 20 Aug 2013 17:55:10 +0000 (10:55 -0700)]
Fix compile warning "intl_cppshims.h:34:7: warning: no newline at end of file"

11 years agoMerge branch 'PHP-5.5'
Christopher Jones [Tue, 20 Aug 2013 17:47:00 +0000 (10:47 -0700)]
Merge branch 'PHP-5.5'

* PHP-5.5:
  Tabify
  Eliminate compiler warnings: "warning: pointer targets in initialization differ in signedness"
  Eliminate compiler warnings "warning: pointer targets in initialization differ in signedness"

11 years agoTabify
Christopher Jones [Tue, 20 Aug 2013 17:44:20 +0000 (10:44 -0700)]
Tabify

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Christopher Jones [Tue, 20 Aug 2013 17:42:20 +0000 (10:42 -0700)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Eliminate compiler warnings: "warning: pointer targets in initialization differ in signedness"
  Eliminate compiler warnings "warning: pointer targets in initialization differ in signedness"

11 years agoEliminate compiler warnings: "warning: pointer targets in initialization differ in...
Christopher Jones [Tue, 20 Aug 2013 17:41:29 +0000 (10:41 -0700)]
Eliminate compiler warnings: "warning: pointer targets in initialization differ in signedness"

11 years agoEliminate compiler warnings "warning: pointer targets in initialization differ in...
Christopher Jones [Tue, 20 Aug 2013 17:41:01 +0000 (10:41 -0700)]
Eliminate compiler warnings "warning: pointer targets in initialization differ in signedness"

11 years agoMerge branch 'PHP-5.5'
Christopher Jones [Tue, 20 Aug 2013 17:34:47 +0000 (10:34 -0700)]
Merge branch 'PHP-5.5'

* PHP-5.5:
  Remove some compilation warnings:   'unused variable' and   'enumeration value not handled in switch'

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Christopher Jones [Tue, 20 Aug 2013 17:34:13 +0000 (10:34 -0700)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Remove some compilation warnings:   'unused variable' and   'enumeration value not handled in switch'

11 years agoRemove some compilation warnings:
Christopher Jones [Tue, 20 Aug 2013 17:33:00 +0000 (10:33 -0700)]
Remove some compilation warnings:
  'unused variable' and
  'enumeration value not handled in switch'

11 years agoMerge branch 'PHP-5.5'
Michael Wallner [Tue, 20 Aug 2013 17:22:31 +0000 (19:22 +0200)]
Merge branch 'PHP-5.5'

* PHP-5.5:
  Fix bug #64953 (Postgres prepared statement positional parameter casting)

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Michael Wallner [Tue, 20 Aug 2013 17:21:53 +0000 (19:21 +0200)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Fix bug #64953 (Postgres prepared statement positional parameter casting)

Conflicts:
ext/pdo/pdo_sql_parser.c

11 years agoFix bug #64953 (Postgres prepared statement positional parameter casting)
Michael Wallner [Tue, 20 Aug 2013 17:19:02 +0000 (19:19 +0200)]
Fix bug #64953 (Postgres prepared statement positional parameter casting)

11 years agoMerge branch 'master' of https://git.php.net/repository/php-src
Christopher Jones [Tue, 20 Aug 2013 12:40:48 +0000 (05:40 -0700)]
Merge branch 'master' of https://git.php.net/repository/php-src

* 'master' of https://git.php.net/repository/php-src:
  split the glob() test to test different basedir
  Add session.use_strict_mode description to php.ini-*
  Revert wrong description
  bump version
  Fixed test bug
  Update NEWS

11 years agoMerge branch 'PHP-5.5' of https://git.php.net/repository/php-src into PHP-5.5
Christopher Jones [Tue, 20 Aug 2013 12:40:22 +0000 (05:40 -0700)]
Merge branch 'PHP-5.5' of https://git.php.net/repository/php-src into PHP-5.5

* 'PHP-5.5' of https://git.php.net/repository/php-src:
  Add session.use_strict_mode description to php.ini-*
  bump version
  Update NEWS

11 years agoMerge branch 'PHP-5.4' of https://git.php.net/repository/php-src into PHP-5.4
Christopher Jones [Tue, 20 Aug 2013 12:40:19 +0000 (05:40 -0700)]
Merge branch 'PHP-5.4' of https://git.php.net/repository/php-src into PHP-5.4

* 'PHP-5.4' of https://git.php.net/repository/php-src:
  bump version

11 years agosplit the glob() test to test different basedir
Anatol Belski [Tue, 20 Aug 2013 11:39:30 +0000 (13:39 +0200)]
split the glob() test to test different basedir

11 years agoMerge branch 'PHP-5.5'
Yasuo Ohgaki [Tue, 20 Aug 2013 09:30:46 +0000 (18:30 +0900)]
Merge branch 'PHP-5.5'

* PHP-5.5:
  Add session.use_strict_mode description to php.ini-*

11 years agoAdd session.use_strict_mode description to php.ini-*
Yasuo Ohgaki [Tue, 20 Aug 2013 09:30:30 +0000 (18:30 +0900)]
Add session.use_strict_mode description to php.ini-*

11 years agoMerge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
Yasuo Ohgaki [Tue, 20 Aug 2013 08:48:24 +0000 (17:48 +0900)]
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5

* 'PHP-5.5' of git.php.net:php-src: (27 commits)
  bump version
  Remove compile warning:    warning: unused variable ‘j’ [-Wunused-variable]
  Remove compile warnings:   warning: variable ‘lastch’ set but not used [-Wunused-but-set-variable]   warning: variable ‘buf’ set but not used [-Wunused-but-set-variable]
  Remove compile warning: variable ‘streamp’ set but not used [-Wunused-but-set-variable]
  Remove compile warnings:   variable ‘obj_cnt’ set but not used [-Wunused-but-set-variable]   unused variable ‘last’ [-Wunused-variable]   unused variable ‘j’ [-Wunused-variable]
  Remove compile warning "variable ‘mekeylen’ set but not used"
  Reduce (some more) compile noise of 'unused variable' and 'may be used uninitialized' warnings.
  Update NEWS
  Update NEWS
  fix bug #65481 (shutdown segfault due to serialize)
  Track created curl_slist structs by option so they can be updated in situ.
  Fixed bug #64503 (Compilation fails with error: conflicting types for 'zendparse').
  Fixed bug #64503 (Compilation fails with error: conflicting types for 'zendparse').
  added new glob() test
  fix using wrong buffer pointer
  Fix bug #65470 Segmentation fault in zend_error() with --enable-dtrace
  Fix for php bug #64802 includes test case
  Use in preg_replace_callback() using variables by reference and test for bug #64979
  https://bugs.php.net/bug.php?id=64979
  add CVE-2011-4718
  ...

11 years agoMerge branch 'master' of git.php.net:php-src
Yasuo Ohgaki [Tue, 20 Aug 2013 08:46:40 +0000 (17:46 +0900)]
Merge branch 'master' of git.php.net:php-src

* 'master' of git.php.net:php-src: (37 commits)
  Revert wrong description
  bump version
  Fixed test bug
  Remove compile warning:    warning: unused variable ‘j’ [-Wunused-variable]
  Remove compile warnings:   warning: variable ‘lastch’ set but not used [-Wunused-but-set-variable]   warning: variable ‘buf’ set but not used [-Wunused-but-set-variable]
  Remove compile warning: variable ‘streamp’ set but not used [-Wunused-but-set-variable]
  Remove compile warnings:   variable ‘obj_cnt’ set but not used [-Wunused-but-set-variable]   unused variable ‘last’ [-Wunused-variable]   unused variable ‘j’ [-Wunused-variable]
  Remove compile warning "variable ‘mekeylen’ set but not used"
  Reduce (some more) compile noise of 'unused variable' and 'may be used uninitialized' warnings.
  Update NEWS
  Update NEWS
  fix bug #65481 (shutdown segfault due to serialize)
  Track created curl_slist structs by option so they can be updated in situ.
  Fixed bug #64503 (Compilation fails with error: conflicting types for 'zendparse').
  Fixed bug #64503 (Compilation fails with error: conflicting types for 'zendparse').
  fixed glob() edge case on windows, ref bug #47358
  modified the new glob() test for master
  added new glob() test
  fix using wrong buffer pointer
  Fix bug #65470 Segmentation fault in zend_error() with --enable-dtrace
  ...

11 years agoRevert wrong description
Yasuo Ohgaki [Tue, 20 Aug 2013 08:37:21 +0000 (17:37 +0900)]
Revert wrong description

11 years agoMerge branch 'PHP-5.5'
Stanislav Malyshev [Tue, 20 Aug 2013 07:03:29 +0000 (00:03 -0700)]
Merge branch 'PHP-5.5'

* PHP-5.5:
  bump version
  Update NEWS

Conflicts:
configure.in
main/php_version.h

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Stanislav Malyshev [Tue, 20 Aug 2013 06:23:21 +0000 (23:23 -0700)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  bump version
  Update NEWS

Conflicts:
configure.in
main/php_version.h

11 years agobump version
Stanislav Malyshev [Tue, 20 Aug 2013 06:19:51 +0000 (23:19 -0700)]
bump version

11 years agoFixed test bug
Yasuo Ohgaki [Tue, 20 Aug 2013 05:25:01 +0000 (14:25 +0900)]
Fixed test bug

11 years agoMerge branch 'master' of https://git.php.net/repository/php-src
Christopher Jones [Tue, 20 Aug 2013 01:26:59 +0000 (18:26 -0700)]
Merge branch 'master' of https://git.php.net/repository/php-src

* 'master' of https://git.php.net/repository/php-src:
  Remove compile warning:    warning: unused variable ‘j’ [-Wunused-variable]
  Remove compile warnings:   warning: variable ‘lastch’ set but not used [-Wunused-but-set-variable]   warning: variable ‘buf’ set but not used [-Wunused-but-set-variable]
  Remove compile warning: variable ‘streamp’ set but not used [-Wunused-but-set-variable]
  Remove compile warnings:   variable ‘obj_cnt’ set but not used [-Wunused-but-set-variable]   unused variable ‘last’ [-Wunused-variable]   unused variable ‘j’ [-Wunused-variable]
  Remove compile warning "variable ‘mekeylen’ set but not used"
  Reduce (some more) compile noise of 'unused variable' and 'may be used uninitialized' warnings.
  Update NEWS

11 years agoMerge branch 'PHP-5.5' of https://git.php.net/repository/php-src into PHP-5.5
Christopher Jones [Tue, 20 Aug 2013 01:26:58 +0000 (18:26 -0700)]
Merge branch 'PHP-5.5' of https://git.php.net/repository/php-src into PHP-5.5

* 'PHP-5.5' of https://git.php.net/repository/php-src:
  Remove compile warning:    warning: unused variable ‘j’ [-Wunused-variable]
  Remove compile warnings:   warning: variable ‘lastch’ set but not used [-Wunused-but-set-variable]   warning: variable ‘buf’ set but not used [-Wunused-but-set-variable]
  Remove compile warning: variable ‘streamp’ set but not used [-Wunused-but-set-variable]
  Remove compile warnings:   variable ‘obj_cnt’ set but not used [-Wunused-but-set-variable]   unused variable ‘last’ [-Wunused-variable]   unused variable ‘j’ [-Wunused-variable]
  Remove compile warning "variable ‘mekeylen’ set but not used"
  Reduce (some more) compile noise of 'unused variable' and 'may be used uninitialized' warnings.

11 years agoMerge branch 'PHP-5.5'
Christopher Jones [Tue, 20 Aug 2013 00:58:53 +0000 (17:58 -0700)]
Merge branch 'PHP-5.5'

* PHP-5.5:
  Remove compile warning:
      warning: unused variable ‘j’ [-Wunused-variable]

11 years agoRemove compile warning:
Christopher Jones [Tue, 20 Aug 2013 00:58:42 +0000 (17:58 -0700)]
Remove compile warning:
   warning: unused variable ‘j’ [-Wunused-variable]

11 years agoMerge branch 'master' of https://git.php.net/repository/php-src
Christopher Jones [Tue, 20 Aug 2013 00:55:27 +0000 (17:55 -0700)]
Merge branch 'master' of https://git.php.net/repository/php-src

* 'master' of https://git.php.net/repository/php-src:
  fix bug #65481 (shutdown segfault due to serialize)
  Track created curl_slist structs by option so they can be updated in situ.
  Fixed bug #64503 (Compilation fails with error: conflicting types for 'zendparse').
  Fixed bug #64503 (Compilation fails with error: conflicting types for 'zendparse').

11 years agoMerge branch 'PHP-5.5' of https://git.php.net/repository/php-src into PHP-5.5
Christopher Jones [Tue, 20 Aug 2013 00:55:26 +0000 (17:55 -0700)]
Merge branch 'PHP-5.5' of https://git.php.net/repository/php-src into PHP-5.5

* 'PHP-5.5' of https://git.php.net/repository/php-src:
  Update NEWS
  fix bug #65481 (shutdown segfault due to serialize)
  Track created curl_slist structs by option so they can be updated in situ.
  Fixed bug #64503 (Compilation fails with error: conflicting types for 'zendparse').
  Fixed bug #64503 (Compilation fails with error: conflicting types for 'zendparse').

11 years agoMerge branch 'PHP-5.4' of https://git.php.net/repository/php-src into PHP-5.4
Christopher Jones [Tue, 20 Aug 2013 00:55:25 +0000 (17:55 -0700)]
Merge branch 'PHP-5.4' of https://git.php.net/repository/php-src into PHP-5.4

* 'PHP-5.4' of https://git.php.net/repository/php-src:
  Update NEWS
  fix bug #65481 (shutdown segfault due to serialize)
  Track created curl_slist structs by option so they can be updated in situ.
  Fixed bug #64503 (Compilation fails with error: conflicting types for 'zendparse').

11 years agoMerge branch 'PHP-5.5'
Christopher Jones [Tue, 20 Aug 2013 00:51:04 +0000 (17:51 -0700)]
Merge branch 'PHP-5.5'

* PHP-5.5:
  Remove compile warnings:
      warning: variable ‘lastch’ set but not used [-Wunused-but-set-variable]
      warning: variable ‘buf’ set but not used [-Wunused-but-set-variable]
  Remove compile warning: variable ‘streamp’ set but not used [-Wunused-but-set-variable]
  Remove compile warnings:
      variable ‘obj_cnt’ set but not used [-Wunused-but-set-variable]
      unused variable ‘last’ [-Wunused-variable]
      unused variable ‘j’ [-Wunused-variable]
  Remove compile warning "variable ‘mekeylen’ set but not used"

11 years agoRemove compile warnings:
Christopher Jones [Tue, 20 Aug 2013 00:48:46 +0000 (17:48 -0700)]
Remove compile warnings:
  warning: variable ‘lastch’ set but not used [-Wunused-but-set-variable]
  warning: variable ‘buf’ set but not used [-Wunused-but-set-variable]

11 years agoRemove compile warning: variable ‘streamp’ set but not used [-Wunused-but-set-variable]
Christopher Jones [Tue, 20 Aug 2013 00:46:50 +0000 (17:46 -0700)]
Remove compile warning: variable ‘streamp’ set but not used [-Wunused-but-set-variable]

11 years agoRemove compile warnings:
Christopher Jones [Tue, 20 Aug 2013 00:44:36 +0000 (17:44 -0700)]
Remove compile warnings:
  variable ‘obj_cnt’ set but not used [-Wunused-but-set-variable]
  unused variable ‘last’ [-Wunused-variable]
  unused variable ‘j’ [-Wunused-variable]

11 years agoRemove compile warning "variable ‘mekeylen’ set but not used"
Christopher Jones [Tue, 20 Aug 2013 00:40:15 +0000 (17:40 -0700)]
Remove compile warning "variable ‘mekeylen’ set but not used"

11 years agoMerge branch 'PHP-5.5'
Christopher Jones [Tue, 20 Aug 2013 00:18:28 +0000 (17:18 -0700)]
Merge branch 'PHP-5.5'

* PHP-5.5:
  Reduce (some more) compile noise of 'unused variable' and 'may be used uninitialized' warnings.
  Update NEWS

11 years agoReduce (some more) compile noise of 'unused variable' and 'may be used
Christopher Jones [Tue, 20 Aug 2013 00:17:54 +0000 (17:17 -0700)]
Reduce (some more) compile noise of 'unused variable' and 'may be used
uninitialized' warnings.

11 years agoUpdate NEWS
Christopher Jones [Tue, 20 Aug 2013 00:14:38 +0000 (17:14 -0700)]
Update NEWS

11 years agoUpdate NEWS
Christopher Jones [Tue, 20 Aug 2013 00:14:15 +0000 (17:14 -0700)]
Update NEWS

11 years agoMerge branch 'PHP-5.5'
Michael Wallner [Mon, 19 Aug 2013 22:09:26 +0000 (00:09 +0200)]
Merge branch 'PHP-5.5'

* PHP-5.5:
  fix bug #65481 (shutdown segfault due to serialize)

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Michael Wallner [Mon, 19 Aug 2013 22:08:55 +0000 (00:08 +0200)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  fix bug #65481 (shutdown segfault due to serialize)

Conflicts:
ext/standard/var_unserializer.c

11 years agofix bug #65481 (shutdown segfault due to serialize)
Michael Wallner [Mon, 29 Jul 2013 15:59:35 +0000 (17:59 +0200)]
fix bug #65481 (shutdown segfault due to serialize)

11 years agoMerge branch 'PHP-5.5'
Adam Harvey [Mon, 19 Aug 2013 19:19:13 +0000 (12:19 -0700)]
Merge branch 'PHP-5.5'

* PHP-5.5:
  Track created curl_slist structs by option so they can be updated in situ.

Conflicts:
ext/curl/interface.c

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Adam Harvey [Mon, 19 Aug 2013 19:16:36 +0000 (12:16 -0700)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Track created curl_slist structs by option so they can be updated in situ.

Conflicts:
ext/curl/interface.c

11 years agoTrack created curl_slist structs by option so they can be updated in situ.
Adam Harvey [Mon, 19 Aug 2013 18:58:57 +0000 (11:58 -0700)]
Track created curl_slist structs by option so they can be updated in situ.

At present, when curl_setopt() is called with an option that requires the
creation of a curl_slist, we simply push the new curl_slist onto a list to be
freed when the curl handle is freed. This avoids a memory leak, but means that
repeated calls to curl_setopt() on the same handle with the same option wastes
previously allocated memory on curl_slist structs that will no longer be read.

This commit changes the zend_llist that was previously used to track the lists
to a HashTable keyed by the option number, which means that we can simply
update the hash table each time curl_setopt() is called.

Fixes bug #65458 (curl memory leak).