Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 73415 Details for
Bug 113219
conky-1.3.4 when killed with ctrl+c from a terminal, gets glibc errors
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
app-admin/conky/files/conky-1.3.4-posixsignals.patch
conky-1.3.4-posixsignals.patch (text/plain), 792 bytes, created by
Philip Kovacs
on 2005-11-22 20:41:50 UTC
(
hide
)
Description:
app-admin/conky/files/conky-1.3.4-posixsignals.patch
Filename:
MIME Type:
Creator:
Philip Kovacs
Created:
2005-11-22 20:41:50 UTC
Size:
792 bytes
patch
obsolete
>--- src/conky.c.old 2005-11-16 19:32:39.000000000 -0500 >+++ src/conky.c 2005-11-22 21:36:19.825035248 -0500 >@@ -4964,6 +4964,8 @@ > > int main(int argc, char **argv) > { >+ struct sigaction act, oact; >+ > g_signal_pending=0; > memset(&info, 0, sizeof(info) ); > >@@ -5241,9 +5243,14 @@ > } > > /* Set signal handlers */ >- if ( signal(SIGINT,signal_handler) == SIG_ERR || >- signal(SIGUSR1,signal_handler) == SIG_ERR || >- signal(SIGTERM,signal_handler) == SIG_ERR ) >+ act.sa_handler = signal_handler; >+ sigemptyset(&act.sa_mask); >+ act.sa_flags = 0; >+ /* act.sa_flags |= SA_RESTART; */ >+ >+ if ( sigaction(SIGINT,&act,&oact) < 0 || >+ sigaction(SIGUSR1,&act,&oact) < 0 || >+ sigaction(SIGTERM,&act,&oact) < 0 ) > { > ERR("error setting signal handler: %s", strerror(errno) ); > }
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 113219
:
73410
|
73411
|
73412
|
73415
|
73448
|
73450
|
73541
|
73543
|
73544
|
73545