aboutsummaryrefslogtreecommitdiff
path: root/libpkgconf/tuple.c
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-10-13 02:57:39 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-10-13 13:54:55 +0300
commitd227a477fd9f81b409298e4981b419430695c402 (patch)
tree1909099ec295a48c0792175f5d5b8a512c6b5c33 /libpkgconf/tuple.c
parent5960413288fc10cda818258d0035b5faa4afc1e9 (diff)
Relax thread stack size requirements
Diffstat (limited to 'libpkgconf/tuple.c')
-rw-r--r--libpkgconf/tuple.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libpkgconf/tuple.c b/libpkgconf/tuple.c
index b0cda45..ae5fe55 100644
--- a/libpkgconf/tuple.c
+++ b/libpkgconf/tuple.c
@@ -231,7 +231,7 @@ pkgconf_tuple_parse(const pkgconf_client_t *client, pkgconf_list_t *vars, const
*bptr++ = *ptr;
else if (*(ptr + 1) == '{')
{
- char varname[PKGCONF_BUFSIZE];
+ char varname[PKGCONF_SBUFSIZE];
char *vptr = varname;
const char *pptr;
char *kv, *parsekv;
@@ -295,7 +295,7 @@ pkgconf_tuple_parse(const pkgconf_client_t *client, pkgconf_list_t *vars, const
strlen(buf) > strlen(client->sysroot_dir) &&
strstr(buf + strlen(client->sysroot_dir), client->sysroot_dir) != NULL)
{
- char cleanpath[PKGCONF_BUFSIZE];
+ char cleanpath[PKGCONF_SBUFSIZE];
pkgconf_strlcpy(cleanpath, buf + strlen(client->sysroot_dir), sizeof cleanpath);
pkgconf_path_relocate(cleanpath, sizeof cleanpath);