aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/xinstall
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1997-05-24 05:39:19 +0000
committerPeter Wemm <peter@FreeBSD.org>1997-05-24 05:39:19 +0000
commit503397df4fa500aa64196421343606feabc4c8dc (patch)
treec5bc97fe8e8e2af356569652ec87953765f72d28 /usr.bin/xinstall
parent068eabc6c4159ef696f7bd662ed06351c7a4391c (diff)
Notes
Diffstat (limited to 'usr.bin/xinstall')
-rw-r--r--usr.bin/xinstall/xinstall.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.bin/xinstall/xinstall.c b/usr.bin/xinstall/xinstall.c
index 8c93e0b9670cf..d809f2cba8cc9 100644
--- a/usr.bin/xinstall/xinstall.c
+++ b/usr.bin/xinstall/xinstall.c
@@ -40,7 +40,7 @@ static const char copyright[] =
#ifndef lint
/*static char sccsid[] = "From: @(#)xinstall.c 8.1 (Berkeley) 7/21/93";*/
static const char rcsid[] =
- "$Id: xinstall.c,v 1.21 1997/02/22 19:57:55 peter Exp $";
+ "$Id: xinstall.c,v 1.22 1997/03/29 04:34:07 imp Exp $";
#endif /* not lint */
/*-
@@ -80,6 +80,11 @@ static const char rcsid[] =
#include "pathnames.h"
+/* Bootstrap aid - this doesn't exist in most older releases */
+#ifndef MAP_FAILED
+#define MAP_FAILED ((caddr_t)-1) /* from <sys/mman.h> */
+#endif
+
int debug, docompare, docopy, dodir, dopreserve, dostrip, verbose;
int mode = S_IRWXU|S_IRGRP|S_IXGRP|S_IROTH|S_IXOTH;
char *group, *owner, pathbuf[MAXPATHLEN];