mirror of git://sourceware.org/git/glibc.git
hurd: fix header conformity
* hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be trivial, for C++ conformity.
This commit is contained in:
parent
3403cb7dd4
commit
48d34cbc23
|
@ -14,6 +14,8 @@
|
||||||
* hurd/hurd/port.h: Do not include <hurd/signal.h>.
|
* hurd/hurd/port.h: Do not include <hurd/signal.h>.
|
||||||
* hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
|
* hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
|
||||||
!defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
|
!defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
|
||||||
|
* hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
|
||||||
|
trivial, for C++ conformity.
|
||||||
|
|
||||||
2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
|
2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
|
||||||
|
|
||||||
|
|
|
@ -179,7 +179,7 @@ _hurd_fd_error (int fd, error_t err)
|
||||||
if (signo)
|
if (signo)
|
||||||
{
|
{
|
||||||
const struct hurd_signal_detail detail
|
const struct hurd_signal_detail detail
|
||||||
= { code: fd, error: err, exc: 0 };
|
= { exc: 0, exc_code: 0, exc_subcode: 0, code: fd, error: err };
|
||||||
_hurd_raise_signal (NULL, signo, &detail);
|
_hurd_raise_signal (NULL, signo, &detail);
|
||||||
}
|
}
|
||||||
return err;
|
return err;
|
||||||
|
|
Loading…
Reference in New Issue