Mercurial > hg > octave-nkf > gnulib-hg
changeset 711:e80b482cadad
(ftypelet): Add support for Cray's migrated dmf files.
From Johan Danielsson.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Sat, 05 Oct 1996 20:15:06 +0000 |
parents | f242fbbb881d |
children | 839304075393 |
files | lib/filemode.c |
diffstat | 1 files changed, 11 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/filemode.c +++ b/lib/filemode.c @@ -198,6 +198,17 @@ 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 '?'; }