HomeFreeBSD

m4: import patch from OpenBSD

Description

m4: import patch from OpenBSD

by espie@
ifelse is special, fix argv parsing to avoid segfault

problem noticed by Matthew Green (netbsd), slightly different fix
so that argc counting makes more sense.

we might want to warn on wrong number of parameters later, but this is
somewhat inconsistent depending on the builtin right now.

okay millert@

Obtained from: OpenBSD

Details

Provenance
baptAuthored on
Parents
rS352067: m4: import patch from OpenBSD
Branches
Unknown
Tags
Unknown