diff options
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/dump/main.c | 7 | ||||
-rw-r--r-- | sbin/dump/optr.c | 6 |
2 files changed, 3 insertions, 10 deletions
diff --git a/sbin/dump/main.c b/sbin/dump/main.c index 0272ac9c240..2bc57cd30ed 100644 --- a/sbin/dump/main.c +++ b/sbin/dump/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.9 1996/09/14 03:26:02 millert Exp $ */ +/* $OpenBSD: main.c,v 1.10 1996/09/14 19:28:58 deraadt Exp $ */ /* $NetBSD: main.c,v 1.8 1996/03/15 22:39:32 scottr Exp $ */ /*- @@ -89,7 +89,6 @@ int cartridge = 0; /* Assume non-cartridge tape */ long dev_bsize = 1; /* recalculated below */ long blocksperfile; /* output blocks per file */ char *host = NULL; /* remote host (if any) */ -gid_t gid, egid; /* real, effective gid */ static long numarg __P((char *, long, long)); static void obsolete __P((int *, char **[])); @@ -109,10 +108,6 @@ main(argc, argv) int i, anydirskipped, bflag = 0, Tflag = 0, honorlevel = 1; ino_t maxino; - gid = getgid(); - egid = getegid(); - setegid(gid); - spcl.c_date = 0; (void)time((time_t *)&spcl.c_date); diff --git a/sbin/dump/optr.c b/sbin/dump/optr.c index 03f41e3f303..add3db6ea65 100644 --- a/sbin/dump/optr.c +++ b/sbin/dump/optr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: optr.c,v 1.10 1996/09/14 03:26:02 millert Exp $ */ +/* $OpenBSD: optr.c,v 1.11 1996/09/14 19:29:00 deraadt Exp $ */ /* $NetBSD: optr.c,v 1.4 1996/05/18 16:16:17 jtk Exp $ */ /*- @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)optr.c 8.2 (Berkeley) 1/6/94"; #else -static char rcsid[] = "$OpenBSD: optr.c,v 1.10 1996/09/14 03:26:02 millert Exp $"; +static char rcsid[] = "$OpenBSD: optr.c,v 1.11 1996/09/14 19:29:00 deraadt Exp $"; #endif #endif /* not lint */ @@ -72,8 +72,6 @@ void alarmcatch __P((/* int, int */)); int datesort __P((const void *, const void *)); static void sendmes __P((char *, char *)); -extern gid_t gid, egid; - /* * Query the operator; This previously-fascist piece of code * no longer requires an exact response. |