Commit Graph

3231 Commits

Author SHA1 Message Date
Adam Harvey
1f19a7dc6c Fix for bug #23229 (syslog function truncates messages): remove the hard-coded
500 character error message limit imposed when using error_log=syslog.
2010-02-26 18:01:03 +00:00
Pierre Joye
acc6609a27 - get the right error on windows 2010-02-21 17:44:25 +00:00
Pierre Joye
658e86b847 - prevent unexpectable behaviors (for the user) with invalid path 2010-02-07 20:15:58 +00:00
Pierre Joye
bbf9b6dcd3 - #50854, fix build on non windows 2010-01-27 07:48:31 +00:00
Pierre Joye
b7aee13069 - removed debug breakpoint and improve inline comment 2010-01-27 02:03:41 +00:00
Pierre Joye
6925763347 - prevent bad things to happen when invalid path are passed to MoveFileEx 2010-01-27 01:18:43 +00:00
Pierre Joye
573c33b3b7 - [DOC] #45986, bad file descriptor warning when rename is used with invalid path, add php_win32_docref2_from_error to display system error for non posix api 2010-01-26 20:04:03 +00:00
Pierre Joye
5eb4db5e8f - Ensure that stderr output are not buffered, portability for tests 2010-01-25 14:47:19 +00:00
Pierre Joye
6a7d96eef9 - prevent possible crash when error/warnings are raised during startup (like deprecated features), 5.3+ only 2010-01-24 12:39:31 +00:00
Jani Taskinen
3d733ce6fa - Fixed bug #50791 (Compile failure: Bad logic in defining fopencookie emulation) 2010-01-19 13:44:08 +00:00
Jani Taskinen
95a4f5fabe - WS + CS fixes 2010-01-19 12:03:07 +00:00
Johannes Schlüter
00afa7278b - Add extern declarations for fixing the build with some compilers 2010-01-19 10:44:36 +00:00
Ilia Alshanetsky
7e1f29e930 Fixed bug #50787 (stream_set_write_buffer() has no effect on socket streams). 2010-01-18 12:50:08 +00:00
Jani Taskinen
e421bee7af - Fixed bug #48811 (Directives in PATH section do not get applied to subdirectories) 2010-01-16 21:01:12 +00:00
Ilia Alshanetsky
d5b2007bed Fixed bug #50657 (copy() with an empty (zero-byte) HTTP source succeeds but returns false). 2010-01-06 12:54:53 +00:00
Sebastian Bergmann
9ba1e81665 sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php 2010-01-03 09:23:27 +00:00
Jani Taskinen
72a9c6d37a - Sync with HEAD 2009-12-29 19:25:09 +00:00
Jani Taskinen
1a64bb9c05 - WS + CS + folding tags 2009-12-29 18:59:58 +00:00
Ilia Alshanetsky
c3230ad217 Fixed bug #48190 (Content-type parameter "boundary" is not case-insensitive in HTTP uploads). 2009-12-29 15:57:54 +00:00
Antony Dovgal
42d05a5c02 remove automatic file unlocking on shutdown and/or stream close
(make it win32-specific for 5_2, as discussed with Ilia)
2009-12-25 20:34:59 +00:00
Johannes Schlüter
d046bf5d8e PHP 5.3.2RC1 2009-12-22 22:02:50 +00:00
Stanislav Malyshev
0401c6ca2d fix bug #50196 2009-12-19 01:13:33 +00:00
Jani Taskinen
4e10081f8f - Make $sbindir be usable in C code as well (like $bindir and co.) 2009-12-15 11:17:47 +00:00
Dmitry Stogov
76c445dd73 - Forgotten patch for trunk
- Fixed stdin filename in error messages
2009-12-08 10:16:38 +00:00
Kalle Sommer Nielsen
1063c8346b MFT: VC10 build support 2009-12-03 11:50:32 +00:00
Dmitry Stogov
2ad406e518 Fixed bug #50159 (wrong working directory in symlinked files) 2009-11-30 14:21:23 +00:00
Jani Taskinen
47a9c71dcc - Fixed bug #49935 (Deprecated warnings make "make test" to fail) 2009-11-27 23:34:36 +00:00
Rasmus Lerdorf
2e9c3ed919 Make it possible to disable post_max_size 2009-11-17 20:33:51 +00:00
Ilia Alshanetsky
2e13e89bd1 Simpify the max_file_uploads handling code 2009-11-16 13:34:57 +00:00
Felipe Pena
f61a06350a - Switching to TSRMLS_FETCH version 2009-11-16 10:36:27 +00:00
Felipe Pena
5411bb32a8 - Fixed bug #49936 (crash with ftp stream in php_stream_context_get_option())
(patch by Pierrick)
2009-11-15 20:30:57 +00:00
Jani Taskinen
3a9f74967d - Nuke ws 2009-11-15 00:31:42 +00:00
Rasmus Lerdorf
4e6b9899a5 Fix bug #49868
As far as I can tell this was a copy-paste induced bug when I added
the reset_signals flag to zend_set_timeout.
2009-11-15 00:21:31 +00:00
Johannes Schlüter
473d75475a Fix #50063 (safe_mode_include_dir fails) 2009-11-12 15:05:03 +00:00
Felipe Pena
8f0a451747 - Fixed bug #50005 (Throwing through Reflection modified Exception object makes segmentation fault) 2009-11-12 00:10:00 +00:00
Dmitry Stogov
cf4dc24743 Avoid invoking setitimer when timeouts have been disabled (Arvind Srinivasan) 2009-11-05 10:38:56 +00:00
Ilia Alshanetsky
8dae9275fc Lower the max upload default to 20 2009-10-28 13:04:42 +00:00
Ilia Alshanetsky
e2211cee86 Introduced a max_file_uploads INI setting, which is set to limit the
number of file uploads per-request to 100 by default, to prevent possible
DOS via temporary file exhaustion.
2009-10-27 16:13:48 +00:00
Pierre Joye
e4adfe4f61 - #48779, fix another use case where / usage may differ 2009-10-15 13:09:25 +00:00
Stanislav Malyshev
0e38a3d303 oops, that doesn't belong to this patch 2009-10-13 20:54:28 +00:00
Stanislav Malyshev
207e75b2cd fix crash for bug #47627 2009-10-13 19:58:59 +00:00
Pierre Joye
e5d4b019b9 - #48779, improve fix, drop usage of _tolower and use zend_strtolower 2009-10-12 14:40:27 +00:00
Pierre Joye
112379ba24 - fix possible issue in TS environment (we don't have to do that anymore anyway in 5.3+) 2009-10-11 21:04:35 +00:00
Pierre Joye
4d63bd1132 - #48779, don't loop twice over the path chars 2009-10-11 20:50:53 +00:00
Felipe Pena
994307d429 - Fixed build and comment-style 2009-10-09 20:01:16 +00:00
Garrett Serack
8e5a00e546 - changed ini file directives [PATH=](on Win32) and [HOST=](on all) to be case insensitive (garretts) 2009-10-09 19:43:00 +00:00
Dmitry Stogov
ffb07732f7 Fixed bug #49627 (error_log to specified file does not log time according to date.timezone) 2009-10-05 13:56:49 +00:00
Ilia Alshanetsky
d35c2b14dd Fixed bug #48805 (IPv6 socket transport is not working). 2009-09-30 20:48:41 +00:00
Dmitry Stogov
4b1c7c5615 Fixed ext/standard/tests/streams/stream_get_contents_002.phpt 2009-09-23 10:25:54 +00:00
Dmitry Stogov
b4ba7fb96e Fixed memory leak 2009-09-21 11:22:13 +00:00
Dmitry Stogov
7bfe056174 Fixed tests 2009-09-21 09:52:19 +00:00
Sriram Natarajan
fbc335e5d1 - Fixed bug #49572 (use of C++ style comments causes build failure) 2009-09-17 02:45:25 +00:00
Jani Taskinen
ccd6e501d1 - Simplified a bit and fixed possible memory corruption and definate leak. 2009-09-10 16:19:42 +00:00
Jani Taskinen
f723d368b3 - Fixed bug #49182 (PHP CGI always outputs the shebang line) 2009-09-05 17:07:14 +00:00
Jani Taskinen
4361f2370a I have no idea. This might or might not fix a bug in some branch. At least it works. 2009-09-04 11:02:40 +00:00
Sriram Natarajan
ac2d3990f2 - Fixed bug #49447 (php engine need to correctly check for socket API
return status on windows). (Sriram Natarajan)
2009-09-04 07:59:48 +00:00
Johannes Schlüter
bcde6a023c This will become 5.3.2, the NEWS file will be merged once 5.3.1 is out 2009-09-03 21:35:17 +00:00
Jani Taskinen
db53d49623 - Fixed bug #49248 by fixing bug #48994 properly 2009-08-17 17:30:32 +00:00
Jani Taskinen
46bd9ed597 - Try disabling zlib.output_compression always for images. (zlib extension might be compiled as shared and not same time as the main PHP binary) 2009-08-17 16:54:39 +00:00
Jani Taskinen
08f8621a9f - Fixed bug #48994 (zlib.output_compression does not ouput HTTP headers when set to a string value)
# also fixes bug #35936 (ini.zlib.output-compression Documentation :)
2009-08-03 18:15:30 +00:00
Rasmus Lerdorf
8608857c1a Fix bug #48880
The ini entry was being corrupted because it wasn't being set
on the ACTIVATE and DEACTIVATE stages.
2009-07-31 21:09:45 +00:00
Stanislav Malyshev
d1a16fc86d fix extension functions disabling (bug #49065) 2009-07-29 00:17:10 +00:00
Ilia Alshanetsky
c71358379d Fixed a possible crash inside OnUpdateErrorLog() when restoring an empty value
Avoid pointless safe_mode/open_basedir checks on OnUpdateMailLog() if value is empty
2009-07-12 16:38:14 +00:00
Stanislav Malyshev
4bb8672039 fix mail.log openbasedir interaction with .htaccess 2009-07-09 00:21:17 +00:00
Jani Taskinen
87f9d62861 - Fixed bug #48247 (Infinite loop and possible crash during startup with errors) 2009-07-07 16:42:11 +00:00
Ilia Alshanetsky
ae2c5ee7d4 MFB: Fixed bug #48465 (sys_get_temp_dir() possibly inconsistent when using
TMPDIR).
2009-06-30 12:20:35 +00:00
Johannes Schlüter
52c9cad8e4 Back to -dev 2009-06-29 16:33:25 +00:00
Johannes Schlüter
4b4283bdc0 Bump version to 5.3.0 and API Nos. up 2009-06-26 15:44:19 +00:00
Ilia Alshanetsky
00d0ecda10 Revert patch 2009-06-24 20:08:54 +00:00
Ilia Alshanetsky
c0aa23fd86 MFB: Fixed bug #48465 (sys_get_temp_dir() possibly inconsistent when using
TMPDIR).
2009-06-24 12:21:45 +00:00
Johannes Schlüter
9851acba7b Back to dev 2009-06-18 21:07:08 +00:00
Johannes Schlüter
ff1bf7f766 5.3.0 RC 4 2009-06-18 21:01:03 +00:00
Rasmus Lerdorf
269df474bf Ah, broken vimrc.. 2009-06-18 06:38:30 +00:00
Rasmus Lerdorf
e70abda281 Fix bug #48592 2009-06-18 06:32:38 +00:00
Johannes Schlüter
a8f3eeefe8 back to -dev 2009-06-10 18:39:15 +00:00
Johannes Schlüter
10d976d225 5.3.0RC3 2009-06-10 18:18:43 +00:00
Pierre Joye
e7560b8316 - typo 2009-06-04 07:41:01 +00:00
Pierre Joye
0168025f4c - [DOC] add PHP_WINDOWS_NT_* and PHP_WINDOWS_VERSION_* constants (usefull for testing and features detections)
see http://msdn.microsoft.com/en-us/library/ms724451(VS.85).aspx for the explanation
2009-06-04 06:59:46 +00:00
Scott MacVicar
16398c1990 MFH: Make sure the timeout is checked in the shutdown function, patch from Etienne 2009-05-30 09:48:16 +00:00
Derick Rethans
d29d24427f - MFH: 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.
#- [DOC]
2009-05-18 21:33:38 +00:00
Arnaud Le Blanc
c79528a26d MFH: Fixed bug #48309 (stream_copy_to_stream() and fpasstru() do not
update stream position of plain files)
2009-05-17 14:58:10 +00:00
Arnaud Le Blanc
fab1f0e754 Fix warning when inner stream of a temp:// stream is closed before
the stream ifself
2009-05-16 20:27:36 +00:00
Arnaud Le Blanc
a2600facdd MFH: Fixed bug #48307 (stream_copy_to_stream() copies 0 bytes when $source
is a socket)
2009-05-16 20:23:06 +00:00
Dmitry Stogov
2f8ca07d18 Fixed wrong return value 2009-05-14 08:21:54 +00:00
Hannes Magnusson
ebf7a8e9a3 Fix comments 2009-05-08 11:35:12 +00:00
Johannes Schlüter
508a2d0c3d Back to -dev 2009-05-06 18:57:45 +00:00
Johannes Schlüter
6eb27922d7 5.3.0RC2-dev 2009-05-06 18:51:29 +00:00
Kalle Sommer Nielsen
5a6d3cc42b Added E_DEPRECATED startup notice (5.3 only) 2009-05-04 21:18:22 +00:00
Derick Rethans
53bb83ab8c - MFH: Fixed warnings 2009-05-04 19:55:47 +00:00
Antony Dovgal
79d1691d11 MFH: use correct function 2009-05-04 14:44:46 +00:00
Antony Dovgal
7809cd64e8 MFH: don't segfault on bindto == NULL 2009-05-04 14:25:17 +00:00
Ilia Alshanetsky
8c9195e48d Fixed bug #48131 (Don't try to bind ipv4 addresses to ipv6 ips via bindto) 2009-05-04 13:09:15 +00:00
Derick Rethans
65fc904143 - MFH: Fixed bug #45191 (error_log ignores date.timezone php.ini val when
setting logging timestamps).
2009-05-03 19:08:49 +00:00
Pierre Joye
3cce609d77 - fix build (Marcus, fix re2c please) 2009-04-30 09:11:00 +00:00
Stanislav Malyshev
94b7a00760 fix for #47930 2009-04-28 21:30:23 +00:00
Dmitry Stogov
9e36fae5ff Fixed bug #48034 (PHP crashes when script is 8192 (8KB) bytes long) 2009-04-28 07:13:30 +00:00
Pierre Joye
be093af4fa - silent compiler warning 2009-04-20 08:28:44 +00:00
Arnaud Le Blanc
8ea9eb8560 MFH: Better fix for #47997 2009-04-19 17:10:35 +00:00
Arnaud Le Blanc
14c717f449 Fixed bug #47997 (stream_copy_to_stream returns 1 on empty streams) 2009-04-19 13:46:47 +00:00
Mikko Koppanen
3fd12260aa MFH: Added support for passing O_NONBLOCK to the underlying open() system call 2009-04-11 11:44:15 +00:00