Re: [ANNOUNCE] GIT 1.0.7
From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:16
"H. Peter Anvin" [off-list ref] 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."