From 4f3f757d56fbf420ea5030dcf7ea971b3da3ab47 Mon Sep 17 00:00:00 2001 From: Erik Andersen Date: Fri, 28 Apr 2000 00:18:56 +0000 Subject: Latest and greatest. Some effort at libc5 (aiming towards newlib) compatability. -Erik --- coreutils/ls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'coreutils/ls.c') diff --git a/coreutils/ls.c b/coreutils/ls.c index 0c7f6522c..3c518ab28 100644 --- a/coreutils/ls.c +++ b/coreutils/ls.c @@ -183,7 +183,7 @@ static char append_char(mode_t mode) static void list_single(const char *name, struct stat *info, const char *fullname) { - char scratch[PATH_MAX + 1]; + char scratch[BUFSIZ + 1]; short len = strlen(name); #ifdef BB_FEATURE_LS_FILETYPES -- cgit v1.2.3