Gentoo Archives: gentoo-dev

From: Pacho Ramos <pacho@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] EasyTAG 2.1.6 Handle SIGCHLD to make audacious archived skins workable
Date: Fri, 04 Mar 2011 15:38:34
Message-Id: 1299253054.8629.7.camel@localhost.localdomain
In Reply to: [gentoo-dev] EasyTAG 2.1.6 Handle SIGCHLD to make audacious archived skins workable by Alessio Ababilov
El vie, 04-03-2011 a las 15:44 +0200, Alessio Ababilov escribió:
> It seems that development of EasyTAG is stopped, and so I send the patch > to gentoo developers. > > EasyTAG calls signal(SIGCHLD,SIG_IGN) to avoid zombies. It works fine, > but it leads to one problem. > If one calls 'Run Audio Player', the player's SIGCHLD signal handler is > inherited. So, when audacious calls system() in order to unpack its > archived skin, the archiver process ends silently (the wait() call in > system() function cannot hear that the child process has ended). The > audacious process assumes that there was an error and an unarchived skin > is used. > A possible solution is to set a handler for SIGCHLD in EasyTAG. The > handler is called when a child process ends and the latter doesn't > become a zombie. > > Alessio Ababilov
What about opening a bug report at bugs.gentoo.org? Thanks :-)

Attachments

File name MIME type
signature.asc application/pgp-signature