Blender Git Commit Log
Git Commits -> Revision d7b9202
Revision d7b9202 by Bastien Montagne (master) July 14, 2015, 16:57 (GMT) |
BLI_path_utils: fix/enhance BLI_filename_make_safe(), add BLI_path_make_safe(). BLI_filename_make_safe had several issues: * Would replace all dots ('.'), not a great idea since it would break extensions. * Was not checking for 'control' ASCII chars (though unlikely, better to be safe here). * Win32 only: was not checking for forbidden names (con, aux, ltp0, com0, etc.). New BLI_path_make_safe() simply checks each path's item with BLI_filename_make_safe(). |
Commit Details:
Full Hash: d7b9202567199cb769305d4037eefbba71dda3f9
Parent Commit: d0c5eac
Lines Changed: +120, -5