mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
Fix IA-64 and S390 sigevent definitions.
This commit is contained in:
@ -1,3 +1,10 @@
|
|||||||
|
2009-10-29 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
[BZ #10446]
|
||||||
|
* sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Match sigevent
|
||||||
|
definition to the kernel's.
|
||||||
|
* sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
|
||||||
|
|
||||||
2009-08-18 Anders Johansson <ajohansson@novell.com>
|
2009-08-18 Anders Johansson <ajohansson@novell.com>
|
||||||
|
|
||||||
* nscd/aicache.c: Fix mixing up dataset and dataset->resp
|
* nscd/aicache.c: Fix mixing up dataset and dataset->resp
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* siginfo_t, sigevent and constants. Linux/ia64 version.
|
/* siginfo_t, sigevent and constants. Linux/ia64 version.
|
||||||
Copyright (C) 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
|
Copyright (C) 2000-2004, 2009 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Contributed by David Mosberger-Tang <davidm@hpl.hp.com>.
|
Contributed by David Mosberger-Tang <davidm@hpl.hp.com>.
|
||||||
|
|
||||||
@ -310,6 +310,10 @@ typedef struct sigevent
|
|||||||
{
|
{
|
||||||
int _pad[__SIGEV_PAD_SIZE];
|
int _pad[__SIGEV_PAD_SIZE];
|
||||||
|
|
||||||
|
/* When SIGEV_SIGNAL and SIGEV_THREAD_ID set, LWP ID of the
|
||||||
|
thread to receive the signal. */
|
||||||
|
__pid_t _tid;
|
||||||
|
|
||||||
struct
|
struct
|
||||||
{
|
{
|
||||||
void (*_function) (sigval_t); /* Function to start. */
|
void (*_function) (sigval_t); /* Function to start. */
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* siginfo_t, sigevent and constants. S/390 version.
|
/* siginfo_t, sigevent and constants. S/390 version.
|
||||||
Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
|
Copyright (C) 2001, 2002, 2003, 2009 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
#if (!defined __have_sigval_t \
|
#if (!defined __have_sigval_t \
|
||||||
&& (defined _SIGNAL_H || defined __need_siginfo_t \
|
&& (defined _SIGNAL_H || defined __need_siginfo_t \
|
||||||
|| defined __need_sigevent_t))
|
|| defined __need_sigevent_t))
|
||||||
# define __have_sigval_t 1
|
# define __have_sigval_t 1
|
||||||
|
|
||||||
/* Type for data associated with a signal. */
|
/* Type for data associated with a signal. */
|
||||||
@ -96,7 +96,7 @@ typedef struct siginfo
|
|||||||
struct
|
struct
|
||||||
{
|
{
|
||||||
void *si_addr; /* Faulting insn/memory ref. */
|
void *si_addr; /* Faulting insn/memory ref. */
|
||||||
int si_trapno;
|
int si_trapno;
|
||||||
} _sigfault;
|
} _sigfault;
|
||||||
|
|
||||||
/* SIGPOLL. */
|
/* SIGPOLL. */
|
||||||
@ -282,6 +282,10 @@ typedef struct sigevent
|
|||||||
{
|
{
|
||||||
int _pad[__SIGEV_PAD_SIZE];
|
int _pad[__SIGEV_PAD_SIZE];
|
||||||
|
|
||||||
|
/* When SIGEV_SIGNAL and SIGEV_THREAD_ID set, LWP ID of the
|
||||||
|
thread to receive the signal. */
|
||||||
|
__pid_t _tid;
|
||||||
|
|
||||||
struct
|
struct
|
||||||
{
|
{
|
||||||
void (*_function) (sigval_t); /* Function to start. */
|
void (*_function) (sigval_t); /* Function to start. */
|
||||||
|
Reference in New Issue
Block a user