Cache file with no loaders generated on Windows by gdk-pixbuf-query-loaders if MODULEDIR path contains non-Latin characters
When the path of gdk-pixbuf
on Windows contains non-Latin characters (in this case cyrillic letters), running gdk-pixbuf-query-loaders.exe
will succeed in generating a loaders.cache
file, except it will not contain any loader and only the starting header. Looking at the code, presumably the moduledir cannot be read, therefore not finding any modules (in this setup, the module dir is also a path with cyrillic letters set using the GDK_PIXBUF_MODULEDIR
variable, the directory structure is much like the msys2/mingw build).
It should be reproduced by putting gdk-pixbuf in a directory path containing cyrillic characters, particular the module dir, and then setting GDK_PIXBUF_MODULEDIR
to that directory before running gdk-pixbuf-query-loaders.exe
. it should generate an almost empty loaders.cache
file in the usual path.
Version: gdk-pixbuf v2.38.2
OS: Windows 10 64-bit