Skip to content

SystemTools: do not special case a junction in RemoveFile

Jon Chronopoulos requested to merge crondog/kwsys:fix-removing-junction into master

The fix in !77 (merged) made the infastructure added by commit de83c4d4 unnecessary. Remove it.

Before this commit, when a file on Windows was deleted, it would check if a file is a junction and then delete just the junction.

Now just skip the special case of a junction and allow the rest of the code to delete it correctly. Can handle symlinks and junctions.

Topic-rename: SystemTools-fix-removing-junction

Edited by Brad King

Merge request reports