repo: rxvt-unicode-sixel
action: commit
revision: 
path_from: 
revision_from: c798ff06dec01a1fcf1b4d48639e4dd7307e468f:
path_to: 
revision_to: 
git.thebackupbox.net
rxvt-unicode-sixel
git clone git://git.thebackupbox.net/rxvt-unicode-sixel
commit c798ff06dec01a1fcf1b4d48639e4dd7307e468f
Author: Marc Lehmann 
Date:   Wed Jul 13 00:51:25 2005 +0000

    *** empty log message ***

diff --git a/Changes b/Changes
index c2c049bc8d22227ffe3ef2f7a93fa9c38838bc00..
index ..23caa29c6a74c9de39ebab9444f82b55eb416662 100644
--- a/Changes
+++ b/Changes
@@ -16,6 +16,9 @@ WISH: just for fun, do shade and tint with XRender.
 	- implement some useful (hopefully) options for rxvtd.
         - seperate and improved rxvtc(1) and rxvtd(1) manpages.
         - empty enacs= specification caused problems, removed it.
+        - fix a bug that caused segfaults on startup on systems that do
+          not support local unix connections, e.g cygwin. (btw, I didn't
+          even know about the -rootless and -multiwindow Cygwin/X modes).

 5.6  Sun Jun 26 22:11:13 CEST 2005
         - R_SB_RXVT bitset value was 0, so rxvt scrollbar was initialised
diff --git a/src/rxvttoolkit.C b/src/rxvttoolkit.C
index 306149ccbbee48f036aba8e57d5cf3ef1212e719..
index ..a7e85051dc7875bdc84058479c378cb5a6e79fb7 100644
--- a/src/rxvttoolkit.C
+++ b/src/rxvttoolkit.C
@@ -152,14 +152,16 @@ bool rxvt_display::init ()
       strcpy (val, "unix/");
       strcat (val, id);
       display = XOpenDisplay (val);
+      printf ("OD %s => %p\n", val, display);//D
       free (val);
     }
   else
-    display = 0;
 #endif
+    display = 0;

   if (!display)
     display = XOpenDisplay (id);
+      printf ("O2 %s => %p\n", id, display);//D

   if (!display)
     return false;

-----END OF PAGE-----