- (dtucker) [openbsd-compat/strmode.c] Update from OpenBSD 1.5 -> 1.7.
Removal of rcsid, "whiteout" inode type.
This commit is contained in:
parent
925d1de3fb
commit
09471d8a1f
|
@ -19,6 +19,8 @@
|
||||||
guarantees a conflict for each and every sync.
|
guarantees a conflict for each and every sync.
|
||||||
- (dtucker) [openbsd-compat/strlcpy.c] Update from OpenBSD 1.8 -> 1.10.
|
- (dtucker) [openbsd-compat/strlcpy.c] Update from OpenBSD 1.8 -> 1.10.
|
||||||
- (dtucker) [openbsd-compat/sigact.h] Add "OPENBSD ORIGINAL" marker.
|
- (dtucker) [openbsd-compat/sigact.h] Add "OPENBSD ORIGINAL" marker.
|
||||||
|
- (dtucker) [openbsd-compat/strmode.c] Update from OpenBSD 1.5 -> 1.7.
|
||||||
|
Removal of rcsid, "whiteout" inode type.
|
||||||
|
|
||||||
20051105
|
20051105
|
||||||
- (djm) OpenBSD CVS Sync
|
- (djm) OpenBSD CVS Sync
|
||||||
|
@ -3261,4 +3263,4 @@
|
||||||
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
|
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
|
||||||
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
|
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
|
||||||
|
|
||||||
$Id: ChangeLog,v 1.3964 2005/11/10 05:31:55 dtucker Exp $
|
$Id: ChangeLog,v 1.3965 2005/11/10 05:38:54 dtucker Exp $
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
/* $OpenBSD: strmode.c,v 1.7 2005/08/08 08:05:37 espie Exp $ */
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 1990 The Regents of the University of California.
|
* Copyright (c) 1990 The Regents of the University of California.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
|
@ -32,10 +33,6 @@
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
#ifndef HAVE_STRMODE
|
#ifndef HAVE_STRMODE
|
||||||
|
|
||||||
#if defined(LIBC_SCCS) && !defined(lint)
|
|
||||||
static char *rcsid = "$OpenBSD: strmode.c,v 1.5 2003/06/11 21:08:16 deraadt Exp $";
|
|
||||||
#endif /* LIBC_SCCS and not lint */
|
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
@ -71,11 +68,6 @@ strmode(int mode, char *p)
|
||||||
case S_IFIFO: /* fifo */
|
case S_IFIFO: /* fifo */
|
||||||
*p++ = 'p';
|
*p++ = 'p';
|
||||||
break;
|
break;
|
||||||
#endif
|
|
||||||
#ifdef S_IFWHT
|
|
||||||
case S_IFWHT: /* whiteout */
|
|
||||||
*p++ = 'w';
|
|
||||||
break;
|
|
||||||
#endif
|
#endif
|
||||||
default: /* unknown */
|
default: /* unknown */
|
||||||
*p++ = '?';
|
*p++ = '?';
|
||||||
|
|
Loading…
Reference in New Issue