Re: SEGV i sort
Jim Meyering <[email protected]>
| Newsgroups | gmane.comp.gnu.textutils.bugs |
|---|---|
| Message-ID | <[email protected]> |
"ali (Anders Lindgren)" <[email protected]> wrote: Dear fellow freedom-fighters, I have come across a bug > that results in a segmentation fault in GNU sort 2.0.14 > shipped with among others Red Hat 7.2. "sort --version" > doesn't reveal what version of the textutils package > it comes from (unless 2.0.14 refers to textutils as > a whole) -- my apologies if this is not an up to date > version of GNU sort. > > The bug is triggered by merging of files, when one of > the files is empty, e.g: > > ----8<------ > $ touch foo > $ echo "moo" > cow > $ sort -m cow foo # works fine... > moo > $ sort -m foo cow # ..but when first file is empty... > Segmentation fault > ----8<------ Thanks for the report. That's fixed in the latest test release. ftp://alpha.gnu.org/gnu/fetish/textutils-2.0.21.tar.gz