aboutsummaryrefslogtreecommitdiff
path: root/coreutils/ls.c
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2004-03-15 08:29:22 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2004-03-15 08:29:22 +0000
commitb16674f3c1a961e0b5d6a57745f5f749d95c641e (patch)
tree4c6d2217f4d8306c59cf1096f8664e1cfd167213 /coreutils/ls.c
parente7135df4a650f9197b633784472f45602524855b (diff)
downloadbusybox-w32-b16674f3c1a961e0b5d6a57745f5f749d95c641e.tar.gz
busybox-w32-b16674f3c1a961e0b5d6a57745f5f749d95c641e.tar.bz2
busybox-w32-b16674f3c1a961e0b5d6a57745f5f749d95c641e.zip
Remove trailing whitespace. Update copyright to include 2004.
git-svn-id: svn://busybox.net/trunk/busybox@8630 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'coreutils/ls.c')
-rw-r--r--coreutils/ls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/ls.c b/coreutils/ls.c
index 2605ab12d..f7fa9a110 100644
--- a/coreutils/ls.c
+++ b/coreutils/ls.c
@@ -315,7 +315,7 @@ static int count_dirs(struct dnode **dn, int nfiles, int notsubdirs)
315 if (S_ISDIR(dn[i]->dstat.st_mode) 315 if (S_ISDIR(dn[i]->dstat.st_mode)
316 && (notsubdirs 316 && (notsubdirs
317 || ((dn[i]->name[0] != '.') 317 || ((dn[i]->name[0] != '.')
318 || (dn[i]->name[1] 318 || (dn[i]->name[1]
319 && ((dn[i]->name[1] != '.') 319 && ((dn[i]->name[1] != '.')
320 || dn[i]->name[2]))))) 320 || dn[i]->name[2])))))
321 dirs++; 321 dirs++;
@@ -1055,7 +1055,7 @@ extern int ls_main(int argc, char **argv)
1055 if ((all_fmt & STYLE_MASK) == STYLE_LONG && (all_fmt & LIST_ID_NUMERIC)) 1055 if ((all_fmt & STYLE_MASK) == STYLE_LONG && (all_fmt & LIST_ID_NUMERIC))
1056 all_fmt &= ~LIST_ID_NAME; /* don't list names if numeric uid */ 1056 all_fmt &= ~LIST_ID_NAME; /* don't list names if numeric uid */
1057#endif 1057#endif
1058 1058
1059 /* choose a display format */ 1059 /* choose a display format */
1060 if ((all_fmt & STYLE_MASK) == STYLE_AUTO) 1060 if ((all_fmt & STYLE_MASK) == STYLE_AUTO)
1061#if STYLE_AUTO != 0 1061#if STYLE_AUTO != 0