[Glibc-bsd-commits] r2264 - trunk/glibc-ports/kfreebsd/bits

ps-guest at alioth.debian.org ps-guest at alioth.debian.org
Mon Jul 28 19:21:50 UTC 2008


Author: ps-guest
Date: 2008-07-28 19:21:49 +0000 (Mon, 28 Jul 2008)
New Revision: 2264

Modified:
   trunk/glibc-ports/kfreebsd/bits/siginfo.h
Log:
* enable ILL_*



Modified: trunk/glibc-ports/kfreebsd/bits/siginfo.h
===================================================================
--- trunk/glibc-ports/kfreebsd/bits/siginfo.h	2008-07-27 13:33:44 UTC (rev 2263)
+++ trunk/glibc-ports/kfreebsd/bits/siginfo.h	2008-07-28 19:21:49 UTC (rev 2264)
@@ -73,8 +73,6 @@
 # define SI_UNDEFINED	SI_UNDEFINED
 };
 
-#if 0 /* XXX These need verification.  See <bits/sigcontext.h>.  */
-
 /* `si_code' values for SIGILL signal.  */
 enum
 {
@@ -96,8 +94,6 @@
 # define ILL_BADSTK	ILL_BADSTK
 };
 
-#endif
-
 /* `si_code' values for SIGFPE signal.  */
 enum
 {
@@ -119,7 +115,6 @@
 # define FPE_FLTSUB	FPE_FLTSUB
 };
 
-#if 0 /* XXX These need verification.  See <bits/sigcontext.h>.  */
 /* `si_code' values for SIGSEGV signal.  */
 enum
 {
@@ -149,8 +144,6 @@
 # define TRAP_TRACE	TRAP_TRACE
 };
 
-#endif
-
 /* `si_code' values for SIGCHLD signal.  */
 /* XXX These are only used by the waitid() function, not by the kernel.  */
 enum
@@ -169,8 +162,6 @@
 # define CLD_CONTINUED	CLD_CONTINUED
 };
 
-#if 0 /* XXX These need verification.  See <bits/sigcontext.h>.  */
-
 /* `si_code' values for SIGPOLL signal.  */
 enum
 {
@@ -182,14 +173,11 @@
 # define POLL_MSG	POLL_MSG
   POLL_ERR,			/* I/O error.  */
 # define POLL_ERR	POLL_ERR
-  POLL_PRI,			/* High priority input available.  */
+# define POLL_HUP	POLL_ERR /* Device disconnected.  */
+  POLL_PRI			/* High priority input available.  */
 # define POLL_PRI	POLL_PRI
-  POLL_HUP			/* Device disconnected.  */
-# define POLL_HUP	POLL_HUP
 };
 
-#endif
-
 # undef __need_siginfo_t
 #endif	/* !have siginfo_t && (have _SIGNAL_H || need siginfo_t).  */
 




More information about the Glibc-bsd-commits mailing list