]> git.ipfire.org Git - thirdparty/rsync.git/commit
Fix a few issues with make_path().
authorWayne Davison <wayned@samba.org>
Mon, 23 Dec 2013 18:27:24 +0000 (10:27 -0800)
committerWayne Davison <wayned@samba.org>
Mon, 23 Dec 2013 18:30:28 +0000 (10:30 -0800)
commit6df5d81ce2a0df0c83aae0a0f31e9703a50b271e
tree4108bd428bdc3eeb7fd1801f10dfab7d5d0c400a
parent0e3152febdaf5b14bb4d3597a5fc8256d61ce3f2
Fix a few issues with make_path().

The make_path() utility function was not returning the right status
when --dry-run was used, so I added some stat() checking that only
happens for -n.  I also noticed that the function was not handling
the case where the whole path needed to be created, so I fixed that.
Fixes bug 10209.
util.c