Patches for #28943 (Support for XDG Base Directory Specification)
Closed, ArchivedPublic

Description

Attached

Details

Type
Patch

Link to the bugreport:

http://projects.blender.org/tracker/index.php?func=detail&aid=28943&group_id=9&atid=498

Attached an updated patch, apart from some formatting edits, there are some small functional changes.
- Getting the directory looks like it was allocating memory with strdup and never freeing it, as well as writing past the allocated bounds, now use a static string.
- CMake option is only available with unix (not apple)

attached: blender_add_xdg_base_directory_support__ideasman42.patch

committed r41478. thanks for the patch.

Will need to add a function to copy previous settings before enabling by default.

Add Comment