]> 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:43:59 +0000 (13:43 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Mon, 22 Oct 2018 11:43:59 +0000 (13:43 +0200)
(cherry picked from commit f997b4be18f7e57d757d39e42f7715db26528aa0)

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

index faa13471fbf30be2b439f380eaaf7860014ee94e..9f477058718236ee24dcf9f3e9cca591882826a5 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-09-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
 
        [BZ #23579]
diff --git a/NEWS b/NEWS
index 299fba24b1a3adb6393c451624f8d73e8872fd41..33bc5196c89c2d6f7113b0be89db32899a3df403 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -151,6 +151,7 @@ The following bugs are resolved with this release:
   [23363] stdio-common/tst-printf.c has non-free license
   [23456] Wrong index_cpu_LZCNT
   [23459] COMMON_CPUID_INDEX_80000001 isn't populated for Intel processors
+  [23562] signal: Use correct type for si_band in siginfo_t
   [23579] libc: Errors misreported in preadv2
 \f
 Version 2.26
index bed69148f9df08a212f080fc816b0ee11fc47923..18d60bc705084a0bbe52d016437c58b66df6f13a 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;