From 40d4dfaba84fe0d5048cc847d5d249a35314b8ed Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Tue, 25 Jun 2013 14:48:30 +0000 Subject: Fix #35824: finding missing files not working correct for filepaths with special characters on Windows. Replaced some uses of stat() by BLI_stat() to properly handle such filepaths. --- source/blender/blenlib/intern/fileops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/blenlib/intern/fileops.c') diff --git a/source/blender/blenlib/intern/fileops.c b/source/blender/blenlib/intern/fileops.c index d4a8b800f17..26fe0f21cd5 100644 --- a/source/blender/blenlib/intern/fileops.c +++ b/source/blender/blenlib/intern/fileops.c @@ -251,7 +251,7 @@ void *BLI_gzopen(const char *filename, const char *mode) fclose(ufopen(filename, "a")); /* temporary #if until we update all libraries to 1.2.7 - * for correct wide char path handling */ + * for correct wide char path handling */ #if ZLIB_VERNUM >= 0x1270 && !defined(FREE_WINDOWS) UTF16_ENCODE(filename); -- cgit v1.2.3