aboutsummaryrefslogtreecommitdiff
path: root/ls.c
diff options
context:
space:
mode:
authorerik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-02-07 05:29:42 +0000
committererik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-02-07 05:29:42 +0000
commit74bc01e03e96d5a6a318688d2ee8c620f32ce928 (patch)
treedccf8f905fc5807239883da9fca6597037d487fc /ls.c
parentcac2faf4271a09ae2e37e87cbd7d6ea363667d51 (diff)
downloadbusybox-w32-74bc01e03e96d5a6a318688d2ee8c620f32ce928.tar.gz
busybox-w32-74bc01e03e96d5a6a318688d2ee8c620f32ce928.tar.bz2
busybox-w32-74bc01e03e96d5a6a318688d2ee8c620f32ce928.zip
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
Diffstat (limited to 'ls.c')
-rw-r--r--ls.c2
1 files changed, 1 insertions, 1 deletions
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)
178 178
179static void list_single(const char *name, struct stat *info, const char *fullname) 179static void list_single(const char *name, struct stat *info, const char *fullname)
180{ 180{
181 char scratch[PATH_MAX]; 181 char scratch[PATH_MAX + 1];
182 short len = strlen(name); 182 short len = strlen(name);
183#ifdef BB_FEATURE_LS_FILETYPES 183#ifdef BB_FEATURE_LS_FILETYPES
184 char append = append_char(info->st_mode); 184 char append = append_char(info->st_mode);