Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
a subdirectory scan may "loose" files outside that subdirectory #15
Issue migrated (2015-06-05) from old issue tracker http://mirrorbrain.org/issues/issue19
msg44 (view) Author: poeml Date: 2009-10-30.12:11:52
The list of filenames that is grabbed at the beginning of a "subdirectory scan" ('mb scan -d DIR') is too broad. It uses a string prefix
(The deletion is supposed to happen only for the files that have disappeared in the given subdirectory; this is implemented by copying
The problem is here:
The LIKE expression needs be changed to '$start_dir/%'.
msg45 (view) Author: poeml Date: 2009-10-30.12:12:50
The fix is successfully tested in openSUSE's setup, where the bug was noticed
msg46 (view) Author: poeml Date: 2009-10-30.12:18:12
msg48 (view) Author: poeml Date: 2009-11-04.19:04:02
Fixed with the 2.10.2 release.
(end of migrated issue)