Commit Graph

3082 Commits

Author SHA1 Message Date
Robin Fernandes
7c8f0cf3d8 Fix bugs #46900 and #46903. 2008-12-28 19:50:58 +00:00
Lars Strojny
7611a5d984 MFB: If a wrapper could not be found it is either a typo or a configuration issue. But in both cases it is critical enough to warn the user. [DOC] (?) 2008-12-14 16:27:30 +00:00
Lars Strojny
d0ee179f1e MFB: Remove trailing whitespaces 2008-12-13 15:07:20 +00:00
Nuno Lopes
01bbafc58c MFB 2008-12-12 23:55:48 +00:00
Pierre Joye
8862c5d405 - MFB: export php_scandir and php_alphasort correctly (used by APC for example) 2008-12-02 10:15:41 +00:00
Scott MacVicar
36660c01ab Add asprintf, use regular system malloc and free and add checks in configure.in for the functions 2008-11-27 19:45:16 +00:00
Dmitry Stogov
e5454b359a Fixed bug #46409 (__invoke method called outside of object context when using array_map) 2008-11-27 19:02:45 +00:00
Arnaud Le Blanc
c8f24ea5bd Fixed bug #46673 (stream_lock call with wrong paramater) 2008-11-26 04:18:24 +00:00
David Soria Parra
e61a107e8b Revert fix for 43782, as it caused problems.
[DOC] We better document the issue at it is.
2008-11-24 15:35:03 +00:00
Scott MacVicar
aceb9694ba Better fix for va_copy since some architectures like to do a deep copy. 2008-11-22 15:16:42 +00:00
Scott MacVicar
98766dcd57 Add vasprintf() so the buffer can be automatically calculated, you need to efree this when done though! 2008-11-21 21:49:52 +00:00
Arnaud Le Blanc
e1fcaeef9d Added stream_cast() and stream_set_options() to user-space stream
wrappers, allowing stream_select(), stream_set_blocking(),
stream_set_timeout() and stream_set_write_buffer() to work with user-space
stream wrappers.
Will document.
2008-11-15 12:50:17 +00:00
Arnaud Le Blanc
047870a61f MFB: Added header_remove() (chsc at peytz dotdk, Arnaud) 2008-11-13 10:33:08 +00:00
Arnaud Le Blanc
fc938b54c7 Fixed stream_get_contents() when using $maxlength and socket is not
closed. indeyets@php.net on #46049.
2008-11-11 01:55:19 +00:00
Arnaud Le Blanc
e84add8470 initialize memory 2008-11-04 20:40:04 +00:00
Arnaud Le Blanc
2e32876eaa Fixed stream_get_line() to behave as documented on non-blocking streams 2008-11-04 17:05:17 +00:00
Arnaud Le Blanc
fc62c1ff0a Fixed bug #44607 (stream_get_line unable to correctly identify the
"ending" in the stream content)
2008-11-03 23:28:45 +00:00
Arnaud Le Blanc
c4c2308fec Fixed bug #45303 (Opening php:// wrapper in append mode results
in a warning)
2008-11-03 16:58:28 +00:00
Arnaud Le Blanc
0bed5602ee Fixed bug #43353 (wrong detection of 'data' wrapper causes notice) 2008-11-03 15:47:05 +00:00
Felipe Pena
66f75b6e8e - Fixed bug #46082 (stream_set_blocking() can cause a crash in some circumstances) 2008-10-24 10:44:19 +00:00
Kalle Sommer Nielsen
e667c25403 [DOC] Remove define_syslog_variables() and define_syslog_variables ini option 2008-10-15 18:41:18 +00:00
Nuno Lopes
2c49010756 MFB: clean some dead code 2008-09-23 15:22:05 +00:00
Greg Beaver
ae229cb860 MF52 fix Bug #46147: after stream seek, appending stream filter reads incorrect data 2008-09-22 01:26:38 +00:00
Arnaud Le Blanc
9451f34769 Fixed cleaning of uploaded files 2008-09-18 19:44:01 +00:00
Dmitry Stogov
f9f69a5373 Fixed bug #43053 (Regression: some numbers shown in scientific notation). (int-e at gmx dot de)
some 64bit test files may need to be fixed
2008-09-15 11:47:27 +00:00
Arnaud Le Blanc
839e049a86 Fix invalid read in freed area 2008-09-14 14:55:28 +00:00
Nuno Lopes
3a9017fb72 sync with PHP 5.3: upgrade to pcre 7.8 2008-09-14 14:37:14 +00:00
Arnaud Le Blanc
5317e8adb6 Fix php_u_register_variable_ex(), avoid readding some uninitialized data
after the end of the variable name
2008-09-10 14:12:55 +00:00
Arnaud Le Blanc
9e6a1cc4a1 Fix the "Content-Type contains ';'" case in rfc1867 post handler 2008-09-08 09:20:33 +00:00
Arnaud Le Blanc
5531e0381a fix empty-value case in rfc1867 post handler 2008-09-08 09:12:51 +00:00
Arnaud Le Blanc
e6abcf2c5c comment out debug printf 2008-09-08 09:12:02 +00:00
Arnaud Le Blanc
d4df205018 More accurate max_file_size / upload_max_filesize (fixes #45124) 2008-09-07 14:17:24 +00:00
Arnaud Le Blanc
860d7733ef Fixed #43540 (rfc1867 handler newlength problem) 2008-09-06 17:17:44 +00:00
Arnaud Le Blanc
08ec0b3146 Ported rfc1867 hooks to HEAD 2008-09-06 08:27:38 +00:00
Arnaud Le Blanc
8c48eca1bf Fix mem leak and invalid frees in rfc1867 post handler 2008-09-06 08:22:25 +00:00
Dmitry Stogov
e8894b43e6 Fixed Bug #43958 (class name added into the error message) 2008-09-02 09:46:00 +00:00
Rasmus Lerdorf
c916660f2d Fix the assert 2008-08-30 18:28:48 +00:00
Rasmus Lerdorf
d07786088e Fix for bugs 13961, 39927 and 45947 2008-08-30 16:53:05 +00:00
Jani Taskinen
778f5295ba - Fixed bug #44924 (sendmail path wrong) 2008-08-26 23:25:40 +00:00
Jani Taskinen
b798b366c8 Sync with PHP_5_3 (what a nice mess..thanks guys for keeping the branches in sync..NOT) 2008-08-26 23:22:31 +00:00
David Soria Parra
edc3fff0ff Fixed bug #43782 (feof() does not detect timeout on socket)
# Poll returns 0 if it times out.
# We check for 0 and use the user set timeout in set_options by passing -1.
2008-08-26 16:06:23 +00:00
Pierre Joye
1907de98c6 - exposePHP_MAXPATHLEN 2008-08-23 17:53:19 +00:00
Marcus Boerger
deadefb49f - Cleanup exports and allow to overwrite ext registration 2008-08-22 12:59:38 +00:00
Pierre Joye
adfa214688 - drop bindlib usage on windows
- inet_pton, inet_ntop and inet_aton are always available (VC9 uses the CRT implementation, VC6 our own)
2008-08-21 23:37:40 +00:00
Antony Dovgal
444a9997de reverted because it causes lots of test failures in ext/soap 2008-08-18 07:45:59 +00:00
Arnaud Le Blanc
994ca4edff ws 2008-08-18 04:11:51 +00:00
Arnaud Le Blanc
9881ae9834 Fixed bug #45392 (ob_start()/ob_end_clean() and memory_limit). 2008-08-18 04:07:54 +00:00
Arnaud Le Blanc
1e94a9d25f update buffer size after having effectively realloc()ed it when appending
data to an output buffer
# may caused some problems if erealloc() failed here because of memory
# limit ("memory limit exhausted" error message then written to
# the buffer, etc)
2008-08-18 03:54:49 +00:00
Felipe Pena
2985b4f9e3 - Removed some TSRMLS_FETCH()s 2008-08-15 19:45:25 +00:00
Kalle Sommer Nielsen
64b891fce0 * Remove NTDDI_VERSION declaring and use the one in config.w32.h
* Remove another _WIN32_WINNT macro redef in win32/time.c
2008-08-13 22:39:33 +00:00