Ilia Alshanetsky
81abbc66fc
Added missing safe_mode & open_basedir checks.
2004-06-24 00:48:58 +00:00
Ilia Alshanetsky
869a90f015
Fixed possible buffer overflow.
2004-06-22 20:27:46 +00:00
Ilia Alshanetsky
a3bd8bcd7b
Added missing safe_mode check.
2004-06-21 22:53:52 +00:00
Sara Golemon
a2c24ae90e
BugFix#28868 (Part Two): This fixes thread unsafety in the userspace
...
filters which relates to the fix just applied for userspace wrappers.
2004-06-21 21:08:05 +00:00
Sara Golemon
7fcfa8865e
BugFix#28868: Wrapper hash not thread-safe.
...
Userdefined wrappers were being registered into a global wrapper hash
which can cross threads. Termination of once instance then has the
potential to leave an active stream in another instance with no wrapper
leading to segfault.
2004-06-21 18:58:55 +00:00
Ilia Alshanetsky
a99e4b5969
Removed unneeded checks around Zend allocation macros.
2004-06-20 21:40:43 +00:00
Marcus Boerger
43b4b086db
Bugfix #28851 : call_user_func_array has typo in error message
2004-06-20 09:37:35 +00:00
Sara Golemon
851b6d4475
String lengths should never be char pointers.
2004-06-18 00:44:37 +00:00
Ilia Alshanetsky
23d71171cf
Properly handly high ascii values in soundex().
2004-06-17 00:17:49 +00:00
Ard Biesheuvel
5232a5afea
64-bit bugsquash party
2004-06-16 23:57:25 +00:00
Stefan Esser
585628ba67
Fixed: made 3rd parameter to strrpos 64bit safe.
2004-06-15 22:38:18 +00:00
Ilia Alshanetsky
d26ddca966
Standardize error reporting.
2004-06-13 17:04:36 +00:00
Ilia Alshanetsky
b9fc9a6ad1
hypot() is not experimental.
2004-06-10 19:38:24 +00:00
Ilia Alshanetsky
ceb70dbc68
Fixed bug #28668 (glob() does not work with relative paths on Windows).
2004-06-07 18:30:16 +00:00
Ilia Alshanetsky
9c1e668593
Fixed bug #28649 (Proper glob() return value on Linux when there are no
...
matches).
2004-06-06 16:21:11 +00:00
Ard Biesheuvel
2c97bc2632
Fixed unregistered bug [crash in http_build_query()]
2004-06-04 16:54:14 +00:00
Wez Furlong
bd818c0118
Turn this off then
2004-05-29 09:27:18 +00:00
Wez Furlong
7171429f21
Don't rely on TIOCNOTTY.
2004-05-29 00:30:11 +00:00
Stefan Esser
23813d603c
Fixed off-by-one in http_fopen_wrapper
2004-05-28 13:38:06 +00:00
Wez Furlong
54bbe548fe
Hopefully resolve proc_open build issues.
...
If we need anything more elaborate than this, then we can move to a configure
time check as Sascha suggests.
2004-05-28 13:25:51 +00:00
Stefan Esser
2e3b9ec278
Fixed off-by-one in php_parse_url.
2004-05-28 11:33:23 +00:00
Derick Rethans
f964cc09d2
- Fixed ip2long() behavior if an invalid IP address was passed to the
...
function. This makes it possible to distingiush between "255.255.255.255"
and a wrong one.
2004-05-28 10:45:18 +00:00
Andi Gutmans
b5daf7078e
- Use FREE_HASHTABLE instead of efree()
2004-05-26 18:00:27 +00:00
Wez Furlong
429bce6519
Apparently it is better to specify 500 here for unix98 bits and pieces.
2004-05-26 14:55:32 +00:00
Ilia Alshanetsky
6304e5d7cb
Kill unused var.
2004-05-25 13:51:00 +00:00
Wez Furlong
1360e3478c
Merge that nicer error message here too
2004-05-25 13:25:22 +00:00
Ilia Alshanetsky
396bf39311
Fixed bug #28508 (Do not make hypot() available if not supported by libc).
2004-05-24 17:02:12 +00:00
Wez Furlong
9462eb6db5
Ok, so we do need to rinit here after all.
2004-05-21 17:17:55 +00:00
Wez Furlong
fbccd1438c
Update to reflect recent changes in dl()
2004-05-21 17:08:36 +00:00
Andrey Hristov
19d0283ce8
for now removing ":public". Waiting for a decision? ":public" will require
...
quite a lot of phpt files changes.
2004-05-20 21:15:42 +00:00
Andrey Hristov
44de5a0e8e
fixing the tests so to work with the new var_dump() (dumping private and
...
protected member variables)
2004-05-20 21:13:14 +00:00
Andrey Hristov
aafb2b1581
var_dump() now shows private and protected member variables.
...
Not BC is that since now the public variables are explicitly shown as public
Example :
class a{ protected $a=1; private $b=2;var $c=3;} $a=new a(); var_dump($a);
object(a)#1 (3) {
["a:protected"]=>
int(1)
["b:private"]=>
int(2)
["c:public"]=>
int(3)
}
2004-05-20 17:46:20 +00:00
Ard Biesheuvel
fd7a92f046
Fixed unregistered bug (memory leak in printf() & friends)
2004-05-19 16:46:29 +00:00
Marcus Boerger
29cfd6d24f
- Remove unused blocks
2004-05-19 08:56:50 +00:00
Marcus Boerger
d94136fc30
- Remove unused blocks
2004-05-19 08:45:46 +00:00
Stanislav Malyshev
da26db3054
Z_TYPE_P is for zvals
2004-05-18 16:13:57 +00:00
Wez Furlong
f76725902b
Fix dl() and extension=
2004-05-18 15:26:32 +00:00
Ilia Alshanetsky
3e0cbfb077
Fixed command line escaping routines for win32.
2004-05-18 13:43:24 +00:00
Ilia Alshanetsky
0a38683b14
Correct output.
2004-05-17 20:58:57 +00:00
Sara Golemon
cceecdbcdb
BugFix# 27982: Provide error message when trying to overwrite an existant file without overwrite context option.
2004-05-17 20:31:59 +00:00
Marcus Boerger
ed5ce047db
- Add new test
2004-05-16 14:48:45 +00:00
Marcus Boerger
251b627684
- Fix printf with floats
2004-05-16 14:01:45 +00:00
Ilia Alshanetsky
5b4dc50c01
Fixed possible memory leak inside popen().
2004-05-14 16:12:03 +00:00
Ilia Alshanetsky
d24465ba8a
Fixed bug #28386 (wordwrap() wraps lines 1 character too soon).
2004-05-13 17:44:23 +00:00
Marcus Boerger
40a9fd5f76
- Touch
2004-05-12 10:19:06 +00:00
Marcus Boerger
05a9f544a7
- Move hash table destruction to proper location
2004-05-12 10:17:12 +00:00
Ilia Alshanetsky
bd92164eff
Make vprintf() and printf() return the length of the string printed.
...
Make fprintf() and vfprints() return the correct length of the string
printed.
2004-05-11 19:51:46 +00:00
Ilia Alshanetsky
1842676706
Fixed bug #28355 (glob() does not return error on Linux when it does not
...
have permission to open the directory).
2004-05-11 13:34:19 +00:00
Marcus Boerger
b0d27f9e85
- Decouple NAN and INF
2004-05-10 07:23:38 +00:00
Ilia Alshanetsky
468e834ef1
Fixed bug #28289 (incorrect resolving of relative paths by glob() in
...
windows).
2004-05-09 19:01:13 +00:00
Stanislav Malyshev
255d87b1b8
Add __EXTENSIONS__ define - otherwise it won't compile on Solaris
2004-05-09 11:08:04 +00:00
Jay Smith
8f306fd749
Fixed a segfault. (It's possible for large offsets to make strrpos()
...
read past the end of the haystack string...)
2004-05-06 16:11:50 +00:00
Sara Golemon
0dae58bb2a
Bugfix #28300 Userspace stream/filter names don't need to be lowercased.
2004-05-06 14:29:33 +00:00
Sara Golemon
0180c36951
BugFix#28287 stream_*_register() not calling __autoload().
2004-05-05 18:18:57 +00:00
Wez Furlong
263723ec9b
Update for count_elements handler for overloaded objects.
2004-05-04 15:03:48 +00:00
Marcus Boerger
6a4e1fff78
Use caseinsensitive sort
2004-05-02 13:23:30 +00:00
Wez Furlong
4d5ce8cd08
Fix Bug #28251
2004-05-02 11:13:08 +00:00
Marcus Boerger
f571b188f9
Don't load modules twice
2004-05-01 20:34:15 +00:00
Ilia Alshanetsky
91e9545f4f
Fixed bug #28228 (number_format() does not allow empty decimal separator).
2004-04-30 13:26:01 +00:00
Sara Golemon
1335bc8fb8
Don't strip off those []s, it'll only create problems in wrappers and elsewhere.
2004-04-27 19:28:11 +00:00
Sara Golemon
99b6724a4c
BugFix 28187 parse_url does not handle scheme://[0123:4567::89]:12345/etc style IPv6 embedded address URLs
2004-04-27 19:13:13 +00:00
Derick Rethans
9ee23d7066
- Fixed buffer overflow in phpinfo() for Zend Extension Api NO.
2004-04-23 13:28:25 +00:00
Sara Golemon
d5e0742e8d
In-HEAD bugfix# 28115
2004-04-23 03:37:20 +00:00
Wez Furlong
73f49c16f4
The fix for the vc7 libc putenv bug is also needed here to avoid a crash.
2004-04-22 14:26:03 +00:00
Wez Furlong
daa90c915c
Fix #27865 ; don't dup STDIN, STDOUT or STDERR when running under CLI.
2004-04-19 17:41:39 +00:00
Wez Furlong
398b4a2fbb
Add pty support to proc_open() for systems with Unix98 ptys.
...
# With permission from Andi
2004-04-19 15:07:30 +00:00
Derick Rethans
c8c5e8bbe6
- MFH: Fix for bug #28042 (greek letters in html to entitity mapping not
...
correct)
2004-04-17 23:08:02 +00:00
Andi Gutmans
67502a2e7d
- modifyable -> modifiable
2004-04-12 12:22:26 +00:00
Marcus Boerger
ad4755e257
studlyCaps
2004-04-10 13:56:27 +00:00
Derick Rethans
3ec166aba4
- Add missing "CEST" timezone
2004-04-08 19:21:05 +00:00
Derick Rethans
b91a947d5e
- Added test and not the diff ;-)
2004-04-08 16:17:35 +00:00
foobar
5d3900a2e9
remove crap
2004-04-08 15:58:35 +00:00
Derick Rethans
9d4f01a8af
- Test case for bug #20382
2004-04-08 14:18:23 +00:00
Stanislav Malyshev
72e2e4fea3
Fix incomplete class for the new object model
2004-04-07 08:06:09 +00:00
Derick Rethans
f1141d79c6
- Fixed comment and double 0
2004-04-04 12:45:02 +00:00
Derick Rethans
794846e5c5
- One more test for a date/time related bug.
2004-04-04 12:42:13 +00:00
Marcus Boerger
8fd505f4b4
Add a comment why it is in
2004-04-04 12:31:12 +00:00
Ard Biesheuvel
e7eccf10e6
That should do it
2004-04-03 16:38:10 +00:00
Ard Biesheuvel
5367158046
MFB: more elaborate HUGE_VAL test
2004-04-03 10:42:42 +00:00
Marcus Boerger
53b4597fca
Initialize to 0 to prevent valgrind warnings
2004-04-03 09:51:57 +00:00
Derick Rethans
95659890ba
- Fixed expected shift/reduce conflict count nu,ber
2004-04-02 21:26:35 +00:00
Ilia Alshanetsky
c85843aec1
MFB: Revert patch for bug #27782 .
2004-04-01 22:07:42 +00:00
Derick Rethans
b2ed70e4e0
- MFB: Fixed bug #27780 (strtotime(+1 xxx) returns a wrong date/time)
2004-04-01 21:40:56 +00:00
Derick Rethans
88c17817a9
- Fixed bug #27822 (is_resource() returns TRUE for closed resources)
2004-04-01 08:54:44 +00:00
Sara Golemon
72616e6eae
BugFix#27619
...
Filters not applied to pre-buffered stream data.
(esp. http:// streams)
2004-03-31 23:48:59 +00:00
Hartmut Holzgraefe
f8708f369d
disallow negative timestamps on windows only
2004-03-31 17:57:33 +00:00
Ard Biesheuvel
81cfb1b312
Make time tests more robust against differences in implementation
...
# FreeBSD mktime() returns -1 if is_dst==1 and no DST timezone is set
2004-03-31 01:00:55 +00:00
Ilia Alshanetsky
ec4655f864
Fixed bug #27782 (Wrong behaviour of next(), prev() and each()).
2004-03-30 19:08:43 +00:00
Ard Biesheuvel
04d178f79c
Prevent test from failing on least significant digit
2004-03-30 12:36:44 +00:00
Andi Gutmans
9094dd7a5e
- Tiny improvement.
2004-03-30 08:56:29 +00:00
Marcus Boerger
dddf796edf
NAN==NAN doest work (Ard)
2004-03-29 23:08:36 +00:00
Ilia Alshanetsky
f7fd3a7dcc
Removed extra spaces that cause the test to fail.
2004-03-29 21:57:29 +00:00
Marcus Boerger
8b15b46aa8
Found a NAN/INF solution that should be portable everywhere(?) (Ard,Marcus)
2004-03-29 18:51:47 +00:00
Marcus Boerger
4f855044c7
Improve portability (idea by Ard)
2004-03-28 21:46:43 +00:00
Marcus Boerger
f8ff2ccf20
Fix writing of SQLite and SimpleXMl extension and add Rob to the credits
...
line of the latter. Add ext/SPL.
2004-03-28 20:27:18 +00:00
Rasmus Lerdorf
1ece5eb5ad
MFB test case for bug #27719 and improve comments in this tricky DST code
2004-03-28 15:03:56 +00:00
Marcus Boerger
e4a6365181
Move defines to proper location
2004-03-27 01:41:32 +00:00
Marcus Boerger
141049a2e2
Touch after .c
2004-03-27 01:27:53 +00:00
Marcus Boerger
bc0373b880
Portable solution for bug #27646 that works correct on Windows, too
2004-03-27 00:50:41 +00:00
Marcus Boerger
92d8c3d06e
Correct that name
2004-03-26 19:53:07 +00:00