1
0
mirror of https://github.com/php/php-src.git synced 2026-03-31 20:53:00 +02:00
Commit Graph

2817 Commits

Author SHA1 Message Date
Antony Dovgal
5a6d0f0424 use strdup() 2007-02-06 17:35:42 +00:00
Andi Gutmans
7b6523c8e6 - Make sure to be ANSI C compliant 2007-02-05 05:15:49 +00:00
Marcus Boerger
66398d4e3e - Fix memleak 2007-02-03 14:57:24 +00:00
Marcus Boerger
67206a2cbf - Fix mem/temp stream exports and readonlyissue 2007-02-03 14:45:54 +00:00
Michael Wallner
db22b925bf - don't do memory limit checks for chunk_size 2007-01-29 13:04:57 +00:00
Marcus Boerger
93918c7a7c - Add option support for temp/memory stream (adds ftruncate support) 2007-01-27 15:17:23 +00:00
Sara Golemon
cc1b19cf0e Expand allow_url_fopen/allow_url_include functionality 2007-01-24 21:43:47 +00:00
Marcus Boerger
27a4e7a2ea - Change hardcoded size to lentgh translation to use sizeof(UChar) as suggested by Andrei 2007-01-19 09:12:08 +00:00
Marcus Boerger
511351bf99 - We need to return the length not the byte size 2007-01-18 23:11:42 +00:00
Marcus Boerger
fcef8d4836 - Fix [v]uspprintf()
- Add [v]zspprintf
2007-01-18 21:39:50 +00:00
Nuno Lopes
22fbaf2d6c MFB: use only 2 bits 2007-01-18 16:06:28 +00:00
Antony Dovgal
53e179ea11 fix fodling, mark set_time_limit() unicode safe 2007-01-18 12:37:44 +00:00
Andrei Zmievski
94123c919e Update PHP API version.
# Wonder why it hasn't been done already.
2007-01-16 22:18:39 +00:00
Marcus Boerger
1c60406349 - Add more unicode stuff 2007-01-16 20:36:04 +00:00
Marcus Boerger
99bd9f758a - Help streams debugging 2007-01-15 22:19:33 +00:00
Antony Dovgal
902e6583d9 add trailing '\0' to stream hashes 2007-01-15 17:06:52 +00:00
Antony Dovgal
3868c1533e include \0 to the hash
it does matter because we use these strings in phpinfo()
2007-01-15 14:59:40 +00:00
Marcus Boerger
25095070cf - Use relay to aid debugging 2007-01-14 19:13:34 +00:00
Marcus Boerger
672eae9c90 - Fix readonly mode to 'rb' 2007-01-14 19:09:55 +00:00
Hannes Magnusson
61b4b4b628 MFB: Fix build (wharmby at uk dot ibm dot com) 2007-01-12 14:34:46 +00:00
Antony Dovgal
9efc4483c0 plug newly added leak 2007-01-12 09:10:05 +00:00
Ilia Alshanetsky
e5a2796223 MFB:
Fixed bug #40098 (php_fopen_primary_script() not thread safe).
	Adjusted previous fixes for similar issue to handle sysconf() failures
2007-01-12 01:50:43 +00:00
Antony Dovgal
8c64f4279b use closesocket() on Win32 and close() on *nix 2007-01-11 15:51:29 +00:00
Sara Golemon
53333166fc Add convenience function for openeing files with unicode names 2007-01-10 22:43:17 +00:00
Marcus Boerger
54917a290b - MFH (Ilia's changes) 2007-01-09 18:38:38 +00:00
Nuno Lopes
42fc7a07ba make a var static 2007-01-06 20:43:51 +00:00
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Ilia Alshanetsky
e88897ec7b MFB: Fixed bug #39984 (redirect response code in header() could be ignored
in CGI sapi).
2006-12-31 19:22:17 +00:00
Ilia Alshanetsky
7c161a1fe6 MFB: strcat() stuff 2006-12-28 15:10:54 +00:00
Antony Dovgal
fbf05e4b70 use strlcat() 2006-12-28 12:18:47 +00:00
Antony Dovgal
8dce10427f use strlcat() and a bigger buffer 2006-12-28 12:01:14 +00:00
Antony Dovgal
867d6380a8 fix php_stream_u_get_line() macro 2006-12-27 15:22:46 +00:00
Ilia Alshanetsky
2dbfe66e4a MFB: safety checks 2006-12-26 17:40:20 +00:00
Dmitry Stogov
1ed6591f8a Fixed heap overflow 2006-12-25 13:11:48 +00:00
Antony Dovgal
4bfad779d7 fix ws, cs and overall code readability 2006-12-21 21:49:13 +00:00
Dmitry Stogov
d7b7678817 Default memory_limit value is set to 128M 2006-12-21 09:12:59 +00:00
Antony Dovgal
b07ab323ad apply correct fix (aka "oops!") 2006-12-21 01:18:14 +00:00
Antony Dovgal
7a6b75e8ac don't leak on error 2006-12-21 01:07:52 +00:00
Antony Dovgal
50791bce76 fix potential leak 2006-12-21 00:46:51 +00:00
Dmitry Stogov
a7c536fbcd Make MEMORY_LIMIT and ZEND_USE_MALLOC_MM to be always enabled. They don't make a
ny significant slowdown, but incrise maintainability a lot. Note that the setting of memory_limit wasn't changes (neither in main/main.c nor in php.ini) and it
still set to 16M.
2006-12-20 10:50:46 +00:00
Hannes Magnusson
460360ae53 MFB:
- Fixed incorrect function names on FreeBSD where inet_pton() was named
        __inet_pton() and inet_ntop() was named __inet_ntop()
- Fixed bug #39685 (iconv() - undefined function)
- Fixed bug #38852 (XML-RPC Breaks iconv)
2006-12-20 10:38:24 +00:00
Antony Dovgal
884fb55a29 -NAN should not be possible 2006-12-19 13:26:39 +00:00
Antony Dovgal
0632620997 inf->INF
nan->NAN
2006-12-19 13:15:30 +00:00
Dmitry Stogov
fb7237eebd Support for systems without locale.h 2006-12-19 13:13:48 +00:00
Dmitry Stogov
869003830b Fixed bug #39815 (SOAP double encoding is not locale-independent) 2006-12-19 11:55:16 +00:00
Dmitry Stogov
938f3d6efa Added function stream_socket_shutdown(). It is a wraper for system shutdown() function, that shut downs part of a full-duplex connection 2006-12-19 08:59:26 +00:00
Antony Dovgal
58673959f9 fix possible invalid read (reproducible only on big-endian machines) 2006-12-18 13:15:18 +00:00
Hannes Magnusson
44693bbf85 - make %f locale aware again
- fix precision loss with %F (noticed by Sebastian Nohn)
- add new tests
2006-12-18 09:25:32 +00:00
Ilia Alshanetsky
fe1176d443 Fixed compiler warning 2006-12-17 18:30:50 +00:00
Andrei Zmievski
3de95b79c3 Keep CLI args as binary strings. 2006-12-12 18:05:07 +00:00