summaryrefslogtreecommitdiff
path: root/usr.bin/tip/tip.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/tip/tip.c')
-rw-r--r--usr.bin/tip/tip.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.bin/tip/tip.c b/usr.bin/tip/tip.c
index 4dd693b9637..c04eb9a70ef 100644
--- a/usr.bin/tip/tip.c
+++ b/usr.bin/tip/tip.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tip.c,v 1.31 2006/09/22 14:44:27 jason Exp $ */
+/* $OpenBSD: tip.c,v 1.32 2006/11/27 23:19:41 mcbride Exp $ */
/* $NetBSD: tip.c,v 1.13 1997/04/20 00:03:05 mellon Exp $ */
/*
@@ -40,7 +40,7 @@ static const char copyright[] =
#if 0
static char sccsid[] = "@(#)tip.c 8.1 (Berkeley) 6/6/93";
#endif
-static const char rcsid[] = "$OpenBSD: tip.c,v 1.31 2006/09/22 14:44:27 jason Exp $";
+static const char rcsid[] = "$OpenBSD: tip.c,v 1.32 2006/11/27 23:19:41 mcbride Exp $";
#endif /* not lint */
/*
@@ -65,6 +65,9 @@ main(int argc, char *argv[])
char *sys = NOSTR, sbuf[12], *p;
int i;
+ /* XXX preserve previous braindamaged behavior */
+ setboolean(value(DC), TRUE);
+
gid = getgid();
egid = getegid();
uid = getuid();