This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH] signal: Use correct type for si_band in siginfo_t [BZ #23562]
- From: Florian Weimer <fweimer at redhat dot com>
- To: libc-alpha at sourceware dot org
- Cc: Ilya Yu. Malakhov <malakhov at mcst dot ru>
- Date: Thu, 18 Oct 2018 18:56:12 +0200
- Subject: [PATCH] signal: Use correct type for si_band in siginfo_t [BZ #23562]
Perhaps I a SPARC maintainer could review this as well?
I tested it on x86-64 and found no regressions. Based on the sources,
the change should only impact SPARC.
2018-10-18 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.
diff --git a/sysdeps/unix/sysv/linux/bits/types/siginfo_t.h b/sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
index 33766d1813..43c4e009a4 100644
--- a/sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
+++ b/sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
@@ -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;
--
2.14.4