[PATCH] Keep SIGALRM restart flag after Popen

Adam Jackson ajax at nwnk.net
Mon Sep 21 08:08:56 PDT 2015


On Wed, 2015-05-20 at 13:16 -0600, Daniel Drake wrote:
> Commit de0e6073e3f122 added SA_RESTART to the SIGALRM handler.
> However, the Popen code tears down and recreates the SIGALRM handler
> via OsSignal(), and this flag is dropped at this time.
> 
> Clean the code to use just a single codepath for creating this
> signal handler, always applying SA_RESTART.

Merged this, and the corresponding patch from long ago to add
SA_RESTART in the first place:

remote: Updating patchwork state for http://patchwork.freedesktop.org/project/Xorg/list/
remote: I: patch #49159 updated using rev 94ab7455abc213fc96760e29ab2e943ec682fb22.
remote: I: patch #50058 updated using rev 1f915e8b524dd02011158aa038935970684c7630.
remote: I: 2 patch(es) updated to state Accepted.
To ssh://git.freedesktop.org/git/xorg/xserver
   58d54ee..1f915e8  master -> master

- ajax


More information about the xorg-devel mailing list