]> git.wh0rd.org - fontconfig.git/commitdiff
FcStrCanonFileName buggy for mingw. (bug 8311)
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Sun, 17 Sep 2006 21:34:46 +0000 (14:34 -0700)
committerKeith Packard <keithp@neko.keithp.com>
Sun, 17 Sep 2006 21:34:46 +0000 (14:34 -0700)
FcStrCanonFileName checks whether s[0] == '/', and recurses if not.

This only works on POSIX. On dos, this crashes with a stack overflow.

The patch attached splits this functionality in two functions
(FcStrCanonAbsoluteFilename) and uses GetFullPathName on windows to get an
absolute path.  It also fixes a number of other issues. With this patch,
LilyPond actually produces output on Windows.


No differences found