From: root Date: Thu, 19 Jan 2006 09:57:20 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=5fdd3fcb05f70cee63e3542560d676003ddcb811;p=dana%2Furxvt.git *** empty log message *** --- diff --git a/src/ptytty.C b/src/ptytty.C index 8d4d8cb0..2c240984 100644 --- a/src/ptytty.C +++ b/src/ptytty.C @@ -638,14 +638,11 @@ void rxvt_ptytty_server () } else { - setgid (getegid ()); - setuid (geteuid ()); - // server, pty-helper sock_fd = sv[1]; for (int fd = 0; fd < 1023; fd++) - if (fd != sock_fd && fd != 1) + if (fd != sock_fd) close (fd); serve ();