projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3bd31eb
)
list_single: Declare scratch iff CONFIG_FEATURE_LS_USERNAME is defined.
author
Matt Kraai
<kraai@debian.org>
Fri, 8 Mar 2002 16:25:33 +0000
(16:25 -0000)
committer
Matt Kraai
<kraai@debian.org>
Fri, 8 Mar 2002 16:25:33 +0000
(16:25 -0000)
coreutils/ls.c
patch
|
blob
|
history
diff --git
a/coreutils/ls.c
b/coreutils/ls.c
index e9c2e8643368a22fc8bc424e1e3e6e0786151045..f2512fb9c0000ffb284f8c06df31060933b71a1b 100644
(file)
--- a/
coreutils/ls.c
+++ b/
coreutils/ls.c
@@
-576,7
+576,9
@@
static struct dnode **list_dir(char *path)
static int list_single(struct dnode *dn)
{
int i;
+#ifdef CONFIG_FEATURE_LS_USERNAME
char scratch[BUFSIZ + 1];
+#endif
#ifdef CONFIG_FEATURE_LS_TIMESTAMPS
char *filetime;
time_t ttime, age;