1
0
mirror of https://github.com/php/php-src.git synced 2026-03-29 03:32:20 +02:00
Commit Graph

3118 Commits

Author SHA1 Message Date
Arnaud Le Blanc
7b4dc185bf Fix memleak on empty GET var (tests/basic/011.phpt) 2009-04-24 15:44:35 +00:00
Pierre Joye
f0c630b9ac - silent compiler warning 2009-04-20 08:28:14 +00:00
Arnaud Le Blanc
6b213bffb6 Better fix for #47997 2009-04-19 17:09:47 +00:00
Arnaud Le Blanc
069c0fdc80 MFB5.3: Fixed bug #47997 (stream_copy_to_stream returns 1 on empty streams) 2009-04-19 13:50:25 +00:00
Mikko Koppanen
a1a580c012 Added support for passing O_NONBLOCK to the underlying open() system call 2009-04-11 11:44:06 +00:00
Hannes Magnusson
ba2182a44c Fix errormessage check
# Is correct in 5.
2009-03-31 16:25:58 +00:00
Kalle Sommer Nielsen
f7373da190 Fixed Windows build, declarations first ladies and gentlemen 2009-03-30 14:21:03 +00:00
Felipe Pena
7c860bb018 - Removed leftover UG(unicode) checks 2009-03-27 19:50:56 +00:00
Arnaud Le Blanc
9f5de73681 Fixed initialization of tick functions list in ZTS 2009-03-27 02:33:44 +00:00
Felipe Pena
8ecf8ede1f - Removed:
- UG(unicode) checks
       - pcre_cache_entry.unicode_mode
- Changed:
       - ZEND_STR_TYPE -> IS_UNICODE
       - convert_to_text -> convert_to_unicode
       - convert_to_text_ex -> convert_to_unicode_ex

(Felipe, Steph)
2009-03-26 20:02:53 +00:00
Hannes Magnusson
57ad6e3b14 Add missing proto 2009-03-25 19:55:50 +00:00
Arnaud Le Blanc
f6d76ad89a Better fix for #44607. Fixes #47487 (php_stream_fill_read_buffer()
performance degraded after fix of bug 44607).
2009-03-19 17:54:28 +00:00
Marcus Boerger
d4f5b3f0a9 - This is PHP 6 - if this ... ever gets out 2009-03-10 23:40:06 +00:00
Robin Fernandes
6262bb4c3d Revert fix to bug #46903 as per http://marc.info/?l=php-internals&m=123476465621346&w=2 . 2009-02-18 16:42:56 +00:00
Ilia Alshanetsky
f18a2ff04c MFB:Adjust condition 2009-02-10 16:14:35 +00:00
Ilia Alshanetsky
91aa9e2bf9 MFB: Added path truncation E_NOTICE to let people now when path resolving
caused the file path to be truncated.
2009-02-10 14:22:19 +00:00
Dmitry Stogov
15b5f9a8c7 Fixed bug #47320 ($php_errormsg out of scope in functions) 2009-02-09 09:20:46 +00:00
Ilia Alshanetsky
4164e522c6 MFB: MFB52: Fixed bug #44874 (dead pfsockopen'ed sockets aren't reaped when
the remote end restarts)
2009-02-08 16:54:57 +00:00
Pierre Joye
569d591229 - silent compiler warning about socklen_t benign redefinition 2009-02-02 09:49:41 +00:00
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