[sword-svn] r2643 - trunk/src/mgr

scribe at crosswire.org scribe at crosswire.org
Mon Jul 18 04:23:26 MST 2011


Author: scribe
Date: 2011-07-18 04:23:26 -0700 (Mon, 18 Jul 2011)
New Revision: 2643

Modified:
   trunk/src/mgr/filemgr.cpp
Log:
Qualifying local static method and trying to debug why remove is not removing!

Modified: trunk/src/mgr/filemgr.cpp
===================================================================
--- trunk/src/mgr/filemgr.cpp	2011-07-13 23:57:41 UTC (rev 2642)
+++ trunk/src/mgr/filemgr.cpp	2011-07-18 11:23:26 UTC (rev 2643)
@@ -540,12 +540,15 @@
 					FileMgr::removeFile(targetPath.c_str());
 				}
 				else {
-					removeDir(targetPath.c_str());
+					FileMgr::removeDir(targetPath.c_str());
 				}
 			}
 		}
 		closedir(dir);
-		removeFile(targetDir);
+		int status = FileMgr::removeFile(targetDir);
+          int stuff = errno;
+          char *err = strerror(errno);
+          int x = stuff;
 	}
 	return 0;
 }




More information about the sword-cvs mailing list