Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jul 2003 03:07:05 +1000 (EST)
From:      Andy Farkas <andyf@speednet.com.au>
To:        Peter Pentchev <roam@ringlet.net>
Cc:        freebsd-bugs@freebsd.org
Subject:   Re: bin/54784: find -ls wastes space
Message-ID:  <20030724025728.V85348-100000@hewey.af.speednet.com.au>
In-Reply-To: <200307231630.h6NGUDwT031273@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
>
>  Other than that, there might be the human problem of comparing the
>  output of 'find' ...

My eyes go bonkers when I try and look at a list produced by 'find -ls'
when files haves sizes of >10k and >100k and >1000k (etc) all mixed in the
same listing. The blocksize field is variable length, printed as the
second field!

Also, 5.1-CURRENT is different like this:

-       (void)printf("%6lu %4qd ", (u_long) sb->st_ino, sb->st_blocks);
+       (void)printf("%6lu %4"PRId64" ", (u_long) sb->st_ino, sb->st_blocks);

What the fsck does "PRId64" mean!

--

 :{ andyf@speednet.com.au

        Andy Farkas
    System Administrator
   Speednet Communications
 http://www.speednet.com.au/





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030724025728.V85348-100000>