Fix crash on two-word expressions
ci/woodpecker/push/woodpecker Pipeline was successful
Details
ci/woodpecker/push/woodpecker Pipeline was successful
Details
parent
b2f8386c32
commit
5825e2c6d6
|
@ -1405,6 +1405,15 @@ cleanup3:
|
||||||
pkgconf_queue_push(&pkgq, package);
|
pkgconf_queue_push(&pkgq, package);
|
||||||
pkg_optind++;
|
pkg_optind++;
|
||||||
}
|
}
|
||||||
|
else if (argv[pkg_optind + 2] == NULL)
|
||||||
|
{
|
||||||
|
char packagebuf[PKGCONF_BUFSIZE];
|
||||||
|
|
||||||
|
snprintf(packagebuf, sizeof packagebuf, "%s %s", package, argv[pkg_optind + 1]);
|
||||||
|
pkg_optind += 2;
|
||||||
|
|
||||||
|
pkgconf_queue_push(&pkgq, packagebuf);
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
char packagebuf[PKGCONF_BUFSIZE];
|
char packagebuf[PKGCONF_BUFSIZE];
|
||||||
|
|
Loading…
Reference in New Issue