Source-Changes-HG archive

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

[src/netbsd-2-0]: src/sys/compat/linux/arch/mips Pull up revision 1.3 (reques...



details:   https://anonhg.NetBSD.org/src/rev/679923cc55bc
branches:  netbsd-2-0
changeset: 561573:679923cc55bc
user:      tron <tron%NetBSD.org@localhost>
date:      Tue Jun 22 08:53:16 2004 +0000

description:
Pull up revision 1.3 (requested by manu in ticket #521):
Fix a reversed errno issue for Linux binaries on mips. While we are
there,
fix broken includes for alpha and m68k.

diffstat:

 sys/compat/linux/arch/mips/linux_errno.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r a1721d113c1a -r 679923cc55bc sys/compat/linux/arch/mips/linux_errno.h
--- a/sys/compat/linux/arch/mips/linux_errno.h  Tue Jun 22 08:52:55 2004 +0000
+++ b/sys/compat/linux/arch/mips/linux_errno.h  Tue Jun 22 08:53:16 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_errno.h,v 1.2 2001/09/02 06:51:15 manu Exp $ */
+/* $NetBSD: linux_errno.h,v 1.2.26.1 2004/06/22 08:53:16 tron Exp $ */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -43,7 +43,7 @@
  * Linux/mips returns negative errors to userland  
  * The libc makes the errno positive.
  */
-#define LINUX_SCERR_SIGN -
+#define LINUX_SCERR_SIGN +
 
 /* Use common/linux_errno.h for #1-35 */
 



Home | Main Index | Thread Index | Old Index