]> git.wh0rd.org - fontconfig.git/commit
Eliminate ./ and ../ elements from font directory names when scanning.
authorKeith Packard <keithp@neko.keithp.com>
Mon, 28 Aug 2006 06:40:51 +0000 (23:40 -0700)
committerKeith Packard <keithp@neko.keithp.com>
Mon, 28 Aug 2006 06:40:51 +0000 (23:40 -0700)
commit0d9e31c810a36cddadff7572fdbb5a1b505e495e
treef4982910d4baed6f88e71573bce2d95b4bc2219b
parentaf180c40376690b7ced5262156fbe13c9ebba1e2
Eliminate ./ and ../ elements from font directory names when scanning.

FcStrCanonFilename eliminates ./ and ../ elements from pathnames through
simple string editing. Also, relative path names are fixed by prepending the
current working directory.
src/fcdir.c
src/fcint.h
src/fcstr.c