1
0
mirror of https://github.com/php/php-src.git synced 2026-04-21 15:08:16 +02:00
Commit Graph

9133 Commits

Author SHA1 Message Date
foobar be3b514637 Fixed bug: #10823 2001-05-12 00:15:08 +00:00
Andrei Zmievski ae90bcf16d Open season on memory leaks, shoot all you can. 2001-05-11 21:29:47 +00:00
Sascha Schumann 7566cf7f27 Fix special treatment of zlib by introducing the Apache concept
of config.m4 hierarchies.
2001-05-11 20:09:31 +00:00
Jason Greene c115a75544 Rewrote stat() and fstat() to be memory efficient, due to a recent
thread on php-dev.

Note: I added a macro that might have use in other instances, but for now
is included in php_filestat.h
2001-05-11 19:55:44 +00:00
Andrei Zmievski c081e6f417 Compress several entries into one. 2001-05-11 19:50:27 +00:00
Sascha Schumann 92a4409a4e update and some late additions 2001-05-11 19:44:30 +00:00
Sascha Schumann 996e9a7212 add missing closing paranthesis 2001-05-11 19:41:11 +00:00
Sascha Schumann 3efa08aaa8 Some extensions don't associate any data with hash entries,
except the key.  Prior to this change, a separate chunk of memory
was allocated in that case to store exactly zero bytes (plus
memory manager overhead).  We treat that case similar to the
pointer case, but don't copy any data at all (because the pointer
is usually the NULL pointer).
2001-05-11 19:32:01 +00:00
Sascha Schumann 2c4e1e84ce Fix a memory leak which occured upon registering an already existing
constant.
2001-05-11 19:18:24 +00:00
Thies C. Arntzen 169febcdf0 @- Added --enable-memory-usage-info. This creates a new Apache 1.x logging
@  directive "{mod_php_memory_usage}n" which will log the peak amount of
@  memory used by the script. (Thies)
2001-05-11 18:17:08 +00:00
Thies C. Arntzen 8ca106bffc added --enable-memory-usage-info 2001-05-11 18:16:41 +00:00
Thies C. Arntzen 78c8a877f8 . 2001-05-11 18:04:03 +00:00
Thies C. Arntzen 25003ea668 4.0.6 is tagged, HEAD is now 4.0.7-dev 2001-05-11 18:03:42 +00:00
Thies C. Arntzen cd2f057f1a bump bundled expat to 1.95.1
win32 project _needs_ updating and i don't have windows
2001-05-11 17:57:37 +00:00
Sascha Schumann 814fa2c71c Save a couple of syscalls per session
Fix apparent new-session-files-were-not-locked bug

Replace %m with portable "%s", strerror(errno)
2001-05-11 17:43:40 +00:00
Andrei Zmievski 1db2516277 Start cleaning up domxml memory leaks. Still much stuff to do. 2001-05-11 16:14:19 +00:00
Andi Gutmans d8c11e6f2a - Fix crash bug when opcodes array is erealloc()'ed to a different memory
area before it reaches the loop.
- Some whitespace stuff
2001-05-11 14:29:06 +00:00
Derick Rethans 04bd8d9174 Tabs please... 2001-05-11 13:34:49 +00:00
Sebastian Bergmann e69f4dc51c Fix for bug #10815. 2001-05-11 13:32:10 +00:00
foobar cf75b18a8d Fixed problems which were caused by the previous patches.
#And the usage of PHP_ADD_LIBRARY_DEFER is clear to me now..:)
2001-05-11 10:04:06 +00:00
Jason Greene 7f3291ae8c Fix is_executable test. 2001-05-11 02:45:49 +00:00
Jason Greene 0ed93d71b2 @fstat() and stat() now return identical output by returning a numerical and
@string indexed array (Jason)

(Andrei's suggestion to still allow backwords compatibility.)
2001-05-11 01:47:46 +00:00
49a0c0eb4a ChangeLog update 2001-05-11 01:09:27 +00:00
5fc789ff13 NEWS update 2001-05-11 01:09:19 +00:00
foobar 5bc7cf90cd default to /usr/local 2001-05-10 23:55:56 +00:00
Frank M. Kromann c1b7b83d45 Fixing some proto types 2001-05-10 16:35:05 +00:00
Andrei Zmievski f071e8c566 Always free the callback_name when using zend_is_callable(). 2001-05-10 16:30:12 +00:00
Zeev Suraski 4c10e198e2 Fix buggy line split 2001-05-10 14:25:48 +00:00
Zeev Suraski 4afa93f716 @- Fixed a possible crash in the PHP CGI when no input file is
@  specified (Zeev)
Fixed bug 7822
2001-05-10 14:13:18 +00:00
Rui Hirokawa 45a2e761e7 fixed bug of mb_substitute_character() and mb_substr() in mbstring. 2001-05-10 13:12:03 +00:00
Zeev Suraski 429667883e Treat numeric strings as numbers in the increment operator 2001-05-10 12:58:31 +00:00
foobar ef23bc97a3 Missing .slo ignore. 2001-05-10 09:28:56 +00:00
foobar 9fa37f60dc Fixed bug: #10779 2001-05-10 09:25:32 +00:00
foobar 9cce67f16d Cleaning this a bit too. Now I'm also able to configure and compile
with the test for imap-ssl.
2001-05-10 06:58:25 +00:00
Sterling Hughes b01ba3f820 Fix naming issue
# UNTESTED, but it should do the trick
# everyone on a winblows box please try out the change
2001-05-10 05:42:54 +00:00
aaa44ba271 ChangeLog update 2001-05-10 01:09:23 +00:00
4fdee19eb9 NEWS update 2001-05-10 01:09:20 +00:00
foobar a972b6aa5b Cleaning up here too. 2001-05-10 00:59:41 +00:00
foobar 5f20be7315 Moved the zlib configure before other extensions. 2001-05-10 00:57:36 +00:00
foobar 14e883c3a0 Cleaned up this a bit.. 2001-05-10 00:55:48 +00:00
Wez Furlong 63b3fa262c Reverse my earlier patch for mysql_db_query() & emit an E_NOTICE of it's
deprecated status.
# Should it be a warning or a notice?
2001-05-09 22:28:16 +00:00
Frank M. Kromann 4d1c545a9c Switching to zend_register_list_destructors_ex() 2001-05-09 21:44:44 +00:00
Andrei Zmievski 555fa77930 Nuke unused variable. 2001-05-09 20:37:16 +00:00
Andrei Zmievski 41aebd058e Fix a few bugs in zend_is_callable() and make it stricter. 2001-05-09 20:07:49 +00:00
Andrei Zmievski 8112d1beba @- Added is_callable() function that can be used to find out whether
@  its argument is a valid callable construct. (Andrei)
2001-05-09 20:06:39 +00:00
Frank M. Kromann 5258141db8 Minor change to the way string lengths are calculated and space alocated. 2001-05-09 19:18:04 +00:00
Sascha Schumann b1393e1880 Document overwriting behaviour of PHP_ARG_WITH/ENABLE with regard
to ext_shared.
2001-05-09 18:12:12 +00:00
Frank M. Kromann 90243d2cf0 Getting rid of memset. 2001-05-09 16:20:34 +00:00
foobar 3d430e4141 The PHP_EXTENSION() has to be before any other PHP_ARG_*()'s 2001-05-09 15:38:29 +00:00
Wenhui Zhang b6b5039f25 Change for Empress PHP support 2001-05-09 15:35:31 +00:00