[hyena] Correct FIXME comment



commit 4fbc93a49c5fdaef6d545f55dc08cd7cbc17b713
Author: Gabriel Burt <gabriel burt gmail com>
Date:   Mon Mar 14 15:24:25 2011 -0500

    Correct FIXME comment

 Hyena/Hyena/Paths.cs |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/Hyena/Hyena/Paths.cs b/Hyena/Hyena/Paths.cs
index 69b619a..ba6e4f2 100644
--- a/Hyena/Hyena/Paths.cs
+++ b/Hyena/Hyena/Paths.cs
@@ -214,12 +214,11 @@ namespace Hyena
             get { return "/tmp/"; }
         }
 
-        // FIXME the behavior of calling this getter is very unexpected;
-        // it's not thread-safe and really shouldn't delete anything
         public static string TempDir {
             get {
                 string dir = Path.Combine (ApplicationCache, "temp");
 
+                // If this location exists, but as a file not a directory, delete it
                 if (File.Exists (dir)) {
                     File.Delete (dir);
                 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]