patch [#34103] dir_contents.patch
authorCampbell Barton <ideasman42@gmail.com>
Tue, 5 Mar 2013 03:44:47 +0000 (03:44 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 5 Mar 2013 03:44:47 +0000 (03:44 +0000)
commit1a9cde8b998fc79c58caefae83dad8493c213aee
tree6fd81a4570f37b764f87ce3c9f8e121b5013a083
parentf44b54d2a7866033025bd4e99992a72e3a27c428
patch [#34103] dir_contents.patch
from Lawrence D'Oliveiro (ldo)

- storage.c: Simplify BLI_dir_contents and make it and its internal subsidiary routines reentrant
- Moved common code for disposal of a struct direntry to new routine BLI_free_filelist in storage.c, and put calls to it in interface_icons.c and filelist.c
- Took out inclusion of BLI_fileops_types.h from BLI_fileops.h and put it explicitly into .c files that need it (which turned out to be only 7 of the 35 files that were including the former)
source/blender/blenkernel/BKE_node.h
source/blender/blenlib/BLI_fileops.h
source/blender/blenlib/intern/storage.c
source/blender/editors/interface/interface_icons.c
source/blender/editors/space_file/file_draw.c
source/blender/editors/space_file/file_ops.c
source/blender/editors/space_file/filelist.c
source/blender/editors/space_file/filesel.c
source/blender/editors/space_file/space_file.c