[BusyBox] Problem with ls
Matt Kraai
kraai at alumni.carnegiemellon.edu
Mon Nov 27 17:18:15 UTC 2000
On Mon, Nov 27, 2000 at 11:57:37AM -0500, Richard June wrote:
> Using the 0.47 version of busy box I'm having a problem, ls -aR causes
> an infinate loop, it recurses '.'. I know *why* it's doing this, but
> fixing it is a little bit different, I'm not overly familiar with all of
> the structures, nor have I completely wrapped my head around the ls
> code. I think the spot that is broken is showdirs, any preferences on
> *how* it should be fixed?
My preference would be to define a SPLIT_SUBDIR flag for splitdnarray
which ignores the "." and ".." directories. Then change the call in
showdirs to use SPLIT_SUBDIR instead of SPLIT_DIR.
Matt
More information about the busybox
mailing list