mirror of
https://git.savannah.gnu.org/git/make.git
synced 2024-12-25 13:41:28 +00:00
* function.c (func_if): Check the first character of condition.
Reported by Rob W <robw9739@gmail.com>
This commit is contained in:
parent
193f1e81ed
commit
b9c25de370
1 changed files with 1 additions and 1 deletions
|
@ -1245,7 +1245,7 @@ func_if (char *o, char **argv, const char *funcname UNUSED)
|
|||
{
|
||||
char *expansion = expand_argument (begp, endp+1);
|
||||
|
||||
result = strlen (expansion);
|
||||
result = expansion[0] != '\0';
|
||||
free (expansion);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue