From 648e0cf3d5a53efeab93b24ae37490427d05229d Mon Sep 17 00:00:00 2001 From: Akira TAGOH Date: Tue, 6 Nov 2018 16:33:03 +0900 Subject: [PATCH] Use FC_PATH_MAX instead of PATH_MAX Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/131 --- src/fccfg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fccfg.c b/src/fccfg.c index 4a53581..890991f 100644 --- a/src/fccfg.c +++ b/src/fccfg.c @@ -2233,7 +2233,7 @@ FcConfigRealFilename (FcConfig *config, if (n) { - FcChar8 buf[PATH_MAX]; + FcChar8 buf[FC_PATH_MAX]; ssize_t len; if (sysroot)