diff options
author | deraadt <> | 1997-06-13 13:57:20 +0000 |
---|---|---|
committer | deraadt <> | 1997-06-13 13:57:20 +0000 |
commit | dd2713d24981403d92672e7e2709bd887b9ad7c6 (patch) | |
tree | 6d87d03c667475e1b8fc89fad2f98eb526cadc91 /src/lib/libc/string/strmode.c | |
parent | 789e1a786681d6b57d70088bd176332759b4922e (diff) | |
download | openbsd-dd2713d24981403d92672e7e2709bd887b9ad7c6.tar.gz openbsd-dd2713d24981403d92672e7e2709bd887b9ad7c6.tar.bz2 openbsd-dd2713d24981403d92672e7e2709bd887b9ad7c6.zip |
whitespace support; some netbsd pr..
Diffstat (limited to 'src/lib/libc/string/strmode.c')
-rw-r--r-- | src/lib/libc/string/strmode.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/libc/string/strmode.c b/src/lib/libc/string/strmode.c index cc66071acd..5e7f15e857 100644 --- a/src/lib/libc/string/strmode.c +++ b/src/lib/libc/string/strmode.c | |||
@@ -32,7 +32,7 @@ | |||
32 | */ | 32 | */ |
33 | 33 | ||
34 | #if defined(LIBC_SCCS) && !defined(lint) | 34 | #if defined(LIBC_SCCS) && !defined(lint) |
35 | static char *rcsid = "$OpenBSD: strmode.c,v 1.2 1996/08/19 08:34:20 tholo Exp $"; | 35 | static char *rcsid = "$OpenBSD: strmode.c,v 1.3 1997/06/13 13:57:20 deraadt Exp $"; |
36 | #endif /* LIBC_SCCS and not lint */ | 36 | #endif /* LIBC_SCCS and not lint */ |
37 | 37 | ||
38 | #include <sys/types.h> | 38 | #include <sys/types.h> |
@@ -69,6 +69,11 @@ strmode(mode, p) | |||
69 | *p++ = 'p'; | 69 | *p++ = 'p'; |
70 | break; | 70 | break; |
71 | #endif | 71 | #endif |
72 | #ifdef S_IFWHT | ||
73 | case S_IFWHT: /* whiteout */ | ||
74 | *p++ = 'w'; | ||
75 | break; | ||
76 | #endif | ||
72 | default: /* unknown */ | 77 | default: /* unknown */ |
73 | *p++ = '?'; | 78 | *p++ = '?'; |
74 | break; | 79 | break; |