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/xchat | |
parent | 385ae3605ddf5982c802cc32b44313406840825a (diff) | |
download | ports-513cd5af551b03208e134cb86d423d207df98946.tar.gz ports-513cd5af551b03208e134cb86d423d207df98946.zip |
Notes
Diffstat (limited to 'irc/xchat')
-rw-r--r-- | irc/xchat/files/patch-autoresume | 17 | ||||
-rw-r--r-- | irc/xchat/files/patch-bnc | 46 |
2 files changed, 63 insertions, 0 deletions
diff --git a/irc/xchat/files/patch-autoresume b/irc/xchat/files/patch-autoresume new file mode 100644 index 000000000000..fa01aaddf088 --- /dev/null +++ b/irc/xchat/files/patch-autoresume @@ -0,0 +1,17 @@ +--- src/common/dcc.c.orig Fri Oct 12 08:13:04 2001 ++++ src/common/dcc.c Sat Nov 24 16:47:39 2001 +@@ -1292,8 +1292,12 @@ + while (list) + { + d = list->data; +- if (d != dcc && strcmp (d->destfile, dcc->destfile) == 0) +- goto dontresume; ++ if (d->type == TYPE_RECV && d->dccstat != STAT_ABORTED && ++ d->dccstat != STAT_DONE && d->dccstat != STAT_FAILED) ++ { ++ if (d != dcc && strcmp (d->destfile, dcc->destfile) == 0) ++ goto dontresume; ++ } + list = list->next; + } + dcc_resume (dcc); diff --git a/irc/xchat/files/patch-bnc b/irc/xchat/files/patch-bnc new file mode 100644 index 000000000000..17bff4c687b8 --- /dev/null +++ b/irc/xchat/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; |