From 9a708202ac4fd50ce8f032117fe8983ad8cab692 Mon Sep 17 00:00:00 2001 From: Rene Gollent Date: Sat, 15 May 2010 02:05:45 +0000 Subject: [PATCH] FSCreateTrashDirs mustn't create the directories itself. This breaks the logic in FSGetTrashDir that creates/applies attributes if needed. This most likely explains Axel's random problems with trash directories being visible, since this would cause a fresh Haiku install's /boot/trash to never be marked invisible as it should be. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36816 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/tracker/FSUtils.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/kits/tracker/FSUtils.cpp b/src/kits/tracker/FSUtils.cpp index 1fc569d8e2..52de55c02c 100644 --- a/src/kits/tracker/FSUtils.cpp +++ b/src/kits/tracker/FSUtils.cpp @@ -2888,9 +2888,6 @@ FSCreateTrashDirs() if (volume.IsReadOnly() || !volume.IsPersistent()) continue; - BPath path; - find_directory(B_TRASH_DIRECTORY, &path, true, &volume); - BDirectory trashDir; FSGetTrashDir(&trashDir, volume.Device()); }