diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-02-12 13:37:37 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-02-12 13:37:37 +0300 |
commit | 6e47ffcc0d076596429b49cb283757b1952f7b86 (patch) | |
tree | 872af5ab61a270cc32e4696dc678cad7e514d34c /source/blender/blenlib/BLI_storage.h | |
parent | 9e9e028f059f29d493dc020dda965a9bea8ffd6b (diff) |
fix for uninitialized value in BLI_path_cwd() if PWD wasn't defined and the CWD was longer then 160.
Diffstat (limited to 'source/blender/blenlib/BLI_storage.h')
-rw-r--r-- | source/blender/blenlib/BLI_storage.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/BLI_storage.h b/source/blender/blenlib/BLI_storage.h index 0996b19a854..702112f5fec 100644 --- a/source/blender/blenlib/BLI_storage.h +++ b/source/blender/blenlib/BLI_storage.h @@ -44,7 +44,7 @@ int BLI_compare(struct direntry *entry1, struct direntry *entry2); size_t BLI_filesize(int file); size_t BLI_filepathsize(const char *path); double BLI_diskfree(const char *dir); -char *BLI_getwdN(const char *dir); +char *BLI_getwdN(char *dir, const int maxncpy); unsigned int BLI_getdir(const char *dirname, struct direntry **filelist); /** |