Commit Graph

2723 Commits

Author SHA1 Message Date
Antony Dovgal
112462d102 MFH 2006-12-28 12:18:54 +00:00
Antony Dovgal
d3a651a39e MFH 2006-12-28 12:01:50 +00:00
Ilia Alshanetsky
b85f1345a6 Ensure that OnUpdateLongGEZero is greater or equal to 0.
Added a update wrapper for ensuring >0 values
2006-12-25 23:55:59 +00:00
Ilia Alshanetsky
52d53543ac Allocation safety checks 2006-12-25 22:36:57 +00:00
Dmitry Stogov
5436160dc6 Fixed heap overflow 2006-12-25 13:11:23 +00:00
Antony Dovgal
b019cd99c6 MFH 2006-12-21 21:49:22 +00:00
Dmitry Stogov
3ffc1c8f4a Default memory_limit value is set to 128M 2006-12-21 09:12:42 +00:00
Antony Dovgal
6aec52bde7 MFH 2006-12-21 01:18:28 +00:00
Antony Dovgal
f807343197 MFH 2006-12-21 01:08:04 +00:00
Antony Dovgal
41b55d9b78 MFH 2006-12-21 00:47:02 +00:00
Dmitry Stogov
53b088e60c Make MEMORY_LIMIT and ZEND_USE_MALLOC_MM to be always enabled. They don't make any significant slowdown, but incrise maintainability a lot. Note that the setting of memory_limit wasn't changes (neither in main/main.c nor in php.ini) and it still set to 16M. 2006-12-20 10:49:33 +00:00
Hannes Magnusson
1e19ee8785 - Fixed incorrect function names on FreeBSD where inet_pton() was named
__inet_pton() and inet_ntop() was named __inet_ntop()
- Fixed bug #39685 (iconv() - undefined function)
- Fixed bug #38852 (XML-RPC Breaks iconv)
2006-12-20 10:34:36 +00:00
Antony Dovgal
4307af8cdf MFH 2006-12-19 13:27:09 +00:00
Antony Dovgal
c34d863d3e MFH 2006-12-19 13:15:39 +00:00
Dmitry Stogov
5d8183f0b2 Support for systems without locale.h 2006-12-19 13:13:29 +00:00
Dmitry Stogov
c43fc2afc8 Fixed bug #39815 (SOAP double encoding is not locale-independent) 2006-12-19 11:54:38 +00:00
Dmitry Stogov
03312cc0d9 Added function stream_socket_shutdown(). It is a wraper for system shutdown() function, that shut downs part of a full-duplex connection 2006-12-19 08:58:58 +00:00
Antony Dovgal
908b1e562d MFH: fix possible invalid read (reproducible only on big-endian machines) 2006-12-18 13:16:54 +00:00
Zeev Suraski
9219d7aa57 Whitespace 2006-12-18 12:32:08 +00:00
Hannes Magnusson
9ef3575c25 MFH:
- make %f locale aware again
- fix precision loss with %F (noticed by Sebastian Nohn)
- add new tests
2006-12-18 09:26:54 +00:00
Ilia Alshanetsky
e8bc39d95d Fixed compiler warning 2006-12-17 18:30:36 +00:00
Ilia Alshanetsky
195b102126 back to dev 2006-12-15 01:22:35 +00:00
Ilia Alshanetsky
0ee7c30453 5.2.1RC1 2006-12-15 01:21:36 +00:00
Ilia Alshanetsky
847741cb08 Strip leading spaces from cookie names, that can come from multi-cookie
headers where ; can be followed by any number of spaces.
2006-12-09 13:01:23 +00:00
Antony Dovgal
4d44a5b71d MFH: use BSD licensed implementation of double-to-string utilities instead of LGPL one
this patch also fixes thread safety issues in zend_strtod()
2006-12-06 09:52:51 +00:00
Stanislav Malyshev
6b651f8e60 Improve tolower()-related functions on Windows and VC2005 by caching locale and using
tolower_l function.
# Gives 10-18% speedup on bench.php
# Does not change behaviour for non-windows
2006-12-04 18:37:15 +00:00
Antony Dovgal
bcf457d828 MFH: fix retval type 2006-12-04 15:58:48 +00:00
Ilia Alshanetsky
b71ac5063e Fixed php_readdir_r() usage in scandir emulation 2006-12-03 15:52:17 +00:00
Antony Dovgal
361c8b4fb4 MFH 2006-12-03 14:37:32 +00:00
Frank M. Kromann
a6b3682dba Fix win32 build 2006-12-01 20:17:50 +00:00
Ilia Alshanetsky
930ac9a5d0 Thread-safety issues 2006-11-30 16:10:38 +00:00
Antony Dovgal
60bb494607 MFH: fix #39673 (file_get_contents causes bus error on certain offsets) 2006-11-29 11:12:59 +00:00
Dmitry Stogov
79c3defac0 Fixed bug #39548 (ZMSG_LOG_SCRIPT_NAME not routed to OutputDebugString() on Windows) 2006-11-23 08:37:21 +00:00
Antony Dovgal
a7ce772222 fix #39575 (move_uploaded_file() no longer working (safe mode related)) 2006-11-22 11:55:36 +00:00
Antony Dovgal
090a83b974 ensure that bucket->brigade is NULL in newly created bucket 2006-11-21 20:58:17 +00:00
Dmitry Stogov
c06f9e1efe COM initialization/deinitialization are done only if necessary 2006-11-17 11:40:52 +00:00
Hannes Magnusson
133bdb42e3 Fix ftruncate() with negative size on FreeBSD 2006-11-16 16:06:51 +00:00
Dmitry Stogov
daed379550 Removed unnecessary ftell() calls (one call for each included PHP file) 2006-11-10 13:18:35 +00:00
Dmitry Stogov
f22ae56bc9 Disabled reading from stream (calls to read()) after EOF 2006-11-10 13:10:16 +00:00
Dmitry Stogov
532b02cd19 Implemented registry cache that prevent registry lookup on each request. In case of modification of corresponding registry-tree PHP will reload it automatic. 2006-11-10 11:42:07 +00:00
Dmitry Stogov
41c81f20e1 opendir() is reimplemented using GetFistFile/GetNextFile those are faster then _findfirst/_findnext 2006-11-10 11:20:48 +00:00
Dmitry Stogov
a5f951f27c Removed unnecessary checks for ISREG file and corresponding stat() calls on Windows 2006-11-10 10:55:26 +00:00
Dmitry Stogov
9fd2b6deb4 Simplify the code base as this getpwd() was used only once 2006-11-10 09:56:16 +00:00
Rasmus Lerdorf
c8778c73c3 Mark memory streams as is_url 2006-11-04 20:43:28 +00:00
Marcus Boerger
17b675132b - Fix version 2006-11-03 19:03:25 +00:00
Ilia Alshanetsky
8045c6bff8 Back to dev 2006-10-30 23:08:30 +00:00
Ilia Alshanetsky
b48fa87e8b 5.2.0 2006-10-30 23:06:22 +00:00
Ilia Alshanetsky
2ca717905e Back to dev 2006-10-20 13:15:35 +00:00
Ilia Alshanetsky
f85d9885d3 5.2.0RC6 2006-10-20 01:51:07 +00:00
Dmitry Stogov
770b29803c Fixed mkdir("/tmp/foo//bar/log", 0777, true) 2006-10-19 09:49:44 +00:00