patch [#34103] path_util_cleanup_path.patch
authorCampbell Barton <ideasman42@gmail.com>
Sun, 10 Mar 2013 04:43:15 +0000 (04:43 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sun, 10 Mar 2013 04:43:15 +0000 (04:43 +0000)
commit14bbde04412c94c71104659b22652a59c39cdacb
tree2ade4a52cf1cefd8b2a34a7949be990be2b38c7a
parentcb994563509400dfcafecf4d5e7fa2e066f9e55b
patch [#34103] path_util_cleanup_path.patch
from Lawrence D'Oliveiro

Improve implementation of BLI_cleanup_path, including making it behave as documented.

"/../home/me" would become "home/me" rather then "/home/me"

Also remove redundant BLI_strncpy()
source/blender/blenlib/intern/path_util.c