nightmaremail

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 1fabc9dcfa3e670875895d60fd5432318cb0e5ff
parent bb7ec78bf79e6ee69cd44ed3c8102b6ec66b9bc5
Author: Alan Post <adp@prgmr.com>
Date:   Sat, 20 Jul 2019 14:14:08 -0600

add missing mode argument to recursive mkdir_p.

I introduced this bug when I converted the DESTDIR patch to K&R
while simultaneously propogating the mode argument down from
hier.  I missed one calling site.

Fixes: 1dd7b07f688d0fa38353914d2a2c4d4393abd430

Diffstat:
Minstall.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/install.c b/install.c @@ -47,7 +47,7 @@ int mode; sl = str_rchr(home, '/'); if (!stralloc_copyb(&parent,home,sl)) die_nomem(); if (!stralloc_0(&parent)) die_nomem(); - r = mkdir_p(parent.s); + r = mkdir_p(parent.s,mode); alloc_free(parent.s); if (r && errno != error_exist) return r;