Messages in this thread | | | Date | Fri, 03 Aug 2007 17:16:12 +0200 | From | Stefan Richter <> | 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |