Wez Furlong
12a0092376
Fix for php_stream_gets when the implementation does not support it
...
natively (Thanks Marcus).
Implement php_stream_make_seekable() and add STREAM_MUST_SEEK as an
option to php_stream_open_wrapper().
See README.STREAMS for usage.
2002-03-17 14:21:01 +00:00
Wez Furlong
effa6e8daa
tidy up the headers (streams related)
2002-03-17 13:29:44 +00:00
Wez Furlong
436e339bc7
Fix for Bug #16121 : make unix socket names binary safe.
...
# Could be applied to 4.2 branch, but I don't have a working copy, and
# I don't think it's amazingly critical.
2002-03-17 13:19:27 +00:00
Wez Furlong
b98074ee86
fix problems with cgi/cli sapi when running tests
2002-03-17 13:16:35 +00:00
Marcus Boerger
20f2e63289
#removed code to track down error in streams
2002-03-17 12:16:29 +00:00
Marcus Boerger
34cb24fcf7
-fix bug with wrappers
2002-03-17 12:06:41 +00:00
Markus Fischer
519e6b2208
- Let configure also detect installation in standard unix paths.
...
- Properly format error message.
2002-03-17 08:33:25 +00:00
Shane Caraveo
4a8dda7d01
fix closing pipes
...
fix buffer overrun
2002-03-17 08:21:18 +00:00
Markus Fischer
bfbb3bba1f
- Fix some compiler warnings and errors.
2002-03-17 08:10:04 +00:00
Wez Furlong
1d3ad85ac2
fix win32 warning and ming leak
2002-03-17 01:58:42 +00:00
8261132f41
NEWS update
2002-03-17 01:20:41 +00:00
e0fd7cc2da
ChangeLog update
2002-03-17 01:19:36 +00:00
Stig Bakken
c55f61c9aa
* added optional layer parameter to get() method
...
* added isDefinedLayer() method
2002-03-16 23:48:23 +00:00
Markus Fischer
9a6296c47e
- WS and code style fix.
2002-03-16 22:31:57 +00:00
foobar
6f546e7b42
- Fixed some typos.
2002-03-16 22:19:33 +00:00
Markus Fischer
6c27722398
- Some more TSRMLS fixes.
2002-03-16 22:19:10 +00:00
Harald Radi
2be6527fc6
fixed TSRM build
2002-03-16 22:08:23 +00:00
Marcus Boerger
bcad7a593a
-quick hack to bug in streams....but where?
2002-03-16 21:19:17 +00:00
Marcus Boerger
d50102b6ab
-disabling debug
...
#Wez: i have an error when closing the original file after stream copy...
2002-03-16 20:25:51 +00:00
Marcus Boerger
f24caf3244
-formatting
2002-03-16 20:12:58 +00:00
Marcus Boerger
fe9cb020ae
-fix bug for not correct terminated comments
...
-switch to streams
@exif functions now support streams using memory streams where @necessary (marcus)
2002-03-16 20:12:17 +00:00
Marcus Boerger
8c3535e15a
-added memory streams
...
@added memory streams (marcus)
2002-03-16 20:11:06 +00:00
Marcus Boerger
bfe7a9acaf
-copy_stream_to_stream returns size if maxlen == PHP_STREAM_COPY_ALL
...
#had to commit myself to do the rest...
2002-03-16 20:05:08 +00:00
Wez Furlong
b28e19c004
fix ftell/fseek in stdio streams
2002-03-16 18:52:03 +00:00
Wez Furlong
b85096ffe9
fix build problem for interbase
2002-03-16 18:43:41 +00:00
Wez Furlong
5d0c53eecf
Fix some issues with gzFile and fsockopen.
2002-03-16 18:42:42 +00:00
Andi Gutmans
a18000f163
- Indentation fix.
...
Never do:
if (expr) {
}
else
It should be:
if (expr) {
} else {
2002-03-16 18:16:55 +00:00
Wez Furlong
1fdd2a7ddd
add HAVE_PHP_STREAM macro for extensions to test which fileio functions to use
2002-03-16 17:54:11 +00:00
Wez Furlong
0895998bef
s/get_file_contents/file_get_contents/
2002-03-16 16:52:24 +00:00
Harald Radi
11a67831d1
blah
2002-03-16 16:15:34 +00:00
Wez Furlong
201446c2b5
Ooops.
2002-03-16 16:14:56 +00:00
Wez Furlong
0447327118
Implement get_file_contents() as discussed (briefly!) by myself, Derick
...
and Sterling on php-dev some months ago.
It returns the file contents as a string, and uses mmap if possible.
2002-03-16 16:06:18 +00:00
Markus Fischer
ac50b53018
- WS fix.
2002-03-16 15:50:20 +00:00
Markus Fischer
3c52ef676f
- Don't forget to close the handle.
2002-03-16 15:42:34 +00:00
Wez Furlong
80f52730ff
correct some problems with ming
2002-03-16 15:15:51 +00:00
Wez Furlong
bed04279c3
Hopefully fix resource usage so that we have no leaks and don't segfault.
2002-03-16 14:39:51 +00:00
Wez Furlong
6abd7c6f93
fix typo
2002-03-16 13:54:03 +00:00
Wez Furlong
6beb1e37a8
work around apache segfault for the moment
2002-03-16 13:50:17 +00:00
Wez Furlong
30647934a4
Tweak the API to be more consistent.
...
Update docs.
2002-03-16 13:48:57 +00:00
Markus Fischer
d4e63bc5bf
- Raise warning when trying to execute non-executeable shell
...
for mail delivery binary.
2002-03-16 12:45:43 +00:00
Harald Radi
01e5d78b80
TSRM fix
2002-03-16 12:22:25 +00:00
Wez Furlong
12f893d142
fsock.c did it this way, so it must be OK...
2002-03-16 12:07:27 +00:00
Wez Furlong
a411b0e97b
bring back ptrdiff_t
2002-03-16 11:58:38 +00:00
Wez Furlong
31ed1707a1
Hopefully fix probs with apache.
2002-03-16 11:24:12 +00:00
Wez Furlong
e0fc29877f
update NEWS
2002-03-16 11:12:25 +00:00
Sander Roobol
ae69dae6f8
Fixed build with multiple concurrent jobs: zend_indent.c, zend_highlight.c
...
and zend_compile.c require zend_language_parser.h
2002-03-16 11:02:35 +00:00
Stefan Esser
e926db7bfa
fixed possible bufferoverflow in get_next_char
...
malformed input to htmlentities/htmlspecialchars
with utf-8 encoding crashed the server
ex: htmlentities("\xfd...(30times)", ENT_NOQUOTES, "utf-8");
2002-03-16 09:44:30 +00:00
Andi Gutmans
1d2ff695e9
- Add streams.c and php_streams.h to project.
2002-03-16 08:11:52 +00:00
Rui Hirokawa
9a735efbce
fixed some errors of mbstring in regression tests.
2002-03-16 07:33:21 +00:00
foobar
fe976659fd
- Do not use @ when you're merging the fixes to the release branch.
...
Instead, edit the NEWS file manually.
2002-03-16 05:43:04 +00:00