David Hill
8f7009f7f2
minor compiler incompatability fixes
2003-04-24 18:25:47 +00:00
Sascha Schumann
1dafae56b9
MFH
2003-04-19 18:35:51 +00:00
Sascha Schumann
90bb834ed1
Accessing "stream" after freeing it is not a good idea
...
==32692== Invalid read of size 4
==32692== at 0x80CAFB3: _php_stream_free (/home/sas/src/php4/main/streams.c:395)
==32692== by 0x80CE096: _php_stream_cast (/home/sas/src/php4/main/streams.c:2244)
==32692== by 0x80CEDD4: _php_stream_open_wrapper_as_file (/home/sas/src/php4/main/streams.c:2684)
==32692== by 0x80C1C6E: php_fopen_wrapper_for_zend (/home/sas/src/php4/main/main.c:761)
==32692== Address 0x414487EC is 44 bytes inside a block of size 116 free'd
==32692== at 0x401622FB: free (vg_clientfuncs.c:182)
==32692== by 0x80DB337: _efree (/home/sas/src/php4/Zend/zend_alloc.c:265)
==32692== by 0x80CAFAF: _php_stream_free (/home/sas/src/php4/main/streams.c:393)
==32692== by 0x80CE096: _php_stream_cast (/home/sas/src/php4/main/streams.c:2244)
2003-04-16 12:55:21 +00:00
Sascha Schumann
86f292bc00
MFH
2003-04-16 12:44:54 +00:00
Ilia Alshanetsky
1a97d39a61
Fixed bug #23201 (set_file_buffer() crashes with stdio streams).
...
#Already in PHP 5.0 no need for MFH
2003-04-15 01:30:59 +00:00
Marcus Boerger
e2fdfb6c19
MFH: make it static
2003-04-13 20:31:16 +00:00
Marcus Boerger
9cc234e979
MFH: persistent stream closing
2003-04-13 20:13:34 +00:00
Wez Furlong
e1a54c8d10
MFH: Fix for Bug #23069
2003-04-11 11:10:39 +00:00
Marcus Boerger
d8d9e16711
MFH: cli/ini/html_errors/info (they are related)
2003-04-09 20:27:55 +00:00
Sascha Schumann
5d420d7bb7
MFH
2003-04-03 18:19:52 +00:00
Moriyoshi Koizumi
485c71abf7
MFH(r-1.152): fixed memleak in output buffering facility
2003-04-03 00:51:14 +00:00
Sascha Schumann
d1c0cc7f47
s/0/FAILURE/
2003-04-01 19:15:47 +00:00
Sascha Schumann
d484c0ebf8
Fix an uninitialised read for ob_start(array())
2003-04-01 19:13:40 +00:00
Brian France
5555498304
Fixes the problem where argv and argc are not populated unless S
...
is in the variables_order, even if register_argc_argv is on.
2003-03-31 21:24:59 +00:00
Shane Caraveo
cecc66d17b
MFH
2003-03-22 18:54:56 +00:00
Wez Furlong
893c567e35
Fix for persistent stream shutdown in debug builds.
2003-03-20 00:55:58 +00:00
Wez Furlong
6aecc88543
This little fragment didn't get merged from head...
2003-03-19 19:27:52 +00:00
foobar
2f47425d71
MFH: Fixed bug #22775 (Fatal errors exit with status 0 with CGI/CLI)
2003-03-19 08:22:35 +00:00
Wez Furlong
a0b0182016
Fix my fix.
...
# The perils of manual merging :/
2003-03-19 01:34:38 +00:00
Wez Furlong
ea59c6262d
Manual merge of persistent stream sanity check from php5.
2003-03-19 00:18:12 +00:00
Wez Furlong
4a8de5c704
Manual merge of the persistent plain file streams code.
...
See http://news.php.net/article.php?group=php.cvs&article=19680 for
more information.
2003-03-18 23:39:31 +00:00
Marcus Boerger
8c86b7e323
MFH
2003-03-18 22:43:00 +00:00
Wez Furlong
c51569c3b6
WS Fix: I forgot to apply Q} to my comment.
2003-03-18 22:25:02 +00:00
Wez Furlong
ca552c2618
Avoid using FILE* unless we have to.
2003-03-18 16:39:06 +00:00
Wez Furlong
217d3e39c6
Fix my 64-bit casting fix.
...
MFH Fix for #22721 - poor performance for file() on systems without mmap
support.
2003-03-18 14:41:46 +00:00
Ilia Alshanetsky
de93525d7d
MFH
2003-03-17 22:26:51 +00:00
Ilia Alshanetsky
c2c3eaf5a7
MFH
2003-03-17 18:47:29 +00:00
Wez Furlong
03777d2784
MFH Fix for Bug #21310
2003-03-17 13:50:23 +00:00
Marcus Boerger
388607dc2d
MFH bugfix #21751
2003-03-16 00:03:27 +00:00
Wez Furlong
37aafafc7d
64 bit fixes
2003-03-15 13:25:38 +00:00
foobar
1ab395eed3
- Backup to 4.3.2RC
2003-03-12 22:21:25 +00:00
foobar
9ea0fff51d
- Bump the version to RC1.
2003-03-12 22:18:22 +00:00
Stefan Esser
60963ffe6c
MFH
2003-03-12 12:01:01 +00:00
David Hill
9ec2c33e9d
64-bit corrections to parameters to OnUpdateInt Bug #20994 (Dave)
...
@64-bit corrections to parameters to OnUpdateInt Bug #20994 (Dave)
2003-03-10 13:35:36 +00:00
Stefan Esser
20c9225f64
MFH
2003-03-08 15:24:47 +00:00
David Hill
45a1a3037a
64-bit correction to variables passed to zend_parse_parameters
...
@64-bit correction to variables passed to zend_parse_parameters (Dave)
2003-03-07 13:42:30 +00:00
Stefan Esser
5f142e88fb
MFH
2003-03-06 20:59:27 +00:00
Ilia Alshanetsky
2cc9d8537f
MFH
2003-03-05 17:00:25 +00:00
Wez Furlong
c106213d5c
Fix some signed/unsigned issues with read() and SSL_read() return values.
...
Allow SSL_connect() to retry for non-blocking sockets.
Correctly declare the char as unsigned for php_stream_getc(), as per
fgetc() semantics.
2003-03-05 01:28:45 +00:00
Ilia Alshanetsky
276a43792c
Compiler warning fix.
2003-03-04 16:20:24 +00:00
Harald Radi
9c4f6365b8
MFH: adding disable_classes ini directive
2003-03-03 01:54:29 +00:00
Rasmus Lerdorf
70432e3bef
@- Crash bug fix. If config-file-scan-dir is set and contains .ini files
...
but there is no top php.ini file, we would get a segfault. (Rasmus)
2003-02-28 20:44:47 +00:00
Sascha Schumann
97301cbc36
MFH
2003-02-27 10:07:59 +00:00
Rasmus Lerdorf
a731bd9f44
Get rid of an unnecessary syscall on non-Windows. We don't need two
...
setitimer() calls here in order to reset the timer.
2003-02-26 22:17:35 +00:00
foobar
2c486990c6
MFH: Fixed bug #20256 (snprintf() not defined on some systems)
2003-02-25 09:45:47 +00:00
Rasmus Lerdorf
fc069fb51b
open_basedir fixes from David Saez
2003-02-23 22:03:54 +00:00
Wez Furlong
bd55197721
Miscellaneous streams fixes, including probable fixes for:
...
Bug #21131 (fopen with 'a+' and rewind() doesn't work)
Bug #21713 (include remote files leaks temporary files + descriptors on Solaris)
Bug #21185 (move_uploaded_file() does not ignore open_basedir as it should)
Bug #22362 (combinations of fwrite(), fread() and fseek() produce unexpected results)
2003-02-22 02:43:58 +00:00
foobar
e7b71d3932
dirent.h needs to be included always.
2003-02-19 18:45:03 +00:00
Harald Radi
5a6bacea03
MFH
2003-02-19 16:17:34 +00:00
foobar
fd631013d9
MFH: prevent conflicts with other libraries (e.g. libc-client)
2003-02-19 09:28:37 +00:00