summaryrefslogtreecommitdiff
path: root/usr.bin/make/gnode.h
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2008-01-29 22:23:11 +0000
committerMarc Espie <espie@cvs.openbsd.org>2008-01-29 22:23:11 +0000
commit86cd533ac58398837895c92042102f4ffdeeaafe (patch)
tree96db9fa0407ac8932ac7595c9d8d7e1cbccab68b /usr.bin/make/gnode.h
parentc53044596d693602d2e0fe7be428bfa014289fe8 (diff)
A few changes:
- expand commands earlier, so that we can eventually scan them to take smarter decisions. - clean up the select() mask code and rename variables to sensible things. - quite a few minor renames for readability - erecalloc - clean up wait status handling, do not try to rebuild wait status, but instead parse it early and deal with the parsed code. tested by lots of people, thanks guys!
Diffstat (limited to 'usr.bin/make/gnode.h')
-rw-r--r--usr.bin/make/gnode.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/make/gnode.h b/usr.bin/make/gnode.h
index 8eeccfa4312..122963b8e39 100644
--- a/usr.bin/make/gnode.h
+++ b/usr.bin/make/gnode.h
@@ -1,7 +1,7 @@
#ifndef GNODE_H
#define GNODE_H
/* $OpenPackages$ */
-/* $OpenBSD: gnode.h,v 1.12 2007/12/10 17:44:06 espie Exp $ */
+/* $OpenBSD: gnode.h,v 1.13 2008/01/29 22:23:10 espie Exp $ */
/*
* Copyright (c) 2001 Marc Espie.
@@ -130,6 +130,7 @@ struct GNode_ {
unsigned long lineno;/* First line number of commands. */
const char *fname; /* File name of commands. */
LIST commands; /* Creation commands */
+ LIST expanded; /* Expanded commands */
struct Suff_ *suffix;/* Suffix for the node (determined by
* Suff_FindDeps and opaque to everyone
* but the Suff module) */