[PATCH xserver 1/1] test: Make os test more compliant

Peter Hutterer peter.hutterer at who-t.net
Mon Aug 27 18:35:25 PDT 2012


On Mon, Aug 27, 2012 at 05:18:58PM -0700, Jeremy Huddleston Sequoia wrote:
> sighandler_t is not UNIX.
> 
> Regression from: 7f09126e068015db54c56bb982b8f91065375700
> 
> Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
> CC: Peter Hutterer <peter.hutterer at who-t.net>

Reviewed-by: Peter Hutterer <peter.hutterer at who-t.net>


> ---
>  test/os.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/test/os.c b/test/os.c
> index 8f1107d..2d005a0 100644
> --- a/test/os.c
> +++ b/test/os.c
> @@ -149,7 +149,7 @@ static void block_sigio_test_nested(void)
>                  tail guard
>         tail guard must be hit.
>       */
> -    sighandler_t old_handler;
> +    void (*old_handler)(int);
>      old_handler = signal(SIGIO, sighandler);
>      expect_signal = 1;
>      assert(raise(SIGIO) == 0);
> -- 
> 1.7.11.5
> 


More information about the xorg-devel mailing list