[PATCH] maildir: Create top level dir recursively

Nicolas Sebrecht nicolas.s-dev at laposte.net
Wed Jun 1 18:51:24 BST 2016


On Wed, Jun 01, 2016 at 06:25:27PM +0200, Łukasz Żarnowiecki wrote:

> This patch fixes the situation when "localfolders" specifies path that
> is more that one level deep and top directory does not exists.  Example
> would be "localfolders = ~/Mail/a".  This especially relevant on the
> first run.

<...>

> By replacing call to "mkdir" with "makedirs" we can simply create
> directories recursively.
> 
> Signed-off-by: Łukasz Żarnowiecki <dolohow at outlook.com>

Applied. Thank you!

-- 
Nicolas Sebrecht




More information about the OfflineIMAP-project mailing list