]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
signal: Use correct type for si_band in siginfo_t [BZ #23562]
authorIlya Yu. Malakhov <malakhov@mcst.ru>
Mon, 22 Oct 2018 11:16:08 +0000 (13:16 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Mon, 22 Oct 2018 11:16:08 +0000 (13:16 +0200)
(cherry picked from commit f997b4be18f7e57d757d39e42f7715db26528aa0)

ChangeLog
NEWS
sysdeps/unix/sysv/linux/bits/types/siginfo_t.h

index 331aabfdbc88b8c6b26d6915da3d216629249aa8..40ddae489f78d7e05e88a510f2b6601a47be5886 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2018-10-19  Ilya Yu. Malakhov  <malakhov@mcst.ru>
+
+       [BZ #23562]
+       * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
+       (struct siginfo_t): Use correct type for si_band.
+
 2018-10-17  Stefan Liebler  <stli@linux.ibm.com>
 
        [BZ #23275]
diff --git a/NEWS b/NEWS
index 0054228a99ea282699db06b010a5fd93720d5d25..afb956149c42cfd1abb82c100558cb98696de3ac 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -91,6 +91,7 @@ The following bugs are resolved with this release:
   [23456] Wrong index_cpu_LZCNT
   [23459] COMMON_CPUID_INDEX_80000001 isn't populated for Intel processors
   [23538] pthread_cond_broadcast: Fix waiters-after-spinning case
+  [23562] signal: Use correct type for si_band in siginfo_t
   [23579] libc: Errors misreported in preadv2
 
 \f
index 33766d1813c689a8942e8f5d37758105a7501036..43c4e009a44faef57558093d248a715f75759f89 100644 (file)
@@ -107,7 +107,7 @@ typedef struct
        /* SIGPOLL.  */
        struct
          {
-           long int si_band;   /* Band event for SIGPOLL.  */
+           __SI_BAND_TYPE si_band;     /* Band event for SIGPOLL.  */
            int si_fd;
          } _sigpoll;