projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
BSD 4_4_Lite2 release
[unix-history]
/
usr
/
src
/
bin
/
ls
/
stat_flags.c
diff --git
a/usr/src/bin/ls/stat_flags.c
b/usr/src/bin/ls/stat_flags.c
index
5bc4b85
..
794bce6
100644
(file)
--- a/
usr/src/bin/ls/stat_flags.c
+++ b/
usr/src/bin/ls/stat_flags.c
@@
-32,7
+32,7
@@
*/
#ifndef lint
*/
#ifndef lint
-static char sccsid[] = "@(#)stat_flags.c 8.
1 (Berkeley) 5/31/93
";
+static char sccsid[] = "@(#)stat_flags.c 8.
2 (Berkeley) 7/28/94
";
#endif /* not lint */
#include <sys/types.h>
#endif /* not lint */
#include <sys/types.h>
@@
-69,6
+69,8
@@
flags_to_string(flags, def)
SAPPEND("uchg");
if (flags & UF_NODUMP)
SAPPEND("nodump");
SAPPEND("uchg");
if (flags & UF_NODUMP)
SAPPEND("nodump");
+ if (flags & UF_OPAQUE)
+ SAPPEND("opaque");
if (flags & SF_APPEND)
SAPPEND("sappnd");
if (flags & SF_ARCHIVED)
if (flags & SF_APPEND)
SAPPEND("sappnd");
if (flags & SF_ARCHIVED)
@@
-126,6
+128,9
@@
string_to_flags(stringp, setp, clrp)
clear = !clear;
TEST(p, "dump", UF_NODUMP);
return (1);
clear = !clear;
TEST(p, "dump", UF_NODUMP);
return (1);
+ case 'o':
+ TEST(p, "opaque", UF_OPAQUE);
+ return (1);
case 's':
TEST(p, "sappnd", SF_APPEND);
TEST(p, "sappend", SF_APPEND);
case 's':
TEST(p, "sappnd", SF_APPEND);
TEST(p, "sappend", SF_APPEND);