projects
/
dana
/
urxvt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f23f116
)
*** empty log message ***
author
root
<root>
Thu, 19 Jan 2006 09:57:20 +0000
(09:57 +0000)
committer
root
<root>
Thu, 19 Jan 2006 09:57:20 +0000
(09:57 +0000)
src/ptytty.C
patch
|
blob
|
history
diff --git
a/src/ptytty.C
b/src/ptytty.C
index 8d4d8cb04374de39cdd411d5c14a3ba1fee4be93..2c240984ea7da866986096c81214764b3e13cf3c 100644
(file)
--- 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 ();