compat.c (236769) | compat.c (237578) |
---|---|
1/* $NetBSD: compat.c,v 1.88 2012/06/05 17:31:04 sjg Exp $ */ | 1/* $NetBSD: compat.c,v 1.89 2012/06/10 21:44:01 wiz Exp $ */ |
2 3/* 4 * Copyright (c) 1988, 1989, 1990 The Regents of the University of California. 5 * All rights reserved. 6 * 7 * This code is derived from software contributed to Berkeley by 8 * Adam de Boor. 9 * --- 55 unchanged lines hidden (view full) --- 65 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 66 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 67 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 68 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 69 * SUCH DAMAGE. 70 */ 71 72#ifndef MAKE_NATIVE | 2 3/* 4 * Copyright (c) 1988, 1989, 1990 The Regents of the University of California. 5 * All rights reserved. 6 * 7 * This code is derived from software contributed to Berkeley by 8 * Adam de Boor. 9 * --- 55 unchanged lines hidden (view full) --- 65 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 66 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 67 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 68 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 69 * SUCH DAMAGE. 70 */ 71 72#ifndef MAKE_NATIVE |
73static char rcsid[] = "$NetBSD: compat.c,v 1.88 2012/06/05 17:31:04 sjg Exp $"; | 73static char rcsid[] = "$NetBSD: compat.c,v 1.89 2012/06/10 21:44:01 wiz Exp $"; |
74#else 75#include <sys/cdefs.h> 76#ifndef lint 77#if 0 78static char sccsid[] = "@(#)compat.c 8.2 (Berkeley) 3/19/94"; 79#else | 74#else 75#include <sys/cdefs.h> 76#ifndef lint 77#if 0 78static char sccsid[] = "@(#)compat.c 8.2 (Berkeley) 3/19/94"; 79#else |
80__RCSID("$NetBSD: compat.c,v 1.88 2012/06/05 17:31:04 sjg Exp $"); | 80__RCSID("$NetBSD: compat.c,v 1.89 2012/06/10 21:44:01 wiz Exp $"); |
81#endif 82#endif /* not lint */ 83#endif 84 85/*- 86 * compat.c -- 87 * The routines in this file implement the full-compatibility 88 * mode of PMake. Most of the special functionality of PMake --- 30 unchanged lines hidden (view full) --- 119 * contains any of these characters, it is executed by the shell, not 120 * directly by us. 121 */ 122 123static char meta[256]; 124 125static GNode *curTarg = NULL; 126static GNode *ENDNode; | 81#endif 82#endif /* not lint */ 83#endif 84 85/*- 86 * compat.c -- 87 * The routines in this file implement the full-compatibility 88 * mode of PMake. Most of the special functionality of PMake --- 30 unchanged lines hidden (view full) --- 119 * contains any of these characters, it is executed by the shell, not 120 * directly by us. 121 */ 122 123static char meta[256]; 124 125static GNode *curTarg = NULL; 126static GNode *ENDNode; |
127static void CompatInterrupt(int) __dead; | 127static void CompatInterrupt(int); |
128 129static void 130Compat_Init(void) 131{ 132 const char *cp; 133 134 Shell_Init(); /* setup default shell */ 135 --- 629 unchanged lines hidden --- | 128 129static void 130Compat_Init(void) 131{ 132 const char *cp; 133 134 Shell_Init(); /* setup default shell */ 135 --- 629 unchanged lines hidden --- |