commit dd8da85eb4b359bce6b48eea430116692cf4e829
Author: Andrew Aldridge <i80and@foxquill.com>
Date: Sun Jan 15 11:56:52 2017 +0000
Fix copying special files in Tracker
diff --git a/src/kits/tracker/FSUtils.cpp b/src/kits/tracker/FSUtils.cpp
index f0c09a6..5399efc 100644
a
|
b
|
CopyFolder(BEntry* srcEntry, BDirectory* destDir,
|
1589 | 1589 | removeSource); |
1590 | 1590 | if (removeSource) |
1591 | 1591 | FSDeleteFolder(&entry, loopControl, true, true, false); |
1592 | | } else { |
| 1592 | } else if (S_ISREG(statbuf.st_mode) || S_ISLNK(statbuf.st_mode)) { |
1593 | 1593 | CopyFile(&entry, &statbuf, &newDir, loopControl, 0, false, undo); |
1594 | 1594 | if (removeSource) |
1595 | 1595 | entry.Remove(); |
| 1596 | } else { |
| 1597 | // Ignore special files |
1596 | 1598 | } |
1597 | 1599 | } |
1598 | 1600 | if (removeSource) |