Gustavo André dos Santos Lopes
d5c5bb0e96
- Fixed borked refactoring in r307437 (using SUCCESS/FAILURE return instead of
out parameter).
- Fixed signature of php_stream_copy_to_stream_ex to return int in 5.4/trunk
instead of size_t, as the function only returns SUCCESS/FAILURE.
15 years ago
Pierre Joye
048485587e
- ws
15 years ago
Xinchen Hui
fa1883de19
Omitted GCC warning "comparison is always false"
15 years ago
Derick Rethans
840ef1e320
- Turn on html_errors by default again in php.ini-production like it was in
PHP 5.3, but only generate docref links when the docref_root INI setting is
not empty.
15 years ago
Michael Wallner
70c284009d
fix coverity issue 1054: missing break/return
15 years ago
Xinchen Hui
5dc3195897
Avoiding strcpy, strcat, sprintf usage to make static analyzer happy
15 years ago
Pierrick Charron
71f76fe4d6
Remove unused variable
15 years ago
Pierrick Charron
5998f27321
Remove unused variable
15 years ago
Rasmus Lerdorf
1bc34a491c
Fix another Coverity warning by initializing this to NULL prior to the strtok_r call
15 years ago
Stanislav Malyshev
2f1752cb49
retore open_basedir check for unlink
15 years ago
Pierre Joye
dd06894b56
- do not resolve the link if all we want is to open that file
15 years ago
Pierre Joye
fc8afdf178
- Fixed bug 55124, recursive mkdir fails with current (dot) directory in path
15 years ago
Pierre Joye
4cbca588f7
- simplify
15 years ago
Pierre Joye
090bfcdfe1
- add expand_filepath_with_mode (not used anywhere yet but will be used for file ops (fopen&co) to avoid extra links resolution and other non required ops on open
15 years ago
Felipe Pena
f8a3334c89
- Added new macro to be used in the end of zend_function_entry declaration (Gwynne)
15 years ago
Pierre Joye
cc1c7af037
- remove magic quotes support, functions are kept (see the NEWS entry for the details) for BC reasons but do not allow to set enable MQ
15 years ago
Pierre Joye
ba22d8a37b
- fix bug #54204 , Can't set a value with a PATH section in php.ini
15 years ago
Ilia Alshanetsky
388a473255
Fixed bug #55014 (Compile failure due to improper use of ctime_r()).
15 years ago
Dmitry Stogov
8171e1d81e
Fixed bug #54332 (Crash in zend_mm_check_ptr // Heap corruption)
15 years ago
Hannes Magnusson
50b654ab0e
Fixed bug#55084 (Function registered by header_register_callback is
called only once per process). (Hannes)
also fixed an issue when header()s are sent from the callback function
15 years ago
Gustavo André dos Santos Lopes
9898f9070f
- Fixed bug #52935 (call exit in user_error_handler cause stream relate core).
15 years ago
Derick Rethans
29565d1a4c
- Added a new PHPAPI function to return module_initialized:
php_get_module_initialized().
15 years ago
Felipe Pena
72f7be3df0
- Improved parse error messages
15 years ago
Moriyoshi Koizumi
891acc30c0
- Forgot to commit these.
15 years ago
Pierre Joye
948d42d979
- fix build
15 years ago
Felipe Pena
6940a320af
- Removed win debug stuff
15 years ago
Pierre Joye
1d357d964c
- init win32 rng context once per process
15 years ago
Felipe Pena
2997719120
- Restore basename in filename on non Windows OS
15 years ago
Felipe Pena
4737910b69
- Added new parameter parsing option (p - for valid path (string without null byte in the middle))
# The tests will be fixed in the next commits
15 years ago
Ilia Alshanetsky
6b85eb58b2
Fixed bug #51997 (SEEK_CUR with 0 value, returns a warning).
15 years ago
Ilia Alshanetsky
939875133a
Zend Signal Handling (see RFC: https://wiki.php.net/rfc/zendsignals )
This needs to go into 5.4 as well, but will wait for Pierre to review win32 situation
# Patch by Lucas Nealan, Arnaud Le Blanc, Brian Shire & Ilia Alshanetsky
15 years ago
Hannes Magnusson
73c1488fec
Fixed bug #54946 (stream_get_contents infinite loop)
15 years ago
Stanislav Malyshev
f9088156f4
implement streams metadata API per RFC
15 years ago
Rasmus Lerdorf
22b689a3f9
Add php_ignore_value() macro to suppress unused return value warnings
from gcc. There are times when we really don't care about the return
value and this will cleanly tell gcc.
15 years ago
Rasmus Lerdorf
e0df4e3dba
Fix a couple of warnings. Use %zu to printf a time_t and get_request_time
actually returns a double, not a time_t.
15 years ago
Rasmus Lerdorf
cc8ecca0b3
Get rid of autoconf warnings
15 years ago
Gustavo André dos Santos Lopes
6d9d7af86f
- Fixed bug #54580 (get_browser() segmentation fault when the browscap ini
directive is set in activation time). This commit fixes this by adding a per
request parsing of the browscap file that's when get_browser is called the
first time and the directive is set on activation time.w
15 years ago
Gustavo André dos Santos Lopes
8dfe15a12e
- Fixed accidental change.
15 years ago
Gustavo André dos Santos Lopes
93f65cdeac
- Fixed bug #54623 (Segfault when when writing to a persistent socket after
closing a copy of the socket).
15 years ago
Pierre Joye
11941b3fd2
- not desired yt
15 years ago
Pierre Joye
600c9498f9
- fix build >(btw, has novell man pages too?)
15 years ago
Hannes Magnusson
e9bc36522a
Expose PHP_MANDIR
Useful for apps (like the pear installer, phd, .. etc) to install their manpages into the same dir as php did :]
15 years ago
Pierrick Charron
1368364469
Fix common typos in the source code (Reported in Bug #54065 )
# External libraries were excluded
# Thanks eitan at eitanadler dot com for the first patch :)
15 years ago
Pierre Joye
264d2b3480
- Fixed bug #48465 (sys_get_temp_dir() possibly inconsistent, windows fix
15 years ago
Ilia Alshanetsky
e42662039f
Fixed a crash inside dtor for error handling.
15 years ago
Gustavo André dos Santos Lopes
0de2e61cab
- Added socket_import_stream().
- Fixed socket_strerror.phpt
- Made php_set_sock_blocking return FAILURE on fcntl error.
- Made socket_set_block()/socket_set_nonblock() emit warning on error.
15 years ago
Gustavo André dos Santos Lopes
7f2937223d
- Make fclose() actually close stream, even when the resource refcount is > 1.
This reverts the fix for bug #24557 .
- Make php_stream_free delete the stream from the resources list, not merely
decrease its refcount, as a single call to zend_list_delete does.
#Not worth the risk merging to 5.3. While change #2 may prevent some segfaults,
#a quick and dirty survey to the codebase only showed calls to php_stream_close
#or php_stream_free on streams allocated in the same function, which would have
#refcount == 1. May be reconsidered.
15 years ago
Pierre Joye
406dd6e8ca
- windows only
15 years ago
Pierre Joye
9319359dc9
- make setlocale thread only, drastically reduce TS related crashes in error mgt and other parts like pcre, and actually a good thing (tm)
15 years ago
Pierrick Charron
4a0831743d
Remove unused variable
15 years ago