Andreas Radke <address@hidden> wrote:
> i got a bugreport from one ArchLinux x86_64 user :
>
>http://bugs.archlinux.org/task/5365
>
> Calling fold with 2 files ends up with a glibc hickup:
Thanks for reporting that. However, that bug is in a change
(the i18n one) that is not in upstream coreutils.
Assuming you have access to the sources, including the patch file, that
may be named coreutils-i18n.patch, you can fix this bug by removing this
line from the end of the fold_out function:
free(line_out);
The "line_out" variable is local to that function, yet declared
"static", and so need not be freed at all.