[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1336355974.8617.6.camel@joe2Laptop>
Date: Sun, 06 May 2012 18:59:34 -0700
From: Joe Perches <joe@...ches.com>
To: Pierre Carrier <pierre@...tify.com>
Cc: Stephen Rothwell <sfr@...b.auug.org.au>,
Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/1] lib/vsprintf.c: "%#o",0 becomes '0' instead of '00'
On Mon, 2012-05-07 at 03:20 +0200, Pierre Carrier 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
If you do this, why not change 0-7 instead of just 0?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists