From 74bc01e03e96d5a6a318688d2ee8c620f32ce928 Mon Sep 17 00:00:00 2001 From: erik Date: Mon, 7 Feb 2000 05:29:42 +0000 Subject: A few minor updates. ;-) Seriously though, read the Changelog for busybox 0.42, which this is about to become... -Erik git-svn-id: svn://busybox.net/trunk/busybox@351 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- ls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ls.c') diff --git a/ls.c b/ls.c index 78193e7c1..450ea1814 100644 --- a/ls.c +++ b/ls.c @@ -178,7 +178,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]; + char scratch[PATH_MAX + 1]; short len = strlen(name); #ifdef BB_FEATURE_LS_FILETYPES char append = append_char(info->st_mode); -- cgit v1.2.3-55-g6feb