Skip to content

Deal with glob string properly

Akira TAGOH requested to merge tagoh/fontconfig:issues/442 into main

This is a regression of da1e3f35

FcStrCopyFilename canonicalize a glob string though, the above change expected to expand ~ character only to replace it with a home directory. However this also had a side-effect; adding a current directory name if no home nor absolute path name in a glob string.

This isn't expected behavior here. So dropping it if there are, otherwise use it as it is.

Fixes #442 (closed)

Merge request reports

Loading