summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2005-11-10 16:38:54 +1100
committerDarren Tucker <dtucker@zip.com.au>2005-11-10 16:38:54 +1100
commit09471d8a1f7e46116ba44f0f08c756196dbf6c70 (patch)
tree818ae74b2c7d5c2c645b7805a9d2cf1d233b06ac
parent925d1de3fb44ef62f72589966ea9a2823b567762 (diff)
- (dtucker) [openbsd-compat/strmode.c] Update from OpenBSD 1.5 -> 1.7.
Removal of rcsid, "whiteout" inode type.
-rw-r--r--ChangeLog4
-rw-r--r--openbsd-compat/strmode.c10
2 files changed, 4 insertions, 10 deletions
diff --git a/ChangeLog b/ChangeLog
index 59c06c0fb..5a1be997f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -19,6 +19,8 @@
19 guarantees a conflict for each and every sync. 19 guarantees a conflict for each and every sync.
20 - (dtucker) [openbsd-compat/strlcpy.c] Update from OpenBSD 1.8 -> 1.10. 20 - (dtucker) [openbsd-compat/strlcpy.c] Update from OpenBSD 1.8 -> 1.10.
21 - (dtucker) [openbsd-compat/sigact.h] Add "OPENBSD ORIGINAL" marker. 21 - (dtucker) [openbsd-compat/sigact.h] Add "OPENBSD ORIGINAL" marker.
22 - (dtucker) [openbsd-compat/strmode.c] Update from OpenBSD 1.5 -> 1.7.
23 Removal of rcsid, "whiteout" inode type.
22 24
2320051105 2520051105
24 - (djm) OpenBSD CVS Sync 26 - (djm) OpenBSD CVS Sync
@@ -3261,4 +3263,4 @@
3261 - (djm) Trim deprecated options from INSTALL. Mention UsePAM 3263 - (djm) Trim deprecated options from INSTALL. Mention UsePAM
3262 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu 3264 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
3263 3265
3264$Id: ChangeLog,v 1.3964 2005/11/10 05:31:55 dtucker Exp $ 3266$Id: ChangeLog,v 1.3965 2005/11/10 05:38:54 dtucker Exp $
diff --git a/openbsd-compat/strmode.c b/openbsd-compat/strmode.c
index 0dbb23733..4a8161422 100644
--- a/openbsd-compat/strmode.c
+++ b/openbsd-compat/strmode.c
@@ -1,3 +1,4 @@
1/* $OpenBSD: strmode.c,v 1.7 2005/08/08 08:05:37 espie Exp $ */
1/*- 2/*-
2 * Copyright (c) 1990 The Regents of the University of California. 3 * Copyright (c) 1990 The Regents of the University of California.
3 * All rights reserved. 4 * All rights reserved.
@@ -32,10 +33,6 @@
32#include "includes.h" 33#include "includes.h"
33#ifndef HAVE_STRMODE 34#ifndef HAVE_STRMODE
34 35
35#if defined(LIBC_SCCS) && !defined(lint)
36static char *rcsid = "$OpenBSD: strmode.c,v 1.5 2003/06/11 21:08:16 deraadt Exp $";
37#endif /* LIBC_SCCS and not lint */
38
39#include <sys/types.h> 36#include <sys/types.h>
40#include <sys/stat.h> 37#include <sys/stat.h>
41#include <string.h> 38#include <string.h>
@@ -72,11 +69,6 @@ strmode(int mode, char *p)
72 *p++ = 'p'; 69 *p++ = 'p';
73 break; 70 break;
74#endif 71#endif
75#ifdef S_IFWHT
76 case S_IFWHT: /* whiteout */
77 *p++ = 'w';
78 break;
79#endif
80 default: /* unknown */ 72 default: /* unknown */
81 *p++ = '?'; 73 *p++ = '?';
82 break; 74 break;