Marcus Boerger
426cf8eb57
fix state-machine in cases T_AAAA is not available
2002-12-30 11:59:22 +00:00
Ilia Alshanetsky
88d26985b8
Fixed bug #21267 (opening URLs that result in redirection to a relative
...
path was failing).
2002-12-29 20:01:33 +00:00
Derick Rethans
f3d3dd5bc8
- MFB
2002-12-26 23:45:05 +00:00
Wez Furlong
bb640840c3
Remove cruft that opened a stream that was never closed in get_meta_tags().
...
(probably my fault).
Noticed by Philip Olson
2002-12-26 22:35:00 +00:00
Sterling Hughes
457f22c198
if needle is empty free allocated memory
2002-12-26 20:52:42 +00:00
Sterling Hughes
ca67d27fb2
remove memleak
2002-12-26 19:56:44 +00:00
Derick Rethans
b996b32031
- Add test for bug #21182
2002-12-25 20:08:36 +00:00
Ilia Alshanetsky
fbcee73c8c
Make range operate on the copies of the parameters rather then modify the
...
actual parameters.
2002-12-25 20:02:03 +00:00
Melvyn Sopacua
0764c3101b
Verify if gl_pathv is not NULL, which it is, when GLOB_NOMATCH isn't
...
supported and there are no matches.
# BSDi/Mac OSX are affected.
2002-12-23 18:33:46 +00:00
Wez Furlong
c5091eedf1
Forgot to include this in my previous commit for #21131 fix.
2002-12-22 18:06:27 +00:00
Wez Furlong
efea12fec5
Fix for Bug #21131 : fopen($file, 'a+') would incorrectly assume that
...
the stream position was at offset 0.
This corrects that assumption by querying the stream for it's position
when it detects the 'a' "flag" in the mode parameter to fopen.
Also added a test for plain files and amended the userstreams test to
take this into account.
2002-12-22 18:05:36 +00:00
Sara Golemon
13308b5a94
Minor clarification in meaning of bitmask constants
...
/* PHP_DNS_xx = 1<<(T_xx-1) */
T_CNAME = 5 ergo PHP_DNS_CNAME should be 0x00000010.
T_SOA = 6 ergo PHP_DNS_CNAME should be 0x00000020.
2002-12-20 18:34:56 +00:00
Ilia Alshanetsky
3a4bf3f904
When low & high are the same return an array containing the low value.
...
Added support for float values and handling of numeric values being passed
as strings.
Added a test case for range().
2002-12-20 17:16:31 +00:00
Marcus Boerger
d795243db3
@Make uniqid() parameters optional and allow any prefix length. (Marcus)
2002-12-20 17:06:25 +00:00
Marcus Boerger
8652e8ac27
MFB
2002-12-20 17:04:33 +00:00
Marcus Boerger
26038795f8
-disable uniqid() when required lib functions not available
...
-emit an error when uniqid() will fail
-make more_entropy parameter default to true for CYGWIN
2002-12-20 16:34:42 +00:00
Wez Furlong
602734c7d9
Correct mistake introduced by my last commit on these files;
...
*_from_pipe() is for process-pipes created by fopen, not generic pipes
created from proc_open().
Correctly implemented the fifo/pipe check for *_from_file() and it seems
to be working correctly now.
2002-12-19 20:23:50 +00:00
Ilia Alshanetsky
594c3808d4
Fixed bug #21098 .
2002-12-19 17:06:36 +00:00
Moriyoshi Koizumi
d2fa4670dc
Prevented test failure caused by LF code variety
2002-12-18 23:06:27 +00:00
Moriyoshi Koizumi
92d5faca60
MFB
2002-12-12 21:44:53 +00:00
Moriyoshi Koizumi
d679e5d2aa
Added a test case for bug #20934
2002-12-12 21:42:17 +00:00
Melvyn Sopacua
44b7c16b03
Fix for BSD's (possibly others):
...
Accept system default, for the index. Don't initialize it.
2002-12-12 18:50:26 +00:00
Wez Furlong
c5d4e4b321
MFB: popen/pclose and proc_open/proc_close fixes.
2002-12-12 17:51:25 +00:00
Ilia Alshanetsky
53b333d153
Fixed misspelling of the Greek letter lambda,
...
noticed by jmartin-php@notamusica.com .
2002-12-12 14:50:58 +00:00
Ilia Alshanetsky
75c180f242
Fixed bug #20927 and updated the test case for the bug.
2002-12-12 13:38:19 +00:00
Moriyoshi Koizumi
3bbcb0d0dd
Fixed bug #20934 (htmlspecialchars returns latin1 from UTF-8)
2002-12-12 13:25:51 +00:00
Melvyn Sopacua
4b3b409b48
Add testcase for reported wordwrap bug
2002-12-11 20:22:42 +00:00
Ilia Alshanetsky
c194d9333d
Added getopt() test.
2002-12-11 17:38:28 +00:00
Moriyoshi Koizumi
4974f268a6
@- Let array_search() accept objects as a needle under ZendEngine2. (Moriyoshi)
2002-12-09 15:54:38 +00:00
foobar
085f362ae3
T_AAAA is not always available.
2002-12-09 11:50:15 +00:00
Moriyoshi Koizumi
8d1b2bf8a5
Prevented return_value from being freed() twice
2002-12-08 09:54:30 +00:00
Sara Golemon
a4d6863ee5
Bug #17174 Added IPv6 (AAAA record) support to dns_check_record() also added support to dns_get_record
2002-12-08 08:14:43 +00:00
Ilia Alshanetsky
3bc8512cf0
Added test case for bug #20865 .
2002-12-06 17:46:26 +00:00
Ilia Alshanetsky
ed7c3bfe0e
Fixed bug #20865 , array_key_exists() could not locate NULL keys.
2002-12-06 17:35:52 +00:00
Ilia Alshanetsky
c668055159
Remove pointless checks for array_init() return values.
2002-12-05 22:28:02 +00:00
Sara Golemon
ad65d01cbe
Bug #20746 . Renamed aggregation_info() to aggregate_info() per naming conventions and created alias for BC.
2002-12-05 21:20:47 +00:00
Marcus Boerger
49a99a98f4
-php_error -> php_error_docref
...
-removed some cases where emalloc result was tested
2002-12-05 20:59:49 +00:00
Ilia Alshanetsky
7364e3b771
Fixed bug #12556 , updated the test for this bug.
2002-12-05 20:01:19 +00:00
Melvyn Sopacua
bd06d48e56
Test data
2002-12-05 19:30:28 +00:00
Melvyn Sopacua
76436b8820
Add a testcase for this bug
2002-12-05 19:29:45 +00:00
Marcus Boerger
19d5e535c0
Remove unnecessary code here
2002-12-05 15:52:20 +00:00
Marcus Boerger
373361d9c4
Return FALSE on error as mentioned by John Coggeshall.
...
See Bug #20822
2002-12-05 12:39:00 +00:00
Moriyoshi Koizumi
cf0a0f0967
Added a test for bug #12776
2002-12-04 17:01:07 +00:00
Moriyoshi Koizumi
7bf4090efb
Fixed segfaults of array_walk() when keys are passed to cb by reference.
...
Fixed bug #12776 .
2002-12-04 16:41:28 +00:00
Moriyoshi Koizumi
242ddba326
Fixed leaks in array_walk()
2002-12-03 15:02:06 +00:00
Ilia Alshanetsky
057e87e6e5
Repositioned CoInitialize and CoUninitialize that apparetly makes it more
...
correct according to MS docs. Patch (+5) by Michael Sisolak
<msisolak@yahoo.com>.
2002-12-02 06:43:54 +00:00
Moriyoshi Koizumi
aeb6a6c458
Fixed possible buffer overflow in php_base64_decode();
...
# This bug doesn't appear to be harmful for now,
# so I won't merge it into branches...
2002-12-01 02:44:50 +00:00
Ilia Alshanetsky
cc13af6a07
Fixed bug #20716 .
2002-11-30 19:12:48 +00:00
Marcus Boerger
0d7957bc15
Bug #20433
2002-11-30 18:36:17 +00:00
Martin Kraemer
c5a7a522a1
Portability: Use 0 if the platform does not define EX_OK
2002-11-28 08:23:36 +00:00