hasufell    14/03/23 19:07:31

  Added:                hexchat-2.9.6.1-xdcc.patch
  Log:
  fix xdcc segfault wrt #505132
  
  (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 
BDEED020)

Revision  Changes    Path
1.1                  net-irc/hexchat/files/hexchat-2.9.6.1-xdcc.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/hexchat/files/hexchat-2.9.6.1-xdcc.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/hexchat/files/hexchat-2.9.6.1-xdcc.patch?rev=1.1&content-type=text/plain

Index: hexchat-2.9.6.1-xdcc.patch
===================================================================
>From fa955a0f1a7863ab7a35c8a3753eac014288931f Mon Sep 17 00:00:00 2001
From: Arnavion <[email protected]>
Date: Thu, 3 Oct 2013 17:43:44 -0700
Subject: [PATCH] Don't try to update the clear button state when there's no
 DCC window.

---
 src/fe-gtk/dccgui.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/fe-gtk/dccgui.c b/src/fe-gtk/dccgui.c
index 76b1e2f..562fe9e 100644
--- a/src/fe-gtk/dccgui.c
+++ b/src/fe-gtk/dccgui.c
@@ -1128,7 +1128,8 @@ struct my_dcc_send
                dcc_update_chat (dcc);
        }
 
-       update_clear_button_sensitivity ();
+       if (dccfwin.window)
+               update_clear_button_sensitivity();
 }
 
 void
-- 
1.8.5.5





Reply via email to