diff options
author | Ryan Thomas McBride <mcbride@cvs.openbsd.org> | 2006-11-27 23:19:42 +0000 |
---|---|---|
committer | Ryan Thomas McBride <mcbride@cvs.openbsd.org> | 2006-11-27 23:19:42 +0000 |
commit | 4b25038ca901c54f4c036709a8ac79c3b8355ebe (patch) | |
tree | 80eaf0ad7e85975d599af92feb637c7ce0c7b4f1 /usr.bin | |
parent | b1092bf6005b06c853ce6fe96d3d6318f70ada9d (diff) |
Back out revision 1.31, restoring the ":dc: is always set" behaviour.
Fixes hangs seen with uplcom(4) and serial console.
testing pedro jolan
ok deraadt
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/tip/tip.c | 7 |
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(); |