Hi,

This is not really a bug, but...

I'm using df from GNU fileutils 4.0. (And I don't have possibility to
test 4.1 on this machine.) I noticed that if I use (obviously stupid)
argument zero as --block-size, df will dump core:

------------------------------------------------------------

% df --block-size=0 /opt    
Filesystem            0-blocks      Used Available Use% Mounted on
Floating point exception (core dumped)

------------------------------------------------------------

There is no point to use zero as block size, but it would be trivial
to test it, wouldn't it. Utilities shouldn't crash, no matter how
stupid the user might be.

I'm sorry to have bothered you with such a trivial matter if this has
already been addressed in 4.1.

-- 
                                    _________________________________
Internet    : [EMAIL PROTECTED] / "For we are all killers, on land
In Real Life: Olli Kihlberg       / and on sea; Bonapartes and Sharks
_________________________________/ included."  - Herman Melville -

_______________________________________________
Bug-fileutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-fileutils

Reply via email to