Hello Scott,
this does not anything we don't have yet. Your vasprintf does exactly the
same as vspprintf. Also the a in the name typically denotes malloc. In fact
there is a vasprintf on several systems which would collide:
ASPRINTF(3)Linux Programmer's Manual
scottmacFri Nov 21 21:49:52 2008 UTC
Modified files:
/php-src/main snprintf.c snprintf.h
Log:
Add vasprintf() so the buffer can be automatically calculated, you need to
efree this when done though!
helly Thu Feb 7 12:45:42 2008 UTC
Modified files:
/php-src/main snprintf.c snprintf.h spprintf.c spprintf.h
Log:
- WS
http://cvs.php.net/viewvc.cgi/php-src/main/snprintf.c?r1=1.61r2=1.62diff_format=u
Index: php-src/main/snprintf.c
diff -u
derick Tue Sep 4 11:19:33 2007 UTC
Modified files:
/php-src/main snprintf.c
Log:
- We have to store the original (allocated) pointer here as it was freed after
the pointer itself was modified, otherwise we'll get an invalid free error
here.
tony2001Fri Aug 3 14:30:59 2007 UTC
Modified files:
/php-src/main snprintf.c spprintf.c
Log:
'I32' and 'I' support (per request by Marcus)
http://cvs.php.net/viewvc.cgi/php-src/main/snprintf.c?r1=1.57r2=1.58diff_format=u
Index:
dmitry Mon Jun 25 08:39:24 2007 UTC
Modified files:
/php-src/main snprintf.c spprintf.c
Log:
Restore big exponent letter in var_export() ('1e300' - '1E300')
http://cvs.php.net/viewvc.cgi/php-src/main/snprintf.c?r1=1.56r2=1.57diff_format=u
Index:
On Mon, 25 Jun 2007, Dmitry Stogov wrote:
dmitryMon Jun 25 08:39:24 2007 UTC
Modified files:
/php-src/main snprintf.c spprintf.c
Log:
Restore big exponent letter in var_export() ('1e300' - '1E300')
Please add a test case for this...
Derick
--
Didn't you see broken test tests/lang/bug24640.phpt?
Dmitry.
-Original Message-
From: Derick Rethans [mailto:[EMAIL PROTECTED]
Sent: Monday, June 25, 2007 12:48 PM
To: Dmitry Stogov
Cc: php-cvs@lists.php.net
Subject: Re: [PHP-CVS] cvs: php-src /main snprintf.c spprintf.c
On 04/13/2007 02:47 AM, Marcus Boerger wrote:
Hello Antony,
under windows, where this is coming from (iirc), there is __int64. Is
that mapped to SIZEOF_LONG_LONG and don't you need to check for the
actual value being 8?
Ok, so it's always defined on Windows.
But there are also other
tony2001Thu Apr 12 22:00:56 2007 UTC
Modified files:
/php-src/main snprintf.c
Log:
add support for %I64(u|d) to sprintf() utilities
http://cvs.php.net/viewvc.cgi/php-src/main/snprintf.c?r1=1.54r2=1.55diff_format=u
Index: php-src/main/snprintf.c
Hello Antony,
under windows, where this is coming from (iirc), there is __int64. Is
that mapped to SIZEOF_LONG_LONG and don't you need to check for the
actual value being 8?
best regards
marcus
Friday, April 13, 2007, 12:00:56 AM, you wrote:
tony2001Thu Apr 12 22:00:56 2007
Hey Marcus,
Yes, SIZEOF_LONG_LONG is defined to 8 in main/config.w32.h
#define SIZEOF_LONG_LONG 8 /* defined as __int64 */
Edin
Marcus Boerger wrote:
Hello Antony,
under windows, where this is coming from (iirc), there is __int64. Is
that mapped to SIZEOF_LONG_LONG and don't you need to
dmitry Mon Apr 9 15:35:49 2007 UTC
Modified files:
/php-src/main snprintf.c
Log:
ZTS fix
http://cvs.php.net/viewvc.cgi/php-src/main/snprintf.c?r1=1.53r2=1.54diff_format=u
Index: php-src/main/snprintf.c
diff -u php-src/main/snprintf.c:1.53
dmitry Mon Feb 26 10:22:45 2007 UTC
Modified files:
/php-src/main snprintf.c
Log:
ZTS fix
http://cvs.php.net/viewvc.cgi/php-src/main/snprintf.c?r1=1.51r2=1.52diff_format=u
Index: php-src/main/snprintf.c
diff -u php-src/main/snprintf.c:1.51
tony2001Mon Feb 26 11:55:33 2007 UTC
Modified files:
/php-src/main snprintf.c
Log:
fix CS/WS
http://cvs.php.net/viewvc.cgi/php-src/main/snprintf.c?r1=1.52r2=1.53diff_format=u
Index: php-src/main/snprintf.c
diff -u php-src/main/snprintf.c:1.52
helly Sat Feb 24 18:24:06 2007 UTC
Modified files:
/php-src/main snprintf.c snprintf.h
Log:
- Add [v]slprintf
http://cvs.php.net/viewvc.cgi/php-src/main/snprintf.c?r1=1.49r2=1.50diff_format=u
Index: php-src/main/snprintf.c
diff -u
helly Sat Feb 24 18:33:03 2007 UTC
Modified files:
/php-src/main snprintf.c
Log:
- Make [v]s[nl]printf compatible with 5.2 versions and [v]spprintf of head
http://cvs.php.net/viewvc.cgi/php-src/main/snprintf.c?r1=1.50r2=1.51diff_format=u
Index:
tony2001Tue Dec 19 13:15:30 2006 UTC
Modified files:
/php-src/main snprintf.c
Log:
inf-INF
nan-NAN
http://cvs.php.net/viewvc.cgi/php-src/main/snprintf.c?r1=1.46r2=1.47diff_format=u
Index: php-src/main/snprintf.c
diff -u
tony2001Tue Dec 19 13:26:39 2006 UTC
Modified files:
/php-src/main snprintf.c
Log:
-NAN should not be possible
http://cvs.php.net/viewvc.cgi/php-src/main/snprintf.c?r1=1.47r2=1.48diff_format=u
Index: php-src/main/snprintf.c
diff -u
helly Tue Jan 24 20:57:56 2006 UTC
Modified files:
/php-src/main snprintf.c spprintf.c
Log:
- Fixed Bug #35978 %n format string specifier wrongly implemented
http://cvs.php.net/viewcvs.cgi/php-src/main/snprintf.c?r1=1.41r2=1.42diff_format=u
Index:
helly Mon Dec 26 13:39:17 2005 EDT
Modified files:
/php-src/main snprintf.c
Log:
- Fix memory corruption in s*printf() (see bug #27678)
http://cvs.php.net/viewcvs.cgi/php-src/main/snprintf.c?r1=1.38r2=1.39diff_format=u
Index: php-src/main/snprintf.c
helly Mon Dec 26 14:46:34 2005 EDT
Modified files:
/php-src/main snprintf.c
Log:
- Support full range of floats
http://cvs.php.net/viewcvs.cgi/php-src/main/snprintf.c?r1=1.39r2=1.40diff_format=u
Index: php-src/main/snprintf.c
diff -u
helly Tue Nov 1 06:12:28 2005 EDT
Modified files:
/php-src/main snprintf.c
Log:
- WS: Make function detection work in my editor
http://cvs.php.net/diff.php/php-src/main/snprintf.c?r1=1.37r2=1.38ty=u
Index: php-src/main/snprintf.c
diff -u
helly Thu Apr 15 19:08:22 2004 EDT
Modified files:
/php-src/main snprintf.c
Log:
Bugfix #28012, now for snprintf
http://cvs.php.net/diff.php/php-src/main/snprintf.c?r1=1.33r2=1.34ty=u
Index: php-src/main/snprintf.c
diff -u php-src/main/snprintf.c:1.33
MFH?
On Thu, 15 Apr 2004, Marcus Boerger wrote:
helly Thu Apr 15 19:08:22 2004 EDT
Modified files:
/php-src/main snprintf.c
Log:
Bugfix #28012, now for snprintf
http://cvs.php.net/diff.php/php-src/main/snprintf.c?r1=1.33r2=1.34ty=u
Index:
helly Sun Sep 14 05:50:36 2003 EDT
Modified files:
/php-src/main snprintf.c snprintf.h spprintf.c
Log:
Add length modifier L
Index: php-src/main/snprintf.c
diff -u php-src/main/snprintf.c:1.29 php-src/main/snprintf.c:1.30
---
helly Sat Sep 13 12:49:26 2003 EDT
Modified files:
/php-src/main snprintf.c spprintf.c
Log:
- 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
helly Fri Aug 8 15:48:33 2003 EDT
Modified files:
/php-src/main snprintf.c
Log:
Clearify
Index: php-src/main/snprintf.c
diff -u php-src/main/snprintf.c:1.26 php-src/main/snprintf.c:1.27
--- php-src/main/snprintf.c:1.26Fri Aug 8 15:47:30 2003
helly Fri Aug 8 15:47:30 2003 EDT
Modified files:
/php-src/main snprintf.c
Log:
Bugfix #24063 (marcus/ilia)
Index: php-src/main/snprintf.c
diff -u php-src/main/snprintf.c:1.25 php-src/main/snprintf.c:1.26
--- php-src/main/snprintf.c:1.25Thu Jul
helly Thu Jul 17 17:26:25 2003 EDT
Modified files:
/php-src/main snprintf.c
Log:
Fix text output of numbers with absolute exponent greater than or equal 80.
#
# Probably not last conclusion on wisdom. But i looked up current apache
# sources and they
30 matches
Mail list logo