Enhance vsprintf to handle "ll" long long specifier
PATCH 1/1 Enhance vsprintf to handle "ll" long long specifier
Enhance vsprintf to handle "ll" long long specifier (it already supported the deprecated "q" specifier).
Git repository:
<http://www.cideas.us/cgi-bin/gitweb.cgi?p=u-boot/u-boot-of-cmd.git;a=summary>
Branch: vsprintf-ll
<http://www.cideas.us/cgi-bin/gitweb.cgi?p=u-boot/u-boot-of-cmd.git;a=shortlog;h=vsprintf-ll>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-Enhance-vsprintf-to-handle-ll-long-long-specifier-it-already-supported.txt
Url: http://lists.denx.de/pipermail/u-boot/attachments/20061031/9f52ba72/attachment.txt
PATCH 1/1 Enhance vsprintf to handle "ll" long long specifier
Quoted 10 lines · Jerry Van Baren
Enhance vsprintf to handle "ll" long long specifier (it already supported the deprecated "q" specifier).
Git repository:
<http://www.cideas.us/cgi-bin/gitweb.cgi?p=u-boot/u-boot-of-cmd.git;a=summary>Branch: vsprintf-ll
<http://www.cideas.us/cgi-bin/gitweb.cgi?p=u-boot/u-boot-of-cmd.git;a=shortlog;h=vsprintf-ll>Signed-off-by Jerry Van Baren <[email protected]>
Quoted 49 lines
Quoted 3 lines
From
9ec9c50b5e9acbc97bf7c7fc023328b231772065Mon Sep 17 00:00:00 2001From: Jerry Van Baren <[email protected]>
Date: Mon, 30 Oct 2006 19:55:32 -0500
Subject: [PATCH] Enhance vsprintf to handle "ll" long long specifier (it already supported the deprecated "q" specifier).Signed-off-by Jerry Van Baren <[email protected]>--- lib_generic/vsprintf.c | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-)lib_generic/vsprintf.c +7
-1@@ -256,6 +256,13 @@ #endifif (*fmt =='h' || *fmt =='l' || *fmt =='q' ) { qualifier = *fmt; ++fmt; +#ifdef CFG_64BIT_VSPRINTF +/* parse ll (64 bit) and change to 'q' */ +if (*fmt =='l' ) { + qualifier ='q' ; + ++fmt; + } +#endif }/* default base */ --1.4.1.1
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642_______________________________________________
U-Boot-Users mailing list
U-Boot-Users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users
Signature · 4 lines
Grant Likely, B.Sc. P.Eng. Secret Lab Technologies Ltd. grant.likely at secretlab.ca (403) 399-0195