Johannes Schlüter
d0cb715373
s/PHP 5/PHP 7/
2014-09-19 18:33:14 +02:00
Nikita Popov
fdd1e96f3e
Revert "remove a few gcc format attributes from some printf-like functions"
...
This reverts commit 25f5ba94ac .
2014-09-03 15:22:08 +02:00
Nuno Lopes
25f5ba94ac
remove a few gcc format attributes from some printf-like functions
...
Since now PHP's printf-like functions have many custom specifiers, the amount of false-positives wasnt worth it
2014-08-31 11:45:11 -04:00
Anatol Belski
4d997f63d9
master renames phase 3
2014-08-25 20:22:49 +02:00
Anatol Belski
8ee2a4a9b5
first shot on merging the core fro the int64 branch
2014-08-16 11:16:11 +02:00
Xinchen Hui
c081ce628f
Bump year
2014-01-03 11:08:10 +08:00
Veres Lajos
1b06e0be96
typo fixes
2013-07-15 00:19:49 -07:00
Xinchen Hui
a666285bc2
Happy New Year
2013-01-01 16:37:09 +08:00
Felipe Pena
8775a37559
- Year++
2012-01-01 13:15:04 +00:00
Gustavo André dos Santos Lopes
2a6968e43a
- Fixed bug #54055 (buffer overrun with high values for precision ini
...
setting).
#This fix (for g/G/k/H modes) is done at a different level than that for the
#modes e/E/f/F, at a bit higher level and therefore with less coverage. I
#chose this because it addresses the problem where it is -- the calling function
#that passes a buffer too small to php_gcvt.
2011-02-21 06:53:24 +00:00
Felipe Pena
0203cc3d44
- Year++
2011-01-01 02:17:06 +00:00
Sebastian Bergmann
9ba1e81665
sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php
2010-01-03 09:23:27 +00:00
Sebastian Bergmann
08659c2dcd
MFH: Bump copyright year, 3 of 3.
2008-12-31 11:15:49 +00:00
Scott MacVicar
ceabdbb483
MFH Add asprintf, use regular system malloc and free and add checks in configure.in for the functions
2008-11-27 19:45:27 +00:00
Scott MacVicar
bfbe9a34ab
MFH Add vasprintf() so the buffer can be automatically calculated, you need to efree this when done though!
2008-11-21 22:05:03 +00:00
Marcus Boerger
45e6d1e333
- MFH WS
2008-02-07 12:47:44 +00:00
Sebastian Bergmann
d1dded8751
MFH: Bump copyright year, 2 of 2.
2007-12-31 07:17:19 +00:00
Andrei Zmievski
da4ba85cb4
We can't use the printf attribute here since we are supporting
...
non-standard formats (like 'F').
2007-04-06 19:25:52 +00:00
Marcus Boerger
1345740fa5
- Add [v]slprintf to overcome the returnvalues issue of snprintf
2007-02-24 18:20:46 +00:00
Sebastian Bergmann
4223aa4d5e
MFH: Bump year.
2007-01-01 09:36:18 +00:00
Dmitry Stogov
c43fc2afc8
Fixed bug #39815 (SOAP double encoding is not locale-independent)
2006-12-19 11:54:38 +00:00
Antony Dovgal
4d44a5b71d
MFH: use BSD licensed implementation of double-to-string utilities instead of LGPL one
...
this patch also fixes thread safety issues in zend_strtod()
2006-12-06 09:52:51 +00:00
foobar
5bd93221a8
bump year and license version
2006-01-01 12:51:34 +00:00
foobar
ee372651d0
MFH: fix bug #35528
2005-12-03 01:23:25 +00:00
Derick Rethans
7199bc5f86
- MFH: Fixed bug #34052 (date('U') returns %ld not unix timestamp).
2005-09-15 19:11:15 +00:00
foobar
23e671a51e
- Bumber up year
2005-08-03 14:08:58 +00:00
Marcus Boerger
c1717ed8e6
- Fix *printf(%lld) under windows
2005-07-08 20:19:38 +00:00
foobar
3a947f256a
C++ fix
2005-03-31 07:37:39 +00:00
Frank M. Kromann
816bcd3aff
Fix win32 build.
2004-11-15 21:04:09 +00:00
Derick Rethans
61364b5bb1
- MFH4.3: Cleaned up some of the locale mess:
...
* all internal use of sprintf, snprintf and the like will always
use the . as thousands seperator (if php.h is included only!).
* echo, printf() and sprintf() always render locale-aware
* added the %F modifier for non-locale aware rendering for floats
2004-11-15 13:42:22 +00:00
foobar
ccfc46b0aa
- Happy new year and PHP 5 for rest of the files too..
...
# Should the LICENSE and Zend/LICENSE dates be updated too?
2004-01-08 17:33:29 +00:00
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
Sascha Schumann
5ef7cc4cb6
Let GCC check format arguments
2003-08-28 05:23:08 +00:00
James Cox
f68c7ff249
updating license information in the headers.
2003-06-10 20:04:29 +00:00
Stig Bakken
0e6fca4f22
* email address change
2003-03-18 12:06:09 +00:00
foobar
411478e1f6
Fixed bug #20256 (snprintf() not defined)
2003-02-25 09:44:12 +00:00
foobar
8e3f23e3c0
ws fixes + missing $Id$ tags, headers added
2003-02-19 08:40:19 +00:00
Sebastian Bergmann
2c5d4b8c23
Bump year.
2002-12-31 15:59:15 +00:00
Marcus Boerger
302bfefac7
explain difference between sprintf, snprintf and spprintf
...
#before complaining snprintf is often used wrong:
#snprintf does not terminate the buffer but most people expect it
#that could be a security isuue at somewhere
2002-06-23 22:16:35 +00:00
Sascha Schumann
66036eab10
use thread-safe functions unconditionally
2002-05-07 13:24:07 +00:00
Sascha Schumann
946fca9c91
Add thread-safety to some conversion functions and sync a bit with
...
APR.
2002-05-07 05:26:30 +00:00
Marcus Boerger
d3e97520d9
-preface for new vpprintf
...
#reordered and renamed some functions and removed some static
2002-04-10 01:07:49 +00:00
Sebastian Bergmann
90613d2282
Maintain headers.
2002-02-28 08:29:35 +00:00
Sebastian Bergmann
38933514e1
Update headers.
2001-12-11 15:32:16 +00:00
Jason Greene
9e5b0de828
Add the capibility to to allow ap_php_(v)snprintf to replace (v)snprintf
...
if the platform has a broken (v)snprintf, or in my case, if a library included
by a module redifines snprintf incorrectly.
2001-06-05 16:35:56 +00:00
Andi Gutmans
eb6ba01d1c
- Fix copyright notices with 2001
2001-02-26 06:11:02 +00:00
Joey Smith
4caea0bb7a
BROKEN_SPRINTF should be PHP_BROKEN_SPRINTF
2000-07-23 08:25:27 +00:00
Sascha Schumann
16017f6d78
Change header protection macros to conform to standard.
...
Draft 3 of IEEE 1003.1 200x, "2.2 The Compilation Environment"
All identifiers that begin with an underscore and either an uppercase
letter or another underscore are always reserved for any use by the
implementation.
2000-07-02 23:46:51 +00:00
Zeev Suraski
e043439ff6
Update the license with the new clause 6
2000-05-18 15:34:45 +00:00