Commit Graph

4828 Commits

Author SHA1 Message Date
Antony Dovgal
c912fa4a90 fix leak when call to shutdown function fails 2006-09-15 09:11:31 +00:00
Antony Dovgal
e264e460a4 fix double free(), add test 2006-09-15 07:26:19 +00:00
Dmitry Stogov
e8f1640adb Write valid run-time value for Zend Memory Manager 2006-09-14 08:56:11 +00:00
Ilia Alshanetsky
675bda66b6 MFB: Fixed bug #38096 (large timeout values ignored on 32bit machines in
stream_socket_accept() and stream_socket_client()).
2006-09-11 14:53:33 +00:00
Antony Dovgal
ffe419fefc add new tests, increase code coverage 2006-09-07 11:47:57 +00:00
Ilia Alshanetsky
803b3f4d77 MFB: Fixed bug #38464 (array_count_values() mishandles numeric strings). 2006-09-06 17:31:47 +00:00
Nuno Lopes
e09ffb06f1 MFB: fix gcc warning 2006-09-04 19:16:21 +00:00
Pierre Joye
08b433783c - updates 2006-08-31 22:52:29 +00:00
Antony Dovgal
d08f2e8897 more z/Z fixes 2006-08-31 14:41:15 +00:00
Antony Dovgal
1e284298d7 more z/Z fixes 2006-08-31 14:19:33 +00:00
Antony Dovgal
f53f3b01dd fix ZTS build 2006-08-30 20:24:32 +00:00
Ilia Alshanetsky
922fd02404 Avoid TSRMLS_FETCH 2006-08-30 18:40:26 +00:00
Antony Dovgal
a08e79e900 fix leak in iptcembed() 2006-08-30 16:30:03 +00:00
Antony Dovgal
8149e6251e make sure ext/standard is down before ext/session (fixes #38534) 2006-08-28 19:56:06 +00:00
Antony Dovgal
8d28cf264a fix tests 2006-08-28 19:52:01 +00:00
Antony Dovgal
efb89cfbe1 set BG(locale_string) to NULL on shutdown (partly fixes #38534) 2006-08-28 18:58:22 +00:00
Hannes Magnusson
089b2ab93f Register missing math constants (been missing since 4.0.2!)
Remove M_PI from math.c (its defined in php_math.h)
2006-08-27 18:20:39 +00:00
Hannes Magnusson
ea2891fa9d Fix tests on freebsd 2006-08-27 15:06:15 +00:00
Antony Dovgal
1fbee1aee3 tm_yday may be 0 (Solaris) 2006-08-24 11:27:06 +00:00
Antony Dovgal
8bb1361f23 this fixes segfault in strptime() on 64bit Linuxes, caused by the missing declaration
unfortunately defining _XOPEN_SOURCE breaks the build (some odd dependencies in glibc headers) and this seems to be the best solution
2006-08-24 11:05:38 +00:00
Antony Dovgal
2fdd51a1a0 add test 2006-08-22 19:51:34 +00:00
Dmitry Stogov
9ea1f365d9 ZTS fix 2006-08-22 04:54:00 +00:00
Ilia Alshanetsky
285e5f69d6 MFB: Fixed bug #38524 (strptime() does not initialize the internal date
storage structure).
2006-08-20 18:20:59 +00:00
Andrei Zmievski
9f8bcf3f51 Unicode support for str_word_count() (using the same semantics as for
binary strings).

# These semantics seem quite broken, by the way, as it counts words
# ending or starting with dashes (-). Since this shouldn't really be
# used to count words in Unicode world anyway, supporting the "broken"
# behavior is okay if it helps people with migration.
2006-08-18 18:01:58 +00:00
Antony Dovgal
84060835f7 add a notice to fgetcsv() when delimiter or enclosure is longer than 1 char
(feature request #38496)
2006-08-18 12:50:36 +00:00
Andrei Zmievski
253a82d0cc Simplify php_u_trim(). 2006-08-16 18:07:22 +00:00
Sebastian Bergmann
8551b6d2dc Sync with php_trim() API change. 2006-08-16 08:51:34 +00:00
Andrei Zmievski
2dcfe8aaf5 Fix some trim() issues. 2006-08-15 20:38:12 +00:00
Antony Dovgal
3431cc4a1f don't try to use "auto", "none" and "pass" charsets returned from mbstring 2006-08-15 15:09:21 +00:00
Antony Dovgal
c1b3a17034 new tests 2006-08-15 08:53:55 +00:00
Andrei Zmievski
bd927905ee Unicode support for strcoll(). 2006-08-14 22:00:46 +00:00
Andrei Zmievski
aa9de18ef5 Unicode support for str_split(). 2006-08-14 21:04:50 +00:00
Andrei Zmievski
01e677b37b Unicode support in chunk_split(). 2006-08-14 20:43:23 +00:00
Edin Kadribasic
56a821ec02 Fixed windows build.
Looking at the macro definition it seems that the second argument
to U_STRING_DECL can only be a string literal, not an indetifier.
2006-08-14 11:59:07 +00:00
Ilia Alshanetsky
fa48ce6810 MFB: Various security fixes 2006-08-10 19:02:32 +00:00
Ilia Alshanetsky
b97c393f87 MFB: Added support for httpOnly flag for session extension and cookie
setting functions.
2006-08-10 13:56:54 +00:00
Antony Dovgal
3cf1565d90 typos in comments and other minor improvements 2006-08-10 13:44:00 +00:00
Antony Dovgal
8a159b3efc initialize variable 2006-08-10 09:31:24 +00:00
Antony Dovgal
6ca1ce9986 fix test 2006-08-09 20:34:00 +00:00
Antony Dovgal
704dc9be61 fix ZTS build 2006-08-09 20:31:06 +00:00
Andrei Zmievski
8d953e611d Unicode support for str_shuffle(). 2006-08-09 20:19:06 +00:00
Andrei Zmievski
7201041bc0 Upgrade str_rot13() to work with IS_UNICODE type. 2006-08-09 20:03:22 +00:00
Frank M. Kromann
4fef78869b Fix ZTS builds 2006-08-09 18:15:06 +00:00
Andrei Zmievski
533196671f addcslashes() and stripcslashes() should work only on binary strings. 2006-08-09 17:40:21 +00:00
Antony Dovgal
fddbbb0831 fix test 2006-08-08 22:05:20 +00:00
Antony Dovgal
2168051985 initialize vars 2006-08-08 22:01:48 +00:00
Antony Dovgal
f56a71c63c fix tests to be able to run just .phpt's 2006-08-08 22:01:24 +00:00
Andrei Zmievski
1b18b5a68f Convert nl2br() to suppor IS_UNICODE.
# Hmm, it's a bit ugly..
2006-08-08 21:03:11 +00:00
Antony Dovgal
6b2273b905 fix tests 2006-08-08 20:24:13 +00:00
Antony Dovgal
9c125e6911 fix tests 2006-08-08 20:17:31 +00:00