Commit Graph

3099 Commits

Author SHA1 Message Date
Pierre Joye
c4d2527ebe - [MFB] fix nts build 2009-01-19 02:25:58 +00:00
Pierre Joye
4836956786 -add some doc about versions 2009-01-16 13:52:44 +00:00
Pierre Joye
cf2fbff656 - MFB: don't call it in non zts mode 2009-01-16 10:27:52 +00:00
Pierre Joye
b0dcfe527e - return SUCCESS on success
- check return value
2009-01-16 10:26:06 +00:00
Pierre Joye
96bc547ca2 MFB:
- add EG(windows_version_info), set at init time once per instance
   contains a OSVERSIONINFOEX struct. It lets us determine easily on which windows version is used (for example)
 - [DOC] add the ability to disable a function when the windows function does not support a feature (for example symlink)
 - [DOC] symlink, hardlink & co support (1/3)
2009-01-16 10:02:50 +00:00
Pierre Joye
31b4e376d0 - add OPENBASEDIR_CHECKPATH macro to ease merge between 5.3 and 6, it includes safemode (5.3) and openbasedir check 2009-01-16 10:01:14 +00:00
Ilia Alshanetsky
968e7af6cf MFB: Added mail logging functionality that allows logging of mail sent via
mail() function
2009-01-09 15:00:36 +00:00
Felipe Pena
57470a9bfd - Fixed bug #47037 (No error when using fopen with emty string)
Patch by Cristian Rodriguez R.
2009-01-08 18:43:12 +00:00
Arnaud Le Blanc
b8708d43f6 Fixed error conditions handling in stream_filter_append() 2009-01-08 17:01:11 +00:00
Felipe Pena
d2287d7701 - Added check for EWOULDBLOCK
- Using EWOULDBLOCK instead of EAGAIN by portability issues
(Related to #46917)
2009-01-07 20:19:17 +00:00
Felipe Pena
aff9765952 - Windows part 2009-01-03 00:05:53 +00:00
Felipe Pena
7debfa2421 - Errr, rule nº 1: be portable :) 2009-01-02 21:42:25 +00:00
Felipe Pena
05e0fb8179 - Working with unintialized errno (#46917, noticed by Jost Boekemeier) 2009-01-02 21:26:42 +00:00
Marcus Boerger
02eddb9be9 - Add needed include as reported by Pierre 2008-12-31 17:33:29 +00:00
Marcus Boerger
d5244ef11e - Register engine classes when and where they should be
- Show core module version as PHP version
2008-12-31 13:25:05 +00:00
Sebastian Bergmann
7f4dc8702a Bump copyright year, 3 of 3. 2008-12-31 11:12:40 +00:00
Marcus Boerger
a4d74dc48f - Do not show empty ini directive tables for modules without ini entries. 2008-12-30 19:08:42 +00:00
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