diff options
author | Jim Mock <jim@FreeBSD.org> | 2001-11-25 01:00:05 +0000 |
---|---|---|
committer | Jim Mock <jim@FreeBSD.org> | 2001-11-25 01:00:05 +0000 |
commit | 513cd5af551b03208e134cb86d423d207df98946 (patch) | |
tree | bd8b6b3bb7583c6a2c0dcac31282267106c71de7 /irc/xchat1/files/patch-bnc | |
parent | - update to 0.99e (diff) |
Add two patches -- one fixes dccs autoresume, and the other fixes xchat
when used with bnc.
Prodded by: David Hill <david@phobia.ms>
Obtained from: xchat.org
Diffstat (limited to '')
-rw-r--r-- | irc/xchat1/files/patch-bnc | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/irc/xchat1/files/patch-bnc b/irc/xchat1/files/patch-bnc new file mode 100644 index 000000000000..17bff4c687b8 --- /dev/null +++ b/irc/xchat1/files/patch-bnc @@ -0,0 +1,46 @@ +--- src/common/xchat.c.orig Sun Oct 14 07:46:36 2001 ++++ src/common/xchat.c Sat Nov 24 16:48:41 2001 +@@ -69,6 +69,7 @@ + GSList *urlhandler_list = 0; + static GSList *away_list = 0; + ++static int in_xchat_exit = FALSE; + int xchat_is_quitting = FALSE; + int auto_connect = TRUE; + +@@ -730,7 +731,7 @@ + free (killsess->current_modes); + free (killsess); + +- if (!sess_list && !xchat_is_quitting) ++ if (!sess_list && !in_xchat_exit) + xchat_exit (); /* sess_list is empty, quit! */ + + list = sess_list; +@@ -1051,6 +1052,7 @@ + xchat_exit (void) + { + xchat_is_quitting = TRUE; ++ in_xchat_exit = TRUE; + #ifdef USE_PERL + perl_end (); + #endif + +--- src/fe-gtk/maingui.c.orig Thu Oct 25 00:19:29 2001 ++++ src/fe-gtk/maingui.c Sat Nov 24 16:48:41 2001 +@@ -923,7 +923,6 @@ + static void + gui_main_window_kill (gpointer userdata) + { +-#if 0 + GSList *list; + session *sess; + +@@ -941,7 +940,6 @@ + } + list = list->next; + } +-#endif + + main_window = 0; + current_tab = 0; |