Menu

#10 urxvt

open
nobody
None
5
2004-03-11
2004-03-11
No

debian:/tmp# urxvt
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

Speicherzugriffsfehler

AFAICS cosmtical issue, fix:

--- rxvt-unicode-2.2.orig/src/rxvtcolor.C
+++ rxvt-unicode-2.2/src/rxvtcolor.C
@@ -112,6 +112,7 @@
bool rxvt_display::init ()
{
display = XOpenDisplay (id);
+ if(!display) exit(-1);

screen = DefaultScreen (display);
root = DefaultRootWindow (display);

Discussion

  • Eduard Bloch

    Eduard Bloch - 2004-03-11
    • summary: urxvt "exits" with segfault if X init breaks --> urxvt
     
  • Eduard Bloch

    Eduard Bloch - 2004-03-11

    Logged In: YES
    user_id=935104

    the return value should better be 1, not -1, since 1 is
    returned by xterm in under the same conditions.

     

Log in to post a comment.

MongoDB Logo MongoDB