-- Leo's gemini proxy
-- Connecting to git.thebackupbox.net:1965...
-- Connected
-- Sending request
-- Meta line: 20 text/gemini
repo: rxvt-unicode-sixel action: commit revision: path_from: revision_from: 282b7ac58dfc23a1f30b04bad72e7d3479be15cc: path_to: revision_to:
commit 282b7ac58dfc23a1f30b04bad72e7d3479be15cc Author: Marc Lehmann <schmorp@schmorp.de> Date: Tue Jan 3 16:32:33 2006 +0000 *** empty log message *** diff --git a/src/ptytty.C b/src/ptytty.C
--- a/src/ptytty.C +++ b/src/ptytty.C @@ -78,7 +78,11 @@ get_pty (int *fd_tty, char **ttydev) #ifdef PTYS_ARE_OPENPTY char tty_name[sizeof "/dev/pts/????\0"]; - if (openpty (&pfd, fd_tty, tty_name, NULL, NULL) != -1) + rxvt_privileges(RESTORE); + int res = openpty (&pfd, fd_tty, tty_name, NULL, NULL); + rxvt_privileges(IGNORE); + + if (res != -1) { *ttydev = strdup (tty_name); return pfd; diff --git a/src/rxvtperl.xs b/src/rxvtperl.xs
--- a/src/rxvtperl.xs +++ b/src/rxvtperl.xs @@ -844,7 +844,7 @@ rxvt_term::selection_mark (...) } int -rxvt_term::selection_grab (int eventtime) +rxvt_term::selection_grab (int eventtime = CurrentTime) void rxvt_term::selection (SV *newtext = 0)
-----END OF PAGE-----
-- Response ended
-- Page fetched on Sun Jun 2 09:54:49 2024