GNU bug report logs - #21116
[PATCH 3/4] Add Hurd signal and error definitions

Previous Next

Package: guile;

Reported by: David Michael <fedora.dm0 <at> gmail.com>

Date: Wed, 22 Jul 2015 16:53:02 UTC

Severity: normal

Tags: patch

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: ludo <at> gnu.org (Ludovic Courtès)
Cc: tracker <at> debbugs.gnu.org
Subject: bug#21116: closed ([PATCH 3/4] Add Hurd signal and error definitions)
Date: Thu, 29 Oct 2015 22:47:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Thu, 29 Oct 2015 23:45:58 +0100
with message-id <87k2q547kp.fsf <at> gnu.org>
and subject line Re: bug#21116: [PATCH 3/4] Add Hurd signal and error definitions
has caused the debbugs.gnu.org bug report #21116,
regarding [PATCH 3/4] Add Hurd signal and error definitions
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
21116: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=21116
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: David Michael <fedora.dm0 <at> gmail.com>
To: bug-guile <at> gnu.org
Subject: [PATCH 3/4] Add Hurd signal and error definitions
Date: Wed, 22 Jul 2015 12:52:27 -0400
* libguile/cpp-E.syms (EAUTH, EBACKGROUND): New definitions.
  (EBADRPC, ED, EDIED, EFTYPE, EGRATUITOUS, EGREGIOUS): Likewise.
  (EIEIO, ENEEDAUTH, EPROCLIM, EPROCUNAVAIL): Likewise.
  (EPROGMISMATCH, EPROGUNAVAIL, ERPCMISMATCH): Likewise.
* libguile/cpp-SIG.syms (SIGEMT, SIGEV_MAX_SIZE): Likewise.
  (SIGEV_PAD_SIZE, SIGINFO, SIGLOST): Likewise.
---


This adds all error and signal symbols found on Hurd.  Their comments
follow.

#define	EAUTH           _HURD_ERRNO (80)/* Authentication error */
#define	EBACKGROUND     _HURD_ERRNO (100)/* Inappropriate operation for background process */
#define	EBADRPC         _HURD_ERRNO (72)/* RPC struct is bad */
#define	ED              _HURD_ERRNO (102)/* ? */
#define	EDIED           _HURD_ERRNO (101)/* Translator died */
#define	EFTYPE          _HURD_ERRNO (79)/* Inappropriate file type or format */
#define	EGRATUITOUS     _HURD_ERRNO (105)/* Gratuitous error */
#define	EGREGIOUS       _HURD_ERRNO (103)/* You really blew it this time */
#define	EIEIO           _HURD_ERRNO (104)/* Computer bought the farm */
#define	ENEEDAUTH       _HURD_ERRNO (81)/* Need authenticator */
#define	EPROCLIM        _HURD_ERRNO (67)/* Too many processes */
#define	EPROCUNAVAIL    _HURD_ERRNO (76)/* RPC bad procedure for program */
#define	EPROGMISMATCH   _HURD_ERRNO (75)/* RPC program version wrong */
#define	EPROGUNAVAIL    _HURD_ERRNO (74)/* RPC program not available */
#define	ERPCMISMATCH    _HURD_ERRNO (73)/* RPC version wrong */

#define	SIGEMT		7	/* EMT trap (4.2 BSD).  */
#define SIGINFO		29	/* Information request (4.4 BSD).  */
#define SIGLOST		32	/* Resource lost (Sun); server died (GNU).  */

/* Structure to transport application-defined values with signals.  */
# define SIGEV_MAX_SIZE	64
# define SIGEV_PAD_SIZE	((SIGEV_MAX_SIZE / sizeof (int)) - 3)


 libguile/cpp-E.syms   | 15 +++++++++++++++
 libguile/cpp-SIG.syms |  5 +++++
 2 files changed, 20 insertions(+)

diff --git a/libguile/cpp-E.syms b/libguile/cpp-E.syms
index 3d3b0c3..53302fe 100644
--- a/libguile/cpp-E.syms
+++ b/libguile/cpp-E.syms
@@ -6,11 +6,14 @@ EADV
 EAFNOSUPPORT
 EAGAIN
 EALREADY
