← Commit list

a1bbde71b

Matt Kraai
Matt Kraai
2002-03-08
FAILED Duration: 302s

Subject

list_single: Declare scratch iff CONFIG_FEATURE_LS_USERNAME is defined.

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

coreutils/ls.c+2 -0
@@ -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;