Merge branch 'master' of feistymeow.org:feisty_meow
[feisty_meow.git] / nucleus / library / filesystem / heavy_file_ops.cpp
index d6ff4184da0c756df29a9f1e4df86e0f5b9d2f91..6f5b19db1832feffb4e815c3df9c05069745a541 100644 (file)
@@ -27,7 +27,7 @@ using namespace structures;
 
 namespace filesystem {
 
-//#define DEBUG_HEAVY_FILE_OPS
+#define DEBUG_HEAVY_FILE_OPS
   // uncomment for noisier debugging.
 
 #undef LOG
@@ -280,9 +280,8 @@ LOG(astring("skipping bad file: ") + full_file);
       continue;
     }
 
-    if ((last_action._byte_start + last_action._length >= current.length())
-        && current.length()) {
-//LOG(astring("finished handling file: ") + full_file);
+    if (last_action._byte_start + last_action._length >= current.length()) {
+LOG(astring("finished handling file: ") + full_file);
       // this file is done now.  go to the next one.
       if (!advance(to_transfer, last_action)) break;
       continue;