-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Labels
bughacktoberfestIssues proposed to Hacktoberfest participantsIssues proposed to Hacktoberfest participants
Description
Removing a folder with some files directly in it works, it doesn't if these files are in a subfolder. Then it misses the first file. For example, if you have this:
Folder/Subfolder/01.mp3
Folder/Subfolder/02.mp3
Folder/Subfolder/03.mp3
If you delete 'Folder', only 02.mp3 and 03, mp3 are deleted and Folder/Subfolder/01.mp3 remains.
I tracked it down a bit, but I'm too lame to find the fix...
It seems the pathList at https://github.com/HaikuArchives/FtpPositive/blob/master/src/FTPLooper.cpp#L733 that gets created in ListRDirList() (and maybe also RecurseDirList() ?) is missing the entries for the first file (or files, depending on the level of subdirs, I suppose).
Metadata
Metadata
Assignees
Labels
bughacktoberfestIssues proposed to Hacktoberfest participantsIssues proposed to Hacktoberfest participants