Thanks for the report.
That's fixed in the latest test release.
ftp://alpha.gnu.org/gnu/fetish/
Bradley White <[EMAIL PROTECTED]> writes:
| % uname -a
| Linux porsche 2.2.14-6.1.1smp #1 SMP Thu Apr 13 19:55:55 EDT 2000 i686 unknown
| % ls -l tsort.c
| -r--r--r-- 1 bww users 9921 Sep 13 1999 tsort.c
| % sum tsort.c
| 01550 10
| % rm tsort
| % make tsort
| gcc -g -O2 -o tsort tsort.o ../lib/libtu.a
| % ./tsort --version
| tsort (GNU textutils) 2.0a
| Written by Mark Kettenis.
|
| Copyright (C) 1999 Free Software Foundation, Inc.
| This is free software; see the source for copying conditions. There is NO
| warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
| % cat TSORT-FAULT
| a b
| b a
| b c
| % ./tsort < TSORT-FAULT
| ./tsort: -: input contains a loop:
| ./tsort: a
| ./tsort: b
| ./tsort: c
| Segmentation fault (core dumped)