Re: [PATCH trace-cmd 1/5] trace-cmd/listen: Remove use ofsighandler_t
From: Seth Forshee
Date: Mon Oct 28 2013 - 11:45:50 EST
On Thu, Oct 24, 2013 at 03:30:07PM -0500, Seth Forshee wrote:
> On Thu, Oct 24, 2013 at 02:14:30PM -0500, Seth Forshee wrote:
> > sighandler_t is a GNU extension and may not be defined if
> > _GNU_SOURCE is not set. To minimize the potential for build
> > problems, change signal_setup() to declare its handle argument
> > the same way struct sigaction declares the sa_handler member.
>
> I just saw that you've already got a commit to define _GNU_SOURCE on
> master. I was packaging v2.2.1 and didn't notice it, so you can ignore
> this one.
Turns out that fix doesn't work all the time. The following is also
required.