Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/make If a "long" modifier name does not match, goto ...
details: https://anonhg.NetBSD.org/src/rev/64330fb8adf1
branches: trunk
changeset: 764104:64330fb8adf1
user: sjg <sjg%NetBSD.org@localhost>
date: Mon Apr 11 14:49:09 2011 +0000
description:
If a "long" modifier name does not match, goto default case
so SysV modifier can be tried.
diffstat:
usr.bin/make/var.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diffs (53 lines):
diff -r 195aacddf4c9 -r 64330fb8adf1 usr.bin/make/var.c
--- a/usr.bin/make/var.c Mon Apr 11 14:00:02 2011 +0000
+++ b/usr.bin/make/var.c Mon Apr 11 14:49:09 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: var.c,v 1.164 2011/04/11 01:44:15 sjg Exp $ */
+/* $NetBSD: var.c,v 1.165 2011/04/11 14:49:09 sjg Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1993
@@ -69,14 +69,14 @@
*/
#ifndef MAKE_NATIVE
-static char rcsid[] = "$NetBSD: var.c,v 1.164 2011/04/11 01:44:15 sjg Exp $";
+static char rcsid[] = "$NetBSD: var.c,v 1.165 2011/04/11 14:49:09 sjg Exp $";
#else
#include <sys/cdefs.h>
#ifndef lint
#if 0
static char sccsid[] = "@(#)var.c 8.3 (Berkeley) 3/19/94";
#else
-__RCSID("$NetBSD: var.c,v 1.164 2011/04/11 01:44:15 sjg Exp $");
+__RCSID("$NetBSD: var.c,v 1.165 2011/04/11 14:49:09 sjg Exp $");
#endif
#endif /* not lint */
#endif
@@ -2922,7 +2922,7 @@
cp = tstr + 6;
termc = *cp;
} else {
- goto bad_modifier;
+ goto default_case;
}
break;
case 'h':
@@ -2932,7 +2932,7 @@
cp = tstr + 4;
termc = *cp;
} else {
- goto bad_modifier;
+ goto default_case;
}
break;
case 'l':
@@ -2942,7 +2942,7 @@
cp = tstr + 9;
termc = *cp;
} else {
- goto bad_modifier;
+ goto default_case;
}
break;
case 't':
Home |
Main Index |
Thread Index |
Old Index