commit bash-20200626 snapshot

This commit is contained in:
Chet Ramey
2020-06-30 15:09:56 -04:00
parent 6edcd70089
commit dd4e3abc5c
9 changed files with 78 additions and 29 deletions
+3 -3
View File
@@ -340,13 +340,13 @@ int flags;
else
printf("%ld\n", st->st_ctime);
} else if (flags & OPT_DEV)
printf("%d\n", st->st_dev);
printf("%lu\n", (unsigned long)st->st_dev);
else if (flags & OPT_INO)
printf("%lu\n", (unsigned long)st->st_ino);
else if (flags & OPT_FID)
printf("%d:%lu\n", st->st_dev, (unsigned long)st->st_ino);
printf("%lu:%lu\n", (unsigned long)st->st_dev, (unsigned long)st->st_ino);
else if (flags & OPT_NLINK)
printf("%d\n", st->st_nlink);
printf("%lu\n", (unsigned long)st->st_nlink);
else if (flags & OPT_LNKNAM) {
#ifdef S_ISLNK
b = xmalloc(4096);