]> wimlib.net Git - wimlib/commitdiff
win32_apply.c: handle target directory more like other directories
authorEric Biggers <ebiggers3@gmail.com>
Sun, 15 Mar 2015 01:22:22 +0000 (20:22 -0500)
committerEric Biggers <ebiggers3@gmail.com>
Sun, 15 Mar 2015 01:41:29 +0000 (20:41 -0500)
If we don't send the target directory through the same code path as the
other directories, we can run into several inconsistencies such as empty
named data streams not being created and compression attributes not being
set or cleared.

We actually *can* send the target directory through create_directory() as
long as we don't ask for DELETE access (in case it's the current working
directory) or set its short name (since that doesn't make sense anyway).


No differences found