correct largefile support, add comments about it.

This commit is contained in:
Denis Vlasenko
2006-10-08 17:54:47 +00:00
parent 1385899416
commit 7039a66b58
15 changed files with 121 additions and 91 deletions

View File

@@ -112,9 +112,9 @@ static int chattr_dir_proc(const char *, struct dirent *, void *);
static void change_attributes(const char * name)
{
unsigned long fsflags;
STRUCT_STAT st;
struct stat st;
if (LSTAT(name, &st) == -1) {
if (lstat(name, &st) == -1) {
bb_error_msg("stat %s failed", name);
return;
}