Workaround an issue on i386 to unbreak the build until the real issue is tracked

down
This commit is contained in:
Baptiste Daroussin 2015-11-07 16:22:29 +00:00
parent 78be8e6732
commit 6cdc211add
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=290499

View File

@ -1255,7 +1255,8 @@ dump_collate(void)
* Large (> UCHAR_MAX) character priorities
*/
RB_NUMNODES(collchar_t, collchars, &collchars, n);
large = calloc(sizeof (collate_large_t) * n, 1);
large = malloc(sizeof (collate_large_t) * n);
memset(large, 0, sizeof (collate_large_t) * n);
if (large == NULL) {
fprintf(stderr, "out of memory");
return;