]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/edsp/edspsystem.cc
debian/control: Set Standards-Version to 3.9.7
[apt.git] / apt-pkg / edsp / edspsystem.cc
index 4c16f76d2f8c53cd10a3f77af574e50a5931d553..0d967863ef86cc6b198a2a685ef5ced99f2df988 100644 (file)
@@ -20,6 +20,7 @@
 #include <apt-pkg/fileutl.h>
 
 #include <stddef.h>
+#include <stdlib.h>
 #include <unistd.h>
 
 #include <string>
@@ -57,8 +58,8 @@ public:
       if (tempDir.empty())
         return;
 
-      unlink(tempStatesFile.c_str());
-      unlink(tempPrefsFile.c_str());
+      RemoveFile("DeInitialize", tempStatesFile);
+      RemoveFile("DeInitialize", tempPrefsFile);
       rmdir(tempDir.c_str());
    }