varparse-dynamic.mk revision 1.1
11.1Srillig# $NetBSD: varparse-dynamic.mk,v 1.1 2020/07/26 22:15:36 rillig Exp $ 21.1Srillig 31.1Srillig# Before 2020-07-27, there was an off-by-one error in Var_Parse that skipped 41.1Srillig# the last character in the variable name. 51.1Srillig# To trigger the bug, the variable must not be defined. 61.1Srillig.if ${.TARGET} # exact match, may be undefined 71.1Srillig.endif 81.1Srillig.if ${.TARGEX} # 1 character difference, must be defined 91.1Srillig.endif 101.1Srillig.if ${.TARGXX} # 2 characters difference, must be defined 111.1Srillig.endif 121.1Srillig 131.1Srilligall: 141.1Srillig @: 15