--- rxvt-unicode/src/ptytty.C 2006/01/17 18:06:14 1.45 +++ rxvt-unicode/src/ptytty.C 2006/01/19 09:57:20 1.46 @@ -638,14 +638,11 @@ } 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 ();