diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-07-19 22:28:02 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-07-19 22:28:02 +0000 |
commit | d997e48ccc3987112bc58387f78d4727559d66f5 (patch) | |
tree | f7822e652f54884459d525f57f1ef18c03a126f7 /ls.c | |
parent | 43422b1ad537cdb32cb2c6474135cc2ac4ef297b (diff) | |
download | busybox-w32-d997e48ccc3987112bc58387f78d4727559d66f5.tar.gz busybox-w32-d997e48ccc3987112bc58387f78d4727559d66f5.tar.bz2 busybox-w32-d997e48ccc3987112bc58387f78d4727559d66f5.zip |
Some adjustments, mostly from David McCullough <davidm@lineo.com> to
make busybox be more uClinux friendly. I also adjusted Config.h for
uClinux so it will automagically disable apps the arn't going to
work without fork() and such.
-Erik
git-svn-id: svn://busybox.net/trunk/busybox@3130 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'ls.c')
-rw-r--r-- | ls.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -303,6 +303,7 @@ static struct dnode **dnalloc(int num) | |||
303 | return(p); | 303 | return(p); |
304 | } | 304 | } |
305 | 305 | ||
306 | #ifdef BB_FEATURE_LS_RECURSIVE | ||
306 | static void dfree(struct dnode **dnp) | 307 | static void dfree(struct dnode **dnp) |
307 | { | 308 | { |
308 | struct dnode *cur, *next; | 309 | struct dnode *cur, *next; |
@@ -318,6 +319,7 @@ static void dfree(struct dnode **dnp) | |||
318 | } | 319 | } |
319 | free(dnp); /* free the array holding the dnode pointers */ | 320 | free(dnp); /* free the array holding the dnode pointers */ |
320 | } | 321 | } |
322 | #endif | ||
321 | 323 | ||
322 | static struct dnode **splitdnarray(struct dnode **dn, int nfiles, int which) | 324 | static struct dnode **splitdnarray(struct dnode **dn, int nfiles, int which) |
323 | { | 325 | { |