Wez Furlong
2f6952c936
Nope, that last one wasn't a leak in main/streams.c, it was
...
file_get_contents misinterpreting the result...
2002-10-15 16:45:26 +00:00
Sterling Hughes
c2624f4269
Fix a problem relating to these structure symbols being redefined on LFS
...
systems.
Fix by Sascha Schumann <sascha@apache.org>
2002-10-15 16:41:39 +00:00
Wez Furlong
fa1f06b69f
Fix mem leak for zero-byte files.
2002-10-15 16:38:11 +00:00
Wez Furlong
842b5554e0
Some buffer paranoia.
...
Also, make feof() detection safer (ala recent changes to zlib extension).
2002-10-15 16:04:46 +00:00
Wez Furlong
30f9c47d61
Fix for 19906.
...
gzeof has different semantics from feof, in that gzeof will return true
if the read position is at EOF, even if the most recent read was 100%
successful.
feof will return true only (usually) if the most recent fread failed.
2002-10-15 16:01:00 +00:00
Sterling Hughes
57440cc984
hopefully silence compile warnings on Solaris related to HUGEVAL being
...
undefined.. HUGEVAL is defined (well the manual would indicate so) in
stdlib.h, not math.h.
Bug #: 19807
2002-10-15 14:51:01 +00:00
Andrei Zmievski
c65c182693
Upgrade to version 3.92.
2002-10-15 13:59:58 +00:00
Ilia Alshanetsky
b4348434be
Fixed the output_handler ini setting.
...
Code cleanup.
2002-10-15 12:48:21 +00:00
Ilia Alshanetsky
642347ab36
Bug fixing news.
2002-10-15 12:09:29 +00:00
Ilia Alshanetsky
04db537d97
Added tests for %e & %E
2002-10-15 12:08:02 +00:00
Ilia Alshanetsky
95312e994e
Fixed bug #4232 . (Added support for %e and %E to printf/sprintf)
2002-10-15 12:07:36 +00:00
Derick Rethans
1a08e5b622
- Staying consistent with other tests
2002-10-15 06:37:05 +00:00
Wez Furlong
94ef7bc81e
Don't use streams-level buffer on zlib streams.
2002-10-15 02:27:15 +00:00
Ilia Alshanetsky
bf51192d67
Fixed possible memory leaks.
2002-10-15 02:05:27 +00:00
Wez Furlong
6890f98e70
Fix leak, and avoid initialization problems where retval is re-used
...
within a function.
2002-10-15 01:57:19 +00:00
foobar
e737d2c069
Try keep those moved/removed exts entry at top.
2002-10-15 01:16:45 +00:00
Ilia Alshanetsky
b1b4bf9144
Bug fixing news entries.
2002-10-15 00:46:51 +00:00
foobar
23706f18d6
Make this thing to compile with net-snmp-5.0.x
2002-10-15 00:43:34 +00:00
226f0a1ed8
NEWS update
2002-10-15 00:36:04 +00:00
Marcus Boerger
d396d9c7ce
remove ob_end_clean() and instead use ini section
...
#Derick you're right this was no good idea. I just left it over after testing
#the test.
2002-10-15 00:35:05 +00:00
f0664706c9
ChangeLog update
2002-10-15 00:34:34 +00:00
Ilia Alshanetsky
fac8eaff1a
MFZE1
2002-10-14 23:41:32 +00:00
foobar
9618e4e854
This test should not print out the error (which is correct).
2002-10-14 23:09:48 +00:00
Edin Kadribasic
4f9b61aa9f
Respect INSTALL_ROOT var. Thanks to Jani for catching this one.
2002-10-14 22:18:35 +00:00
Andi Gutmans
046bdeaaab
- Support new classname::$class_name, e.g.:
...
<?
class foo::bar {
public $hello = "Hello, World\n";
}
$name = "bar";
$obj = new foo::$name;
print $obj->hello;
?>
2002-10-14 20:13:03 +00:00
Tal Peer
852ec13d41
* Fixed a nasty bug preventing installation of pecl exts.
2002-10-14 19:57:40 +00:00
Ilia Alshanetsky
aba1996d95
Fixed bug #19649 .
2002-10-14 18:13:18 +00:00
Ilia Alshanetsky
fed3b964ea
Added float printing tests.
2002-10-14 16:31:56 +00:00
Sebastian Bergmann
64a22c8a3e
Revert to 1.34.
2002-10-14 16:14:18 +00:00
Ilia Alshanetsky
99f2fc81f3
Fixed a bug (introduced in previous patch) that caused non-double values to
...
be converted to 0 by printf/sprint functions when %f format is specified.
2002-10-14 16:03:16 +00:00
Zeev Suraski
9a9c1b435c
Change the 'security level' of registry entries to PHP_INI_SYSTEM. They're
...
in the system hive in the registry, so only people with administrative
priveleges can add stuff in there.
2002-10-14 12:05:09 +00:00
Derick Rethans
1bb702e403
- Revert, got tricked by a stale object file
2002-10-14 11:59:58 +00:00
Yasuo Ohgaki
e6bcb07c75
Fixed warnings
2002-10-14 09:32:36 +00:00
Edin Kadribasic
06484d6eb2
Install lib into $(prefix)/lib.
...
Make $(prefix)/lib before trying to copy the lib into it.
2002-10-14 09:05:28 +00:00
Derick Rethans
2b34f26b33
- Added the TEST_PHP_USER environment variable with which you can specify
...
additional directories with tests to run. This is ideal for having your own
test suite on your system. You can specify more directories by seperating them
with a ",", for example:
TEST_PHP_USER=/dat/dev/xdebug/tests,/dat/dev/srm/tests make test
2002-10-14 07:18:23 +00:00
Derick Rethans
092f78fc28
- Fix CLI
2002-10-14 06:58:57 +00:00
Sebastian Bergmann
276b314ed3
Whitespace fixes.
2002-10-14 05:56:03 +00:00
Sebastian Bergmann
2e68e0beba
Fix Win32 build.
2002-10-14 05:54:15 +00:00
Wez Furlong
106631fce1
*cough*
...
Fix inverted logic for the assert.
2002-10-14 05:38:50 +00:00
foobar
1fa263a4ec
This is not zval..
2002-10-14 02:46:52 +00:00
Wez Furlong
86e60a2d7a
@- fgets($fp) (with no length parameter) now uses a buffer as long as the
...
@ the next line available from the $fp. Previously, there was a 1KB limit.
@ (Wez)
2002-10-14 02:28:35 +00:00
Wez Furlong
39f8d4c971
Add a sanity check and more verbose output in the case of an error.
2002-10-14 02:25:51 +00:00
Wez Furlong
be5606504c
Implement better SSL error handling.
2002-10-14 01:27:43 +00:00
7e6280630b
NEWS update
2002-10-14 00:36:11 +00:00
cf3493a78d
ChangeLog update
2002-10-14 00:35:29 +00:00
Wez Furlong
483f355d30
Fix stream_eof result interpretation (and thus the user-streams test).
2002-10-14 00:16:02 +00:00
Wez Furlong
2d97f4d4c7
Remove some old code.
2002-10-13 23:43:46 +00:00
Wez Furlong
0bcd2ccb2c
A much better probable fix for #16114 .
2002-10-13 23:43:21 +00:00
Wez Furlong
bc0948bbda
Probable fix for #16114
2002-10-13 23:21:05 +00:00
Wez Furlong
5f7c347f17
Fix a nasty nasty bug:
...
When not enough data to satisfy a read was found in the buffer, fgets modifies
the buf pointer to point to the position to store the next chunk. It then
returned the modified buf pointer, instead of a pointer to the start of the
buffer.
Also added some infrastructure for making fgets grow the buffer on-demand to
the correct line-size. Since streams uses reasonable chunk sizes, the
performance of the realloc's should be pretty good; in the best case, the line
is already found completely in the buffer, so the returned buffer will be
allocated to precisely the correct size.
In the worst case, where the buffer only contains part of the line, we get a
realloc per buffer fill. The reallocs are either the size of the remainder
of the line, or the chunk_size (if the buffer sill does not contain a complete
line). Each realloc adds an extra byte for a NUL terminator.
I think this will perform quite well using the default chunk size of 8K.
2002-10-13 22:52:33 +00:00