[Debian GNUstep maintainers] Bug#315271: Inspector computes wrong folder sizes

Anton Zinoviev Anton Zinoviev <anton@lml.bas.bg>, 315271@bugs.debian.org
Mon, 4 Jul 2005 20:40:33 +0300


On Wed, Jun 29, 2005 at 01:41:38PM +0300, Enrico Sersale wrote:
> >but once it has happened to me that a 5 Mb folder was shown as a 4 Gb 
> >one.
> 
> I've reviewed the code but it seems correct.

I can remember that when I moved this 5 Mb folder to another place,
GWorkspace started to compute right size.  Probably there is something
with the file names?  I use UTF-8 and I observed that non-UTF8 file
names can make GWorkspace confused.  Probably such a file name can make
GWorkspace enter in an infinite loop - 4Gb looks suspiciously close to
the biggest 32-bit unsigned integer.

Anton Zinoviev