From 4a2eda04aa50675d1b0d235e2b90a5a41f6fac25 Mon Sep 17 00:00:00 2001 From: Jim Meyering <jim@meyering.net> Date: Sat, 5 Oct 1996 20:15:06 +0000 Subject: (ftypelet): Add support for Cray's migrated dmf files. From Johan Danielsson. --- lib/filemode.c | 11 +++++++++++ 1 file changed, 11 insertions(+) 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 '?'; } -- cgit v1.2.3-70-g09d2