Blender Git Commit Log

Git Commits -> Revision a5e6311

Revision a5e6311 by Campbell Barton (master)
October 8, 2015, 04:05 (GMT)
BLI_path api, minor changes to CWD handling

- BLI_current_working_dir's return value must be checked, since it may fail.
- BLI_current_working_dir now behaves like getcwd, where a too-small target will return failure.
- avoid buffer overrun with BLI_path_cwd, by taking a maxlen arg.

Commit Details:

Full Hash: a5e631171bdcdb12f508528f391d3916014e23e8
Parent Commit: e47177e
Lines Changed: +23, -34

8 Modified Paths:

/source/blender/blenkernel/intern/appdir.c (+1, -9) (Diff)
/source/blender/blenlib/BLI_fileops.h (+1, -1) (Diff)
/source/blender/blenlib/BLI_path_util.h (+1, -1) (Diff)
/source/blender/blenlib/intern/path_util.c (+8, -17) (Diff)
/source/blender/blenlib/intern/storage.c (+8, -2) (Diff)
/source/blender/python/intern/bpy_interface.c (+1, -1) (Diff)
/source/creator/creator.c (+2, -2) (Diff)
/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021