repo: rxvt-unicode-sixel action: commit revision: path_from: revision_from: cc2b12fa3a90f01de8b478de353604ee11744c77: path_to: revision_to:
commit cc2b12fa3a90f01de8b478de353604ee11744c77 Author: Marc LehmannDate: Thu Jan 19 09:57:20 2006 +0000 *** empty log message *** diff --git a/src/ptytty.C b/src/ptytty.C
--- 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 ();
-----END OF PAGE-----