"H. Peter Anvin" <hpa@zytor.com> writes: > Any reason to not just do: > > struct frotz { > int xyzzy; > char nitfol[1]; /* more */ > }; > > ... which should work on all compilers? Laziness, especially to avoid having to deal with comments like "your xmalloc(sizeof(struct frotz) + strlen(nitfol) + 1) should be xmalloc(sizeof(struct frotz) + strlen(nitfol)), because you have already one byte for nitfol element." - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.htmlReceived on Sun Jan 08 08:12:48 2006
This archive was generated by hypermail 2.1.8 : 2006-01-08 08:12:55 EST