From 93a470c71a236c6fbf4f2a207eb3961754187e80 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 7 May 1996 14:57:38 +0000 Subject: Tue May 7 10:51:52 1996 Roland McGrath * wcsmbs/wcwidth.c, wcsmbs/wcswidth.c: Fixed typos. * sysdeps/unix/sysv/linux/sys/mman.h: Fixed typo. * sysdeps/stub/sched_getp.c: Add missing #include . * sysdeps/stub/sched_sets.c: Likewise. * sysdeps/stub/sched_setp.c: Likewise. * sysdeps/stub/sched_rr_gi.c: Likewise. * sysdeps/stub/sched_gets.c: Likewise. * hurd/hurdsig.c: Use struct hurd_signal_detail. * hurd/hurd/fd.h (_hurd_fd_error): Likewise. * sysdeps/mach/hurd/sysd-stdio.c (fd_fail): Likewise. --- sysdeps/mach/hurd/sysd-stdio.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'sysdeps/mach/hurd/sysd-stdio.c') diff --git a/sysdeps/mach/hurd/sysd-stdio.c b/sysdeps/mach/hurd/sysd-stdio.c index 85dd04bad4..c4bcf73d9b 100644 --- a/sysdeps/mach/hurd/sysd-stdio.c +++ b/sysdeps/mach/hurd/sysd-stdio.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1994, 1995 Free Software Foundation, Inc. +/* Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -34,7 +34,11 @@ fd_fail (struct hurd_fd *fd, error_t err) { int signo = _hurd_fd_error_signal (err); if (signo) - _hurd_raise_signal (NULL, signo, __stdio_fileno (fd), err); + { + const struct hurd_signal_detail detail + = { code: __stdio_fileno (fd), error: err, exc: 0 }; + _hurd_raise_signal (NULL, signo, &detail); + } errno = err; return -1; } -- cgit v1.2.3