This is caused by the overflowing of the COST type.  On linux-i386, int and
long are of the same length, thus defining the COST as long gains nothing.
A maximum width check should be added in main and possibly COST should be
defined to be long long on architectures where sizeof(int) == sizeof(long).
-- 
Debian GNU/Linux 2.2 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


Package: textutils
Version: 2.0-3
Severity: minor


(erno@fabulous) /tmp % fmt -w 100000 < /etc/fstab
[snip output]
zsh: segmentation fault (core dumped)  fmt -w 100000 < /etc/fstab

-- System Information
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux fabulous 2.2.19pre3 #1 Fri Dec 22 04:06:11 EET 2000 i586

Versions of packages textutils depends on:
ii  libc6                         2.2.2-4    GNU C Library: Shared libraries an




Reply via email to