[PATCH 06/11] cli/insert: use a single recursive mkdir function

2014-09-22 Thread Jani Nikula
Combine make_directory() and make_directory_and_parents() into a single recursive mkdir_recursive() function. Clarify the code and improve error handling. Improve error messages. Switch to using the new function in maildir_create_folder(). Constify talloc context. --- notmuch-insert.c | 131

[PATCH 06/11] cli/insert: use a single recursive mkdir function

2014-09-22 Thread Jani Nikula
Combine make_directory() and make_directory_and_parents() into a single recursive mkdir_recursive() function. Clarify the code and improve error handling. Improve error messages. Switch to using the new function in maildir_create_folder(). Constify talloc context. --- notmuch-insert.c | 131