[KLUG Members] Directory Size

Dirk H Bartley members@kalamazoolinux.org
08 Dec 2003 10:34:48 -0500


On Mon, 2003-12-08 at 10:23, Adam Williams wrote:
> > I got around this weekend to releasing some software I wrote.  It does
> > exactly this and gives much more detail.  Let me know if there are any
> > issues with compiling or running.  Someone has already told me that it
> > segfaults on debian systems.  I'm looking for a debian system to test it
> > on.  Any volunteers?
> > ftp://ftp.kalamazoolinux.org/pub/projects/dbartley/dirsum.tgz
> 
> [awilliam@estate2 dirsum]$ pwd
> /home/awilliam/tmp/dirsum
> [awilliam@estate2 dirsum]$ cat /etc/redhat-release
> Red Hat Linux release 9 (Shrike)
> [awilliam@estate2 dirsum]$ rpm -q glibc
> glibc-2.3.2-27.9.7
> [awilliam@estate2 dirsum]$ rpm -q gcc
> gcc-3.2.2-5
> [awilliam@estate2 dirsum]$ ./dirsum
> Segmentation fault

With the PWD of dirsum, this makes sense.  No subdirs.  Try this.  The
change should allow a user to run on a directory with no subdirs.

ftp://ftp.kalamazoolinux.org/pub/projects/dbartley/dirsum2.tgz

Dirk

> :(
> 
> _______________________________________________
> Members mailing list
> Members@kalamazoolinux.org
>