If a "long" modifier name does not match, goto default case
so SysV modifier can be tried.
This commit is contained in:
parent
aedf074cc2
commit
521f3749c8
@ -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
|
* Copyright (c) 1988, 1989, 1990, 1993
|
||||||
@ -69,14 +69,14 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef MAKE_NATIVE
|
#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
|
#else
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
#if 0
|
#if 0
|
||||||
static char sccsid[] = "@(#)var.c 8.3 (Berkeley) 3/19/94";
|
static char sccsid[] = "@(#)var.c 8.3 (Berkeley) 3/19/94";
|
||||||
#else
|
#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
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
#endif
|
#endif
|
||||||
@ -2922,7 +2922,7 @@ ApplyModifiers(char *nstr, const char *tstr,
|
|||||||
cp = tstr + 6;
|
cp = tstr + 6;
|
||||||
termc = *cp;
|
termc = *cp;
|
||||||
} else {
|
} else {
|
||||||
goto bad_modifier;
|
goto default_case;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'h':
|
case 'h':
|
||||||
@ -2932,7 +2932,7 @@ ApplyModifiers(char *nstr, const char *tstr,
|
|||||||
cp = tstr + 4;
|
cp = tstr + 4;
|
||||||
termc = *cp;
|
termc = *cp;
|
||||||
} else {
|
} else {
|
||||||
goto bad_modifier;
|
goto default_case;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'l':
|
case 'l':
|
||||||
@ -2942,7 +2942,7 @@ ApplyModifiers(char *nstr, const char *tstr,
|
|||||||
cp = tstr + 9;
|
cp = tstr + 9;
|
||||||
termc = *cp;
|
termc = *cp;
|
||||||
} else {
|
} else {
|
||||||
goto bad_modifier;
|
goto default_case;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 't':
|
case 't':
|
||||||
|
Loading…
Reference in New Issue
Block a user