Commit Graph

2086 Commits

Author SHA1 Message Date
Marcus Boerger
9f329adb02 Add length modifier L 2003-09-14 09:50:36 +00:00
Marcus Boerger
9b98e42f35 - Add length modifiers(ll, j, t, h, hh)
# Still missing formats (%a, %A)
# Still missing modifier (l) in (%lc, %ls)
# Still missing modifier (L) in (%La, %LA, %Le, %LE, %Lf, %LF, %Lg, %LG)
# C99 requires any conversion to be able to produce at least 4095
# characters. Implementation only allows less then 512.
#
# Only inside ext/mbstring etc. we could use %lc and %ls. And none of the
# rest should affect us until we stay with double and avoid long double.
2003-09-14 09:12:54 +00:00
Marcus Boerger
3cf2d2f108 Show the whole message when in debug mode 2003-09-13 19:56:38 +00:00
Ard Biesheuvel
f940b0fe3c Pointer size fix 2003-09-13 19:43:39 +00:00
Marcus Boerger
af574b9699 - Fix %p to prepend '0x' as suggested by C99.
- Add 'z' prefix.
# Now you can use '%zd' in [v]spprintf() and everything that utilizes it
# like error messages BUT you still cannot rely on it in [v]s[n]printf()
# calls.
2003-09-13 16:49:24 +00:00
Ard Biesheuvel
6f37733367 Fixed for 64bit archs 2003-09-13 15:27:09 +00:00
Ilia Alshanetsky
ef23b497d4 Fixed bug #25316 (Possible infinite loop inside _php_stream_write()). 2003-09-11 05:07:26 +00:00
Stefan Roehrich
2fc92e8fd8 Fix for bug #23488 zlib.output_compression overrides vary header.
It was already fixed for ob_gzhandler (#24827).
2003-09-10 08:47:37 +00:00
Ilia Alshanetsky
0a3d5c9b08 Fixed bug #25429 (fix copying of stdin using copy() function) 2003-09-10 00:58:12 +00:00
foobar
6ed790685f configure.in 2003-09-08 13:14:41 +00:00
Marcus Boerger
e5e6040efe Remove unwanted space 2003-09-04 14:43:36 +00:00
Ard Biesheuvel
3d6426ee14 Fix use of EXTERN_C macros 2003-09-02 13:34:23 +00:00
Ard Biesheuvel
e6ea5ca9c3 Fix use of EXTERN_C macros 2003-09-02 13:07:17 +00:00
Marcus Boerger
e69028346a Error message clean up part IV: spprintf/estrndup don't return on 'out of mem'
Error message clean up part V: Show PHP Startup/Shutdown
2003-09-02 12:12:05 +00:00
Marcus Boerger
a383ff01e6 Error message clean up part III: Fix ini setting logic & respect docref_root 2003-09-02 00:35:51 +00:00
Marcus Boerger
107a59ae72 Error message clean up part II: Don't show params where none apply. 2003-09-01 23:32:28 +00:00
Marcus Boerger
4e049f9fc9 Error message clean up part I: always show 'Unknown' instead of empty names. 2003-09-01 22:55:40 +00:00
Marcus Boerger
d45fd8a1b1 Make vspprintf available as zend utility function. Use it in exception output. 2003-08-31 09:35:54 +00:00
Marcus Boerger
ab22461262 Add define to reset error handling more easily 2003-08-29 00:22:36 +00:00
Ilia Alshanetsky
9d9727aac5 Fixed compiler warnings. 2003-08-28 19:17:34 +00:00
Sascha Schumann
af8e15b8db kill warnings 2003-08-28 17:07:40 +00:00
Sascha Schumann
341b7b5df1 add format attribute where appropiate 2003-08-28 16:49:43 +00:00
Sascha Schumann
258d958d4f Use ZEND_GCC_VERSION and ZEND_ATTRIBUTE_MALLOC 2003-08-28 14:53:36 +00:00
Sascha Schumann
5ef7cc4cb6 Let GCC check format arguments 2003-08-28 05:23:08 +00:00
Ilia Alshanetsky
a326bde2e8 Prevent a crash when expand_filepath() fails. 2003-08-27 01:10:10 +00:00
foobar
e4677c014a - Fixed bug #25166 (WDDX serializer handler missing in win32). (Jani) 2003-08-26 02:50:39 +00:00
Marcus Boerger
3b7d5781de - Simplify php_error_cb()
- Make errors show the class where possible
2003-08-25 20:51:40 +00:00
Ilia Alshanetsky
d52172ad89 Fixed bug #25127 (reset memory_limit before terminating the request) 2003-08-22 20:01:53 +00:00
Brian France
ab2ebdb49b Updated PHP_API_VERSION to 20030820 for the php_setcookie api change 2003-08-22 16:43:29 +00:00
Zeev Suraski
7b4ec88d76 No need for those code blocks anymore... 2003-08-20 23:00:08 +00:00
Ilia Alshanetsky
ece0a731e9 Fixed bug #25170 (Problem with generation of random numbers on solaris) 2003-08-20 16:40:22 +00:00
Wez Furlong
b61e6e24c3 Unify TSRMLS_FETCH() usage.
Fix release build: two instances of } were placed inside #ifdef ZEND_DEBUG
2003-08-19 03:25:00 +00:00
Wez Furlong
ef498a27b8 linkage for C++ 2003-08-18 23:19:27 +00:00
Zeev Suraski
642e331309 Improve tracking 2003-08-18 22:31:29 +00:00
Sascha Schumann
602d1b0045 One bit fields need to be unsigned, otherwise there is no storage for
the sign bit

