Skip to content

Conversation

@Alter-1
Copy link
Owner

@Alter-1 Alter-1 commented Mar 21, 2019

CmpFullNames() didn't use ConvertNameToFull()
this caused CopyToSelf check to fail in case of copying files from current directory to itself, but with full path specification like this:
*.cpp -> /full/path/to/current/dir/
So it was possible to mistakenly truncate all copied files to 0
Proposed patch fixes this problem.

CmpFullNames() didn't use ConvertNameToFull() 
this caused CopyToSelf check to fail in case of copying files from current directory to itself, but with full path specification like this:
*.cpp  -> /full/path/to/current/dir/ 
So it was possible to mistakenly truncate all copied files to 0 
Proposed patch fixes this problem.
@Alter-1 Alter-1 closed this Mar 21, 2019
@Alter-1 Alter-1 reopened this Mar 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants