[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <46B346BC.3060404@s5r6.in-berlin.de>
Date: Fri, 03 Aug 2007 17:16:12 +0200
From: Stefan Richter <stefanr@...6.in-berlin.de>
To: Jakub Jelinek <jakub@...hat.com>
CC: Guennadi Liakhovetski <g.liakhovetski@....de>,
linux-kernel@...r.kernel.org
Subject: Re: gcc fixed size char array initialization bug - known?
Jakub Jelinek wrote:
> ISO C99 is very obvious in that the terminating '\0' (resp. L'\0') from
> the string literal is only added if there is room in the array or if the
> array has unknown size.
I would say C99 is /explicit/ in this regard.
It doesn't seem like an overly /obvious/ language feature to me.
--
Stefan Richter
-=====-=-=== =--- ---==
http://arcgraph.de/sr/
-
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