Anatoliy Belsky [Tue, 16 Oct 2012 09:03:32 +0000 (11:03 +0200)]
Fixed bug #63248 Load multiple magic files on win
- adapt config.w32 to not to use dirent lib anymore
- prevent libmagic from opening a dir handle under win
- reimplement the dir iteration functionality with streams
* 'master' of git.php.net:php-src: (47 commits)
Updating expected output in anticipation of mysqlnd_auth.c path
updated NEWS
Fixed bug #63248 Load multiple magic files on win
Refactor to using a stack based zval instead of dynamic allocation
Clean up unreported memory leak by switching to zval_ptr_dtor
fix allocation and copy issue
Really fix leaks, add test cases to prove it...
Fix issue with possible memory leak
Fix some double free issues, and more cleanup work
Refactor slightly to enable cleaner readability
Fix arg info for required params passed to needs_rehash
Fix ucwords error casing
A bunch of naming convention fixes. No functionality changes
Switch to using an ENUM for algorithms instead of a constant
Fix incorrect arg info required param count for password_hash
Add news entry for password API
Expose PASSWORD_BCRYPT_DEFAULT_COST constant and update test to use it
Remove bcrypt_cost ini entry from declaration
Switch test to using strict comparison for crypt fallback
Add tests for password_get_info and password_needs_rehash
...
* 'master' of git.php.net:php-src: (46 commits)
updated NEWS
Fixed bug #63248 Load multiple magic files on win
Refactor to using a stack based zval instead of dynamic allocation
Clean up unreported memory leak by switching to zval_ptr_dtor
fix allocation and copy issue
Really fix leaks, add test cases to prove it...
Fix issue with possible memory leak
Fix some double free issues, and more cleanup work
Refactor slightly to enable cleaner readability
Fix arg info for required params passed to needs_rehash
Fix ucwords error casing
A bunch of naming convention fixes. No functionality changes
Switch to using an ENUM for algorithms instead of a constant
Fix incorrect arg info required param count for password_hash
Add news entry for password API
Expose PASSWORD_BCRYPT_DEFAULT_COST constant and update test to use it
Remove bcrypt_cost ini entry from declaration
Switch test to using strict comparison for crypt fallback
Add tests for password_get_info and password_needs_rehash
Refactoring to use size_t instead of int most places
...
Gustavo Lopes [Fri, 12 Oct 2012 18:00:37 +0000 (20:00 +0200)]
Fix bug #63240 on stream_get_line()
stream_get_line() could contain the delimiter string if that string
had more than one character. The bug manifested itself when a read on
the stream ended with part of the delimiter string and the read after
would start with the rest of the delimiter string; provided that
the data of first read did not complete the max length result of the
call to stream_get_line() with the partial delimiter used in that max
length return. In that case, the delimiter will still appear in
the result, divided in two subsequent return values. That is not a bug.
See <http://www.mail-archive.com/internals@lists.php.net/msg61325.html>
Xinchen Hui [Mon, 1 Oct 2012 16:02:08 +0000 (00:02 +0800)]
Now we can set the tsrm_ls manually
get(ZTS build):
(gdb) zbacktrace
You can't do that without a process to debug.
(gdb) set_ts 0x4112500
(gdb) zbacktrace
[0x2b232e83a1d8] call_user_func(array(2)[0x2b232e879528],
array(1)[0x2b232e878fa0]) /tmp/1.php:4
[0x7fffcb2efd80] A->__call("xxx", array(1)[0x2b232e878fa0])
* pull-request/209:
Eliminate process running requirement of dump_bt in .gdbinit
Add missing ____executor_globals in dump_bt if needed
Implemented FR #63188 (Display class name when debugging with gdb macro zbacktrace)
* pull-request/210:
Fix bugs 62561,62896 (Modifying DateTime::__construct,date_create adds an hour) Prevent a unix timestamp, which is always GMT when being parsed, from taking on the local timezones DST flag.
Eliminate process running requirement of dump_bt in .gdbinit
Most of the time scope are avaible, but if not, it will be hard to get them,
since we can't call function if no proccess running. try to get class name
if we can.
Fix bugs 62561,62896 (Modifying DateTime::__construct,date_create adds an hour)
Prevent a unix timestamp, which is always GMT when being parsed, from taking on
the local timezones DST flag.