diff options
author | 1997-06-13 13:57:20 +0000 | |
---|---|---|
committer | 1997-06-13 13:57:20 +0000 | |
commit | 6b1209bc079deac97f1b682342291273a509fcc3 (patch) | |
tree | d8da8d0a6bab9e9e5fd4506f74a49b08b20d8038 /lib/libc/string/strmode.c | |
parent | theo's recent patch (diff) | |
download | wireguard-openbsd-6b1209bc079deac97f1b682342291273a509fcc3.tar.xz wireguard-openbsd-6b1209bc079deac97f1b682342291273a509fcc3.zip |
whitespace support; some netbsd pr..
Diffstat (limited to 'lib/libc/string/strmode.c')
-rw-r--r-- | lib/libc/string/strmode.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/libc/string/strmode.c b/lib/libc/string/strmode.c index cc66071acd0..5e7f15e857e 100644 --- a/lib/libc/string/strmode.c +++ b/lib/libc/string/strmode.c @@ -32,7 +32,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: strmode.c,v 1.2 1996/08/19 08:34:20 tholo Exp $"; +static char *rcsid = "$OpenBSD: strmode.c,v 1.3 1997/06/13 13:57:20 deraadt Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/types.h> @@ -69,6 +69,11 @@ strmode(mode, p) *p++ = 'p'; break; #endif +#ifdef S_IFWHT + case S_IFWHT: /* whiteout */ + *p++ = 'w'; + break; +#endif default: /* unknown */ *p++ = '?'; break; |