aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorW. Felix Handte <w@felixhandte.com>2024-03-13 16:33:30 -0400
committerW. Felix Handte <w@felixhandte.com>2024-03-13 16:33:30 -0400
commit86b8e39a84d15ebcae3fa4b36240db27f2ae74ac (patch)
tree5d0a1b1fd48942797ef10cc0ec89abcff461100e
parent2215101cad9d809e345e2e939fa1e125563d25cf (diff)
downloadzstd-86b8e39a84d15ebcae3fa4b36240db27f2ae74ac.tar.gz
Remove Erroneous Exclusion of Hidden Files and Folders in `--output-dir-mirror`
-rw-r--r--programs/util.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/programs/util.c b/programs/util.c
index 862fc800..d6f33d4a 100644
--- a/programs/util.c
+++ b/programs/util.c
@@ -1119,9 +1119,6 @@ static char* mallocAndJoin2Dir(const char *dir1, const char *dir2)
memcpy(outDirBuffer, dir1, dir1Size);
outDirBuffer[dir1Size] = '\0';
- if (dir2[0] == '.')
- return outDirBuffer;
-
buffer = outDirBuffer + dir1Size;
if (dir1Size > 0 && *(buffer - 1) != PATH_SEP) {
*buffer = PATH_SEP;