[Fontconfig] fontconfig: Branch 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Nov 6 08:33:24 UTC 2018


 src/fccfg.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 648e0cf3d5a53efeab93b24ae37490427d05229d
Author: Akira TAGOH <akira at tagoh.org>
Date:   Tue Nov 6 16:33:03 2018 +0900

    Use FC_PATH_MAX instead of PATH_MAX
    
    Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/131

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)


More information about the Fontconfig mailing list