Subject: Re: bin/18436: ls -i dumps core (Floating point exception)
To: None <naoki@fukaumi.org>
From: Robert Elz <kre@munnari.OZ.AU>
List: current-users
Date: 09/27/2002 19:14:24
Date: Fri, 27 Sep 2002 20:31:15 +0900 (JST)
From: naoki@fukaumi.org
Message-ID: <200209271131.g8RBVFN20690@mail.fukaumi.org>
| >How-To-Repeat:
| In none-empty directory, exec "ls -i"
I think there's another PR with a fix for that already. (bin/18321
from David Laight) It was caused by the most recent change to
ls (ls.c 1.44). The fix was just to init the blocksize to something
non-zero (you're seeing the effects of a divide by zero, the assumption
is that no-one cares about the block size with ls -i, so it is never
given a value, but gets used anyway).
Bill, since this is your bug, you probably should get the PR, and
fix it... (that way, or some other way).
kre