Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/make we need utsname all the time.
details: https://anonhg.NetBSD.org/src/rev/0633e11495fe
branches: trunk
changeset: 784974:0633e11495fe
user: christos <christos%NetBSD.org@localhost>
date: Sat Feb 16 02:39:27 2013 +0000
description:
we need utsname all the time.
diffstat:
usr.bin/make/main.c | 10 +++-------
1 files changed, 3 insertions(+), 7 deletions(-)
diffs (47 lines):
diff -r 164956eafd94 -r 0633e11495fe usr.bin/make/main.c
--- a/usr.bin/make/main.c Sat Feb 16 02:11:11 2013 +0000
+++ b/usr.bin/make/main.c Sat Feb 16 02:39:27 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: main.c,v 1.206 2013/02/16 02:11:11 christos Exp $ */
+/* $NetBSD: main.c,v 1.207 2013/02/16 02:39:27 christos Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1993
@@ -69,7 +69,7 @@
*/
#ifndef MAKE_NATIVE
-static char rcsid[] = "$NetBSD: main.c,v 1.206 2013/02/16 02:11:11 christos Exp $";
+static char rcsid[] = "$NetBSD: main.c,v 1.207 2013/02/16 02:39:27 christos Exp $";
#else
#include <sys/cdefs.h>
#ifndef lint
@@ -81,7 +81,7 @@
#if 0
static char sccsid[] = "@(#)main.c 8.3 (Berkeley) 3/19/94";
#else
-__RCSID("$NetBSD: main.c,v 1.206 2013/02/16 02:11:11 christos Exp $");
+__RCSID("$NetBSD: main.c,v 1.207 2013/02/16 02:39:27 christos Exp $");
#endif
#endif /* not lint */
#endif
@@ -119,9 +119,7 @@
#include <sys/resource.h>
#include <sys/signal.h>
#include <sys/stat.h>
-#ifdef MAKE_NATIVE
#include <sys/utsname.h>
-#endif
#include <sys/wait.h>
#include <errno.h>
@@ -782,9 +780,7 @@
static char defsyspath[] = _PATH_DEFSYSPATH;
char found_path[MAXPATHLEN + 1]; /* for searching for sys.mk */
struct timeval rightnow; /* to initialize random seed */
-#ifdef MAKE_NATIVE
struct utsname utsname;
-#endif
/* default to writing debug to stderr */
debug_file = stderr;
Home |
Main Index |
Thread Index |
Old Index