patch [#34103]
authorCampbell Barton <ideasman42@gmail.com>
Tue, 5 Mar 2013 03:17:46 +0000 (03:17 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 5 Mar 2013 03:17:46 +0000 (03:17 +0000)
commitf44b54d2a7866033025bd4e99992a72e3a27c428
treee8c15aac4a82b206adf2d551fcc626592f23cd64
parent47c1570e6839e3684bfe4b0c78a3404e5bb72184
patch [#34103]
from Lawrence D'Oliveiro (ldo)

More use of bool type, necessitating adding inclusion of BLI_utildefines.h, or moving it up in the inclusion order if it was already included, in various places
- storage.c: make some variables only used in bli_builddir local to that
- storage.c: BLI_file_descriptor_size should allow 0 as a valid file descriptor
- path_util.c: make pointers to non-reentrant storage returned from folder routines const, necessitating making variables holding these returned pointers const elsewhere as well
- path_util.c: BLI_string_to_utf8 closes iconv context in case of conversion error
-  blf_lang.c: fill_locales routine now has its own "languages" local variable to construct paths (was stealing internal storage belonging to BLI_get_folder before)
25 files changed:
source/blender/blenfont/intern/blf_dir.c
source/blender/blenfont/intern/blf_lang.c
source/blender/blenfont/intern/blf_translation.c
source/blender/blenkernel/intern/customdata_file.c
source/blender/blenkernel/intern/tracking.c
source/blender/blenlib/BLI_fileops.h
source/blender/blenlib/BLI_path_util.h
source/blender/blenlib/BLI_utildefines.h
source/blender/blenlib/intern/path_util.c
source/blender/blenlib/intern/storage.c
source/blender/editors/render/render_preview.c
source/blender/editors/space_file/filesel.c
source/blender/editors/space_file/space_file.c
source/blender/imbuf/intern/bmp.c
source/blender/imbuf/intern/iris.c
source/blender/imbuf/intern/jpeg.c
source/blender/imbuf/intern/png.c
source/blender/imbuf/intern/radiance_hdr.c
source/blender/imbuf/intern/targa.c
source/blender/python/intern/bpy.c
source/blender/render/intern/source/render_result.c
source/blender/windowmanager/intern/wm_files.c
source/blender/windowmanager/intern/wm_operators.c
source/blender/windowmanager/intern/wm_playanim.c
source/gameengine/Ketsji/KX_PythonInit.cpp