public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] [PATCH] Enhance vsprintf to handle "ll" long long specifier
@ 2006-10-31 18:45 Jerry Van Baren
  2006-11-02 15:40 ` Grant Likely
  0 siblings, 1 reply; 2+ messages in thread
From: Jerry Van Baren @ 2006-10-31 18:45 UTC (permalink / raw)
  To: u-boot

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 <vanbaren@cideas.com>
-------------- 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 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [U-Boot-Users] [PATCH] Enhance vsprintf to handle "ll" long long specifier
  2006-10-31 18:45 [U-Boot-Users] [PATCH] Enhance vsprintf to handle "ll" long long specifier Jerry Van Baren
@ 2006-11-02 15:40 ` Grant Likely
  0 siblings, 0 replies; 2+ messages in thread
From: Grant Likely @ 2006-11-02 15:40 UTC (permalink / raw)
  To: u-boot

On 10/31/06, Jerry Van Baren <gerald.vanbaren@smiths-aerospace.com> wrote:
> 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 <vanbaren@cideas.com>

Acked-by: Grant Likely <grant.likely@secretlab.ca>

>
>
> >From 9ec9c50b5e9acbc97bf7c7fc023328b231772065 Mon Sep 17 00:00:00 2001
> From: Jerry Van Baren <vanbaren@cideas.com>
> 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 <vanbaren@cideas.com>
> ---
>  lib_generic/vsprintf.c |    7 +++++++
>  1 files changed, 7 insertions(+), 0 deletions(-)
>
> diff --git a/lib_generic/vsprintf.c b/lib_generic/vsprintf.c
> index 2740f2e..034c619 100644
> --- a/lib_generic/vsprintf.c
> +++ b/lib_generic/vsprintf.c
> @@ -256,6 +256,13 @@ #endif
>                 if (*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
>
>
>


-- 
Grant Likely, B.Sc. P.Eng.
Secret Lab Technologies Ltd.
grant.likely at secretlab.ca
(403) 399-0195

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-11-02 15:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-31 18:45 [U-Boot-Users] [PATCH] Enhance vsprintf to handle "ll" long long specifier Jerry Van Baren
2006-11-02 15:40 ` Grant Likely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox