[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20120507135642.4f9e2cea233dadc19bfe5761@canb.auug.org.au>
Date: Mon, 7 May 2012 13:56:42 +1000
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Pierre Carrier <pierre@...tify.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org, Joe Perches <joe@...ches.com>
Subject: Re: [PATCH 1/1] lib/vsprintf.c: "%#o",0 becomes '0' instead of '00'
On Mon, 7 May 2012 03:20:14 +0200 Pierre Carrier <pierre@...tify.com> wrote:
>
> number()'s behaviour is slighly changed:
> 0 becomes "0" instead of "00" when using the flag SPECIAL and base 8.
>
> Before:
> Number\Format %o %#o %x %#x
> 0 0 00 0 0x0
> 1 1 01 1 0x1
> 16 20 020 10 0x10
>
> After:
> Number\Format %o %#o %x %#x
> 0 0 0 0 0x0
> 1 1 01 1 0x1
> 16 20 020 10 0x10
>
> Signed-off-by: Pierre Carrier <pierre@...tify.com>
Acked-by: Stephen Rothwell <sfr@...b.auug.org.au>
--
Cheers,
Stephen Rothwell sfr@...b.auug.org.au
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists