int chars = snprintf(NULL, 0, "%s/%s", home_dir, &value);
_include_path = malloc(chars + 1);
snprintf(_include_path, chars + 1, "%s/%s", home_dir, &value);
I think the above 3 lines could be simplified to:
_include_path = xasprintf("%s/%s", home_dir, value + 2);
It can! (fixed)
Tested and LGTM.
No due date set.
This pull request currently doesn't have any dependencies.
Deleting a branch is permanent. It CANNOT be undone. Continue?