[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4DE4AE80.9040904@suse.cz>
Date: Tue, 31 May 2011 11:01:52 +0200
From: Michal Marek <mmarek@...e.cz>
To: Valdis.Kletnieks@...edu
Cc: Linus Torvalds <torvalds@...ux-foundation.org>,
linux-kbuild@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/4] kbuild: Fix <linux/version.h> for X.Y versions
On 30.5.2011 17:08, Valdis.Kletnieks@...edu wrote:
> On Mon, 30 May 2011 16:50:50 +0200, Michal Marek said:
>
>> + expr $(VERSION) \* 65536 + $(PATCHLEVEL) \* 256 + 0$(SUBLEVEL)); \
>
> expr isn't going to interpret that last field as octal, is it?
As I wrote in the changelog: "expr treats all numbers as decimals, so
prepending a zero is safe." POSIX requires this, FWIW.
Michal
--
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