gmake segfaults on start-up if run with a locale other than the
Specifically, in gettext.c:read_alias_file(), alias entries are
handled as a map of alias/value pairs, which are pointers into a
string pool where the actual string data is stored. When the string
pool is full it is realloc()ed but the pointers to the data are not
The fix below is taken from the head of the glibc CVS repository
(where gettext.c is from). It updates the pointers into the
$ LANG=en_US.ISO8859-15 gmake --version
Over to maintainer
I'll take a look at this.
Committed, thank you!