diff options
author | Jim Meyering <jim@meyering.net> | 1996-10-05 20:15:06 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1996-10-05 20:15:06 +0000 |
commit | 4a2eda04aa50675d1b0d235e2b90a5a41f6fac25 (patch) | |
tree | 87aa9b03410efc56047e32c1abafe9d9c09d4e24 | |
parent | ed43629995015d9ac7acbdf6c993e02faf1cfcbd (diff) | |
download | coreutils-4a2eda04aa50675d1b0d235e2b90a5a41f6fac25.tar.xz |
(ftypelet): Add support for Cray's migrated dmf files.
From Johan Danielsson.
-rw-r--r-- | lib/filemode.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/filemode.c b/lib/filemode.c index 8ed730c6f..91373de34 100644 --- a/lib/filemode.c +++ b/lib/filemode.c @@ -198,6 +198,17 @@ ftypelet (bits) if (S_ISNWK (bits)) return 'n'; #endif + +#ifdef S_ISOFD + /* Cray migrated dmf file. */ + if (S_ISOFD (bits)) + return 'M'; +#endif +#ifdef S_ISOFL + /* Cray migrated dmf file. */ + if (S_ISOFL (bits)) + return 'M'; +#endif return '?'; } |