[PATCH:xhost] Drop pre-POSIX signal handling support in favor of sigaction()

Jon TURNEY jon.turney at dronecode.org.uk
Sun Feb 24 07:03:56 PST 2013


On 24/02/2013 11:46, Julien Cristau wrote:
> On Sat, Feb 23, 2013 at 09:53:48 -0800, Alan Coopersmith wrote:
> 
>> X_NOT_POSIX has never been defined by our autoconf scripts, only the
>> old Imake configuration, so this doesn't seem to have been needed in years.
>>
> <X11/Xosdefs.h> seems to define it in some cases.  Possibly not cases
> anyone cares about anymore though.

It maybe that someone cares about the WIN32 case.

Windows MinGW doesn't have sigaction(), but it doesn't have SIGALRM either so
this code as it stands doesn't build for that anyhow.

Please go ahead and apply, and I'll rework my patch for WIN32, which will be
simpler after this clean up [1]

Reviewed-by: Jon TURNEY <jon.turney at dronecode.org.uk>

[1] http://lists.x.org/archives/xorg-devel/2013-February/035470.html



More information about the xorg-devel mailing list