+EAUTH
+EBACKGROUND
 EBADE
 EBADF
 EBADFD
 EBADMSG
 EBADR
+EBADRPC
 EBADRQC
 EBADSLT
 EBFONT
@@ -22,19 +25,25 @@ ECOMM
 ECONNABORTED
 ECONNREFUSED
 ECONNRESET
+ED
 EDEADLK
 EDEADLOCK
 EDESTADDRREQ
+EDIED
 EDOM
 EDOTDOT
 EDQUOT
 EEXIST
 EFAULT
 EFBIG
+EFTYPE
+EGRATUITOUS
+EGREGIOUS
 EHOSTDOWN
 EHOSTUNREACH
 EHWPOISON
 EIDRM
+EIEIO
 EILSEQ
 EINPROGRESS
 EINTR
@@ -64,6 +73,7 @@ EMSGSIZE
 EMULTIHOP
 ENAMETOOLONG
 ENAVAIL
+ENEEDAUTH
 ENETDOWN
 ENETRESET
 ENETUNREACH
@@ -105,6 +115,10 @@ EOWNERDEAD
 EPERM
 EPFNOSUPPORT
 EPIPE
+EPROCLIM
+EPROCUNAVAIL
+EPROGMISMATCH
+EPROGUNAVAIL
 EPROTO
 EPROTONOSUPPORT
 EPROTOTYPE
@@ -115,6 +129,7 @@ EREMOTEIO
 ERESTART
 ERFKILL
 EROFS
+ERPCMISMATCH
 ESHUTDOWN
 ESOCKTNOSUPPORT
 ESPIPE
diff --git a/libguile/cpp-SIG.syms b/libguile/cpp-SIG.syms
index bc57376..2a619ce 100644
--- a/libguile/cpp-SIG.syms
+++ b/libguile/cpp-SIG.syms
@@ -5,17 +5,22 @@ SIGBUS
 SIGCHLD
 SIGCLD
 SIGCONT
+SIGEMT
+SIGEV_MAX_SIZE
 SIGEV_NONE
+SIGEV_PAD_SIZE
 SIGEV_SIGNAL
 SIGEV_THREAD
 SIGEV_THREAD_ID
 SIGFPE
 SIGHUP
 SIGILL
+SIGINFO
 SIGINT
 SIGIO
 SIGIOT
 SIGKILL
+SIGLOST
 SIGPIPE
 SIGPOLL
 SIGPROF
-- 
2.1.0



[Message part 3 (message/rfc822, inline)]
From: ludo <at> gnu.org (Ludovic Courtès)
To: David Michael <fedora.dm0 <at> gmail.com>
Cc: 21116-done <at> debbugs.gnu.org
Subject: Re: bug#21116: [PATCH 3/4] Add Hurd signal and error definitions
Date: Thu, 29 Oct 2015 23:45:58 +0100
David Michael <fedora.dm0 <at> gmail.com> skribis:

> * libguile/cpp-E.syms (EAUTH, EBACKGROUND): New definitions.
>   (EBADRPC, ED, EDIED, EFTYPE, EGRATUITOUS, EGREGIOUS): Likewise.
>   (EIEIO, ENEEDAUTH, EPROCLIM, EPROCUNAVAIL): Likewise.
>   (EPROGMISMATCH, EPROGUNAVAIL, ERPCMISMATCH): Likewise.
> * libguile/cpp-SIG.syms (SIGEMT, SIGEV_MAX_SIZE): Likewise.
>   (SIGEV_PAD_SIZE, SIGINFO, SIGLOST): Likewise.

Pushed as 1be3063.

> #define	ED              _HURD_ERRNO (102)/* ? */
> #define	EDIED           _HURD_ERRNO (101)/* Translator died */
> #define	EFTYPE          _HURD_ERRNO (79)/* Inappropriate file type or format */
> #define	EGRATUITOUS     _HURD_ERRNO (105)/* Gratuitous error */
> #define	EGREGIOUS       _HURD_ERRNO (103)/* You really blew it this time */
> #define	EIEIO           _HURD_ERRNO (104)/* Computer bought the farm */

Hurd humour for the Guilers!  :-)

Ludo’.


This bug report was last modified 9 years and 208 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.