lib: Use directory_create_or_exist in xx_path
authorVolker Lendecke <vl@samba.org>
Sun, 13 Dec 2015 14:27:15 +0000 (15:27 +0100)
committerJeremy Allison <jra@samba.org>
Mon, 14 Dec 2015 19:23:13 +0000 (20:23 +0100)
commitc281573399584228e2a1b567a5507f459c94f6ad
treeb3b0d7bb18c65c5f16ad45862877160a8da05ca7
parentd547d030e0e3a9fb250f9d185f6a304064ab716b
lib: Use directory_create_or_exist in xx_path

directory_create_or_exist is a little different: It does the lstat first and
sets the umask properly, but I think this is more correct than the xx_path()
version before.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/lib/util.c