Restore [no]{s|u}unlnk' and
[no]opaque' support.
Broken in src/bin/ls/stat_flags.c,v 1.12. PR: 16885 Approved by: jkh
This commit is contained in:
parent
6895862c18
commit
53c698dc2f
@ -57,14 +57,19 @@ static struct {
|
||||
{ "noarch", SF_ARCHIVED, 0 },
|
||||
{ "noarchived", SF_ARCHIVED, 0 },
|
||||
{ "noschg", SF_IMMUTABLE, 0 },
|
||||
{ "nosimmutable", SF_IMMUTABLE, 0 },
|
||||
{ "noschange", SF_IMMUTABLE, 0 },
|
||||
{ "nosimmutable", SF_IMMUTABLE, 0 },
|
||||
{ "nosunlnk", SF_NOUNLINK, 0 },
|
||||
{ "nosunlink", SF_NOUNLINK, 0 },
|
||||
{ "nouappnd", UF_APPEND, 0 },
|
||||
{ "nouappend", UF_APPEND, 0 },
|
||||
{ "nouchg", UF_IMMUTABLE, 0 },
|
||||
{ "nouchange", UF_IMMUTABLE, 0 },
|
||||
{ "nouimmutable", UF_IMMUTABLE, 0 },
|
||||
{ "nodump", UF_NODUMP, 1 }
|
||||
{ "nodump", UF_NODUMP, 1 },
|
||||
{ "noopaque", UF_OPAQUE, 0 },
|
||||
{ "nouunlnk", UF_NOUNLINK, 0 },
|
||||
{ "nouunlink", UF_NOUNLINK, 0 }
|
||||
};
|
||||
#define nmappings (sizeof(mapping) / sizeof(mapping[0]))
|
||||
|
||||
|
@ -57,14 +57,19 @@ static struct {
|
||||
{ "noarch", SF_ARCHIVED, 0 },
|
||||
{ "noarchived", SF_ARCHIVED, 0 },
|
||||
{ "noschg", SF_IMMUTABLE, 0 },
|
||||
{ "nosimmutable", SF_IMMUTABLE, 0 },
|
||||
{ "noschange", SF_IMMUTABLE, 0 },
|
||||
{ "nosimmutable", SF_IMMUTABLE, 0 },
|
||||
{ "nosunlnk", SF_NOUNLINK, 0 },
|
||||
{ "nosunlink", SF_NOUNLINK, 0 },
|
||||
{ "nouappnd", UF_APPEND, 0 },
|
||||
{ "nouappend", UF_APPEND, 0 },
|
||||
{ "nouchg", UF_IMMUTABLE, 0 },
|
||||
{ "nouchange", UF_IMMUTABLE, 0 },
|
||||
{ "nouimmutable", UF_IMMUTABLE, 0 },
|
||||
{ "nodump", UF_NODUMP, 1 }
|
||||
{ "nodump", UF_NODUMP, 1 },
|
||||
{ "noopaque", UF_OPAQUE, 0 },
|
||||
{ "nouunlnk", UF_NOUNLINK, 0 },
|
||||
{ "nouunlink", UF_NOUNLINK, 0 }
|
||||
};
|
||||
#define nmappings (sizeof(mapping) / sizeof(mapping[0]))
|
||||
|
||||
|
@ -57,14 +57,19 @@ static struct {
|
||||
{ "noarch", SF_ARCHIVED, 0 },
|
||||
{ "noarchived", SF_ARCHIVED, 0 },
|
||||
{ "noschg", SF_IMMUTABLE, 0 },
|
||||
{ "nosimmutable", SF_IMMUTABLE, 0 },
|
||||
{ "noschange", SF_IMMUTABLE, 0 },
|
||||
{ "nosimmutable", SF_IMMUTABLE, 0 },
|
||||
{ "nosunlnk", SF_NOUNLINK, 0 },
|
||||
{ "nosunlink", SF_NOUNLINK, 0 },
|
||||
{ "nouappnd", UF_APPEND, 0 },
|
||||
{ "nouappend", UF_APPEND, 0 },
|
||||
{ "nouchg", UF_IMMUTABLE, 0 },
|
||||
{ "nouchange", UF_IMMUTABLE, 0 },
|
||||
{ "nouimmutable", UF_IMMUTABLE, 0 },
|
||||
{ "nodump", UF_NODUMP, 1 }
|
||||
{ "nodump", UF_NODUMP, 1 },
|
||||
{ "noopaque", UF_OPAQUE, 0 },
|
||||
{ "nouunlnk", UF_NOUNLINK, 0 },
|
||||
{ "nouunlink", UF_NOUNLINK, 0 }
|
||||
};
|
||||
#define nmappings (sizeof(mapping) / sizeof(mapping[0]))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user