Commit Graph

3138 Commits

Author SHA1 Message Date
Arnaud Le Blanc
7b3ee6dc6f Fix build 2009-05-19 10:04:35 +00:00
Derick Rethans
d5c8121b39 - Get rid of the four different versions of zend_extension* and only use
zend_extension. Because of the API identifier change in PHP 5.3 you also get
  a proper warning message now.
2009-05-18 21:28:42 +00:00
Arnaud Le Blanc
587137b2d3 un-duplicated code (merged unicode/string variants of stream_copy_to_stream
and let the compiler optimize specializations)
2009-05-17 16:52:35 +00:00
Arnaud Le Blanc
0e4de79b40 Fixed bug #48309 (stream_copy_to_stream() and fpasstru() do not
update stream position of plain files)
2009-05-17 14:57:05 +00:00
Arnaud Le Blanc
3c6bd3eb67 Fix warning when inner stream of a temp:// stream is closed before
the stream ifself
2009-05-16 20:27:11 +00:00
Arnaud Le Blanc
804ed57ad3 Fixed bug #48307 (stream_copy_to_stream() copies 0 bytes when $source
is a socket)
2009-05-16 20:22:29 +00:00
Dmitry Stogov
8217de479a Fixed wrong return value 2009-05-14 08:22:09 +00:00
Hannes Magnusson
ff5f9890fd MFb5.3: fix comments 2009-05-08 11:36:43 +00:00
Derick Rethans
08c4e716ed - Fixed warnings 2009-05-04 19:55:33 +00:00
Antony Dovgal
c82c26b6c9 use correct function 2009-05-04 14:44:24 +00:00
Antony Dovgal
39773487a3 don't segfault on bindto == NULL 2009-05-04 14:25:04 +00:00
Ilia Alshanetsky
0b6fba9a6b MFB: Fixed bug #48131 (Don't try to bind ipv4 addresses to ipv6 ips via
bindto)
2009-05-04 13:12:53 +00:00
Derick Rethans
f52a2166a0 - Fixed bug #45191 (error_log ignores date.timezone php.ini val when
setting logging timestamps).
2009-05-03 19:08:28 +00:00
Arnaud Le Blanc
6092d51512 revert to allow Andrei to make his changes 2009-05-01 00:36:43 +00:00
Arnaud Le Blanc
2ce70ac4be cleanup 2009-05-01 00:18:09 +00:00
Arnaud Le Blanc
ee7239acbe Removed code for register_globals in file uploads 2009-05-01 00:15:07 +00:00
Arnaud Le Blanc
3fd6c2b22a Removed code handling non-unicode input (was used when !UG(unicode)) 2009-05-01 00:13:22 +00:00
Pierre Joye
affb9d9b49 - fix build (Marcus, fix re2c please) 2009-04-30 09:12:26 +00:00
Stanislav Malyshev
de79c1eb6c MF5 fix for #47930 2009-04-28 22:59:07 +00:00
Dmitry Stogov
d2a9e7bbea Fixed bug #48034 (PHP crashes when script is 8192 (8KB) bytes long) 2009-04-28 07:13:43 +00:00
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