"A signed bit field has a length of 1 bit."
2003-08-17 13:49:52 +00:00
Wez Furlong
6e6a793bb9 fix this stuff 2003-08-14 17:06:43 +00:00
Wez Furlong
6df5d5ba20 Add new COM (and .Net) extension for php5.
Not yet complete, but should work for most people.
2003-08-14 16:49:56 +00:00
Ilia Alshanetsky
93bcd55eaf emalloc -> safe_emalloc 2003-08-12 00:58:52 +00:00
Marcus Boerger
c60d2a312e Bugfix #25044 2003-08-11 19:36:26 +00:00
Masaki Fujimoto
ab9dcec292 - added script encoding support to Zend Engine 2.
this enables ZE2 to gracefully parse scripts written in UTF-8 (with BOM),
  UTF-16, UTF-32, Shift_JIS, ISO-2022-JP etc... (when configured with
  '--enable-zend-multibyte' and '--enable-mbstring')
2003-08-11 05:24:42 +00:00
Marcus Boerger
3466a48add Initialize this variable to 0 as suggested by sara 2003-08-10 21:30:36 +00:00
Ilia Alshanetsky
c99e16d14a Timeout fix. 2003-08-09 23:15:40 +00:00
foobar
3c1cb7431e MFB 2003-08-09 14:27:16 +00:00
Ilia Alshanetsky
5e9a18a5c0 Fixed bug #24951 (ob_flush() needlessly destroys output handler). 2003-08-08 23:43:45 +00:00
Marcus Boerger
4ea2599301 Clearify 2003-08-08 19:48:33 +00:00
Marcus Boerger
2ede480de2 Bugfix #24063 (marcus/ilia) 2003-08-08 19:47:30 +00:00
Zeev Suraski
4e796a7080 Remove unnecessary macro 2003-08-03 17:42:01 +00:00
Ilia Alshanetsky
de7f7658cf Only register server variables when needed. 2003-07-31 22:56:57 +00:00
Ilia Alshanetsky
0eb76eb2ec Fixed bug #24883 (variables created through register_globals, ignore
gpc_order and variables_order).
Prevent multiple registration of ENV & SERVER variables when more then one
is specified.
Prevent multiple addition of GET/POST/COOKIE variables when building
_REQUEST.
2003-07-31 22:29:32 +00:00
Ilia Alshanetsky
ecbcd7f59f Fixed bug #22154 (Possible crash when memory_limit is reached and
output buffering in addition to session.use_trans_sid is used).
2003-07-31 19:46:03 +00:00