From: Eric Andersen Date: Thu, 6 Jul 2000 01:57:20 +0000 (-0000) Subject: Remove MAXNAMLEN and use BUFSIZ instead. X-Git-Tag: 0_46~62 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5d893b6beb2a42c6c3bc0fd0b5447bcfc8a0f84c;p=oweals%2Fbusybox.git Remove MAXNAMLEN and use BUFSIZ instead. -Erik --- diff --git a/coreutils/ls.c b/coreutils/ls.c index 8b9422ec6..75fa65421 100644 --- a/coreutils/ls.c +++ b/coreutils/ls.c @@ -345,7 +345,7 @@ static int list_item(const char *name) struct stat info; DIR *dir; struct dirent *entry; - char fullname[MAXNAMLEN + 1], *fnend; + char fullname[BUFSIZ + 1], *fnend; if (lstat(name, &info)) goto listerr; diff --git a/ls.c b/ls.c index 8b9422ec6..75fa65421 100644 --- a/ls.c +++ b/ls.c @@ -345,7 +345,7 @@ static int list_item(const char *name) struct stat info; DIR *dir; struct dirent *entry; - char fullname[MAXNAMLEN + 1], *fnend; + char fullname[BUFSIZ + 1], *fnend; if (lstat(name, &info)) goto listerr;