Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/linux/arch/i386 tidy up include pathname to exclu...



details:   https://anonhg.NetBSD.org/src/rev/3a5d71ee6bcc
branches:  trunk
changeset: 763647:3a5d71ee6bcc
user:      plunky <plunky%NetBSD.org@localhost>
date:      Tue Mar 29 20:10:31 2011 +0000

description:
tidy up include pathname to exclude undefined behaviour

 "If the characters ', \, ", //, or /* occur in the sequence between
  the < and > delimiters, the behavior is undefined."

diffstat:

 sys/compat/linux/arch/i386/linux_exec_machdep.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 87ce29d68e18 -r 3a5d71ee6bcc sys/compat/linux/arch/i386/linux_exec_machdep.c
--- a/sys/compat/linux/arch/i386/linux_exec_machdep.c   Tue Mar 29 18:54:54 2011 +0000
+++ b/sys/compat/linux/arch/i386/linux_exec_machdep.c   Tue Mar 29 20:10:31 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_exec_machdep.c,v 1.16 2010/07/07 01:30:34 chs Exp $      */
+/*     $NetBSD: linux_exec_machdep.c,v 1.17 2011/03/29 20:10:31 plunky Exp $   */
 
 /*-
  * Copyright (c) 2004 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_exec_machdep.c,v 1.16 2010/07/07 01:30:34 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_exec_machdep.c,v 1.17 2011/03/29 20:10:31 plunky Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_vm86.h"
@@ -68,7 +68,7 @@
 #include <compat/linux/common/linux_hdio.h>
 #include <compat/linux/common/linux_exec.h>
 #include <compat/linux/common/linux_errno.h>
-#include <compat/linux//linux_syscallargs.h>
+#include <compat/linux/linux_syscallargs.h>
 
 int
 linux_exec_setup_stack(struct lwp *l, struct exec_package *epp)



Home | Main Index | Thread Index | Old Index