-- 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:

git.thebackupbox.net

rxvt-unicode-sixel

git://git.thebackupbox.net/rxvt-unicode-sixel

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

index 149dcede3a9d82dd4aa9ef112b2cca21ba82bb1f..

index ..c06e499beca496b4a25edb6203b01ed238b1ace7 100644

--- 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

index 245068d28e192e0565ab1e2f08705dc69a901cbb..

index ..1ffcf70d10a1deac5addd554817b9df5eb5f1d5b 100644

--- 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