Module Name: src Committed By: sjg Date: Mon Apr 11 14:49:09 UTC 2011
Modified Files: src/usr.bin/make: var.c Log Message: If a "long" modifier name does not match, goto default case so SysV modifier can be tried. To generate a diff of this commit: cvs rdiff -u -r1.164 -r1.165 src/usr.bin/make/var.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.bin/make/var.c diff -u src/usr.bin/make/var.c:1.164 src/usr.bin/make/var.c:1.165 --- src/usr.bin/make/var.c:1.164 Mon Apr 11 01:44:15 2011 +++ src/usr.bin/make/var.c Mon Apr 11 14:49:09 2011 @@ -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':