Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/kdump Now use IRIX errno translation instead of SVR4...



details:   https://anonhg.NetBSD.org/src/rev/bef4c1502a2b
branches:  trunk
changeset: 518611:bef4c1502a2b
user:      manu <manu%NetBSD.org@localhost>
date:      Sun Dec 02 16:18:01 2001 +0000

description:
Now use IRIX errno translation instead of SVR4 errno translation

diffstat:

 usr.bin/kdump/setemul.c |  10 ++--------
 1 files changed, 2 insertions(+), 8 deletions(-)

diffs (40 lines):

diff -r e79077d8976f -r bef4c1502a2b usr.bin/kdump/setemul.c
--- a/usr.bin/kdump/setemul.c   Sun Dec 02 16:16:57 2001 +0000
+++ b/usr.bin/kdump/setemul.c   Sun Dec 02 16:18:01 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: setemul.c,v 1.9 2001/11/28 10:36:48 manu Exp $ */
+/*     $NetBSD: setemul.c,v 1.10 2001/12/02 16:18:01 manu Exp $        */
 
 /*-
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -73,7 +73,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: setemul.c,v 1.9 2001/11/28 10:36:48 manu Exp $");
+__RCSID("$NetBSD: setemul.c,v 1.10 2001/12/02 16:18:01 manu Exp $");
 #endif /* not lint */
 
 #include <sys/param.h>
@@ -123,9 +123,7 @@
 #include "../../sys/compat/hpux/hpux_errno.c"
 #include "../../sys/compat/svr4/svr4_errno.c"
 #include "../../sys/compat/ibcs2/ibcs2_errno.c"
-#ifdef notyet
 #include "../../sys/compat/irix/irix_errno.c"
-#endif
 #include "../../sys/compat/linux/common/linux_errno.c"
 #undef KTRACE
 
@@ -143,11 +141,7 @@
        {    "ibcs2",    ibcs2_syscallnames,   IBCS2_SYS_MAXSYSCALL,
         native_to_ibcs2_errno,  NELEM(native_to_ibcs2_errno) },
        {    "irix",    irix_syscallnames,   IRIX_SYS_MAXSYSCALL,
-#ifdef notyet
         native_to_irix_errno,  NELEM(native_to_irix_errno) },
-#else
-        native_to_svr4_errno,  NELEM(native_to_svr4_errno) },
-#endif
        {    "linux",    linux_syscallnames,   LINUX_SYS_MAXSYSCALL,
         native_to_linux_errno,  NELEM(native_to_linux_errno) },
        {     "osf1",     osf1_syscallnames,    OSF1_SYS_MAXSYSCALL,



Home | Main Index | Thread Index | Old Index