ALT Linux Bugzilla
– Attachment 1346 Details for
Bug 8880
New version
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Patch14
xchat-2.6.1-alt-hmepas-nohup.patch (text/plain), 1.17 KB, created by
Andrey Rahmatullin
on 2006-01-20 08:27:35 MSK
(
hide
)
Description:
Patch14
Filename:
MIME Type:
Creator:
Andrey Rahmatullin
Created:
2006-01-20 08:27:35 MSK
Size:
1.17 KB
patch
obsolete
>--- xchat-2.0.9/src/fe-gtk/Makefile.in.orig 2004-06-07 12:05:42 +0400 >+++ xchat-2.0.9/src/fe-gtk/Makefile.in 2004-06-07 12:06:13 +0400 >@@ -271,7 +271,7 @@ > xchatlibdir = @xchatlibdir@ > xchatsharedir = @xchatsharedir@ > localedir = $(datadir)/locale >-INCLUDES = $(GUI_CFLAGS) -DG_DISABLE_CAST_CHECKS -DLOCALEDIR=\"$(localedir)\" >+INCLUDES = $(GUI_CFLAGS) -DG_DISABLE_CAST_CHECKS -DNOHUP -DLOCALEDIR=\"$(localedir)\" > xchat_LDADD = ../common/libxchatcommon.a $(GUI_LIBS) > EXTRA_DIST = makefile.msc \ > about.h ascii.h banlist.h chanlist.h editlist.h fe-gtk.h fkeys.h \ >--- xchat-2.0.9/src/fe-gtk/fe-gtk.c.orig 2004-06-07 12:06:25 +0400 >+++ xchat-2.0.9/src/fe-gtk/fe-gtk.c 2004-06-07 12:08:26 +0400 >@@ -56,6 +56,13 @@ > #include <gtk/gtkinvisible.h> > #endif > >+#ifdef NOHUP >+#include <signal.h> >+void sighup_ignorer(int i) { >+ printf("SIGHUP ignored %i\n",i); >+} >+#endif >+ > > GdkPixmap *channelwin_pix; > >@@ -123,6 +130,10 @@ > textdomain (PACKAGE); > #endif > >+#ifdef NOHUP >+ signal(SIGHUP, sighup_ignorer); >+#endif >+ > context = g_option_context_new (NULL); > g_option_context_add_main_entries (context, gopt_entries, PACKAGE); > g_option_context_add_group (context, gtk_get_option_group (TRUE));
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 8880
:
1345
| 1346