Browse Source

bye bye whiteouts

OPENBSD_3_8
millert 19 years ago
parent
commit
3c7c532305
2 changed files with 2 additions and 9 deletions
  1. +1
    -3
      src/lib/libc/string/strmode.3
  2. +1
    -6
      src/lib/libc/string/strmode.c

+ 1
- 3
src/lib/libc/string/strmode.3 View File

@ -1,4 +1,4 @@
.\" $OpenBSD: strmode.3,v 1.12 2005/02/25 03:12:44 cloder Exp $
.\" $OpenBSD: strmode.3,v 1.13 2005/06/15 17:48:52 millert Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@ -67,8 +67,6 @@ symbolic link
FIFO
.It s
socket
.It w
whiteout
.It \&?
unknown inode type
.El


+ 1
- 6
src/lib/libc/string/strmode.c View File

@ -28,7 +28,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
static char *rcsid = "$OpenBSD: strmode.c,v 1.5 2003/06/11 21:08:16 deraadt Exp $";
static char *rcsid = "$OpenBSD: strmode.c,v 1.6 2005/06/15 17:48:52 millert Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
@ -64,11 +64,6 @@ strmode(int mode, char *p)
case S_IFIFO: /* fifo */
*p++ = 'p';
break;
#endif
#ifdef S_IFWHT
case S_IFWHT: /* whiteout */
*p++ = 'w';
break;
#endif
default: /* unknown */
*p++ = '?';


Loading…
Cancel
Save