mirror of
https://github.com/facebook/zstd
synced 2026-08-22 22:32:07 -04:00
Remove Erroneous Exclusion of Hidden Files and Folders in --output-dir-mirror
This commit is contained in:
parent
2215101cad
commit
86b8e39a84
1 changed files with 0 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue