diff --git a/coreutils-i18n.patch b/coreutils-i18n.patch index adcc408..dbf4248 100644 --- a/coreutils-i18n.patch +++ b/coreutils-i18n.patch @@ -1498,7 +1498,7 @@ Index: src/join.c + for (i = 0; i < 2; i++) + { + mallocd = 1; -+ copy[i] = xcalloc (0, len[i] + 1); ++ copy[i] = xcalloc (1, len[i] + 1); + + for (j = 0; j < MIN (len[0], len[1]);) + { @@ -3902,7 +3902,7 @@ Index: src/uniq.c + + for (i = 0; i < 2; i++) + { -+ copy[i] = xcalloc (0, len[i] + 1); ++ copy[i] = xcalloc (1, len[i] + 1); + + for (j = 0, chars = 0; j < len[i] && chars < check_chars; chars++) + {