Commit ea227a84 authored by Samuel Thibault's avatar Samuel Thibault

patches/hurd-i386/tg-hurdsig-SA_SIGINFO.diff: Fix standardization of exposition of sigaction

parent 210f498b
...@@ -6,6 +6,8 @@ glibc (2.27-6) UNRELEASED; urgency=medium ...@@ -6,6 +6,8 @@ glibc (2.27-6) UNRELEASED; urgency=medium
* patches/hurd-i386/tg-pipe2.diff: Rename to git-pipe2.diff. * patches/hurd-i386/tg-pipe2.diff: Rename to git-pipe2.diff.
* patches/hurd-i386/tg-posix_thread.diff: Rename to git-posix_thread.diff. * patches/hurd-i386/tg-posix_thread.diff: Rename to git-posix_thread.diff.
* patches/hurd-i386/tg-pthread_deps.diff: Rename to git-pthread_deps.diff. * patches/hurd-i386/tg-pthread_deps.diff: Rename to git-pthread_deps.diff.
* patches/hurd-i386/tg-hurdsig-SA_SIGINFO.diff: Fix standardization of
exposition of sigaction
-- Samuel Thibault <sthibault@debian.org> Fri, 20 Jul 2018 01:26:25 +0200 -- Samuel Thibault <sthibault@debian.org> Fri, 20 Jul 2018 01:26:25 +0200
......
...@@ -128,7 +128,7 @@ index 0000000..7204fc6 ...@@ -128,7 +128,7 @@ index 0000000..7204fc6
+struct sigaction +struct sigaction
+ { + {
+ /* Signal handler. */ + /* Signal handler. */
+#ifdef __USE_POSIX199309 +#if defined __USE_POSIX199309 || defined __USE_XOPEN_EXTENDED
+ union + union
+ { + {
+ /* Used if SA_SIGINFO is not set. */ + /* Used if SA_SIGINFO is not set. */
...@@ -151,10 +151,10 @@ index 0000000..7204fc6 ...@@ -151,10 +151,10 @@ index 0000000..7204fc6
+ }; + };
+ +
+/* Bits in `sa_flags'. */ +/* Bits in `sa_flags'. */
+#if defined __USE_UNIX98 || defined __USE_MISC +#if defined __USE_XOPEN_EXTENDED || defined __USE_MISC
+# define SA_ONSTACK 0x0001 /* Take signal on signal stack. */ +# define SA_ONSTACK 0x0001 /* Take signal on signal stack. */
+#endif +#endif
+#if defined __USE_UNIX98 || defined __USE_MISC || defined __USE_XOPEN2K8 +#if defined __USE_XOPEN_EXTENDED || defined __USE_XOPEN2K8
+# define SA_RESTART 0x0002 /* Restart syscall on signal return. */ +# define SA_RESTART 0x0002 /* Restart syscall on signal return. */
+# define SA_NODEFER 0x0010 /* Don't automatically block the signal when +# define SA_NODEFER 0x0010 /* Don't automatically block the signal when
+ its handler is being executed. */ + its handler is being executed. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment