Enhancement

- Eliminated all unlink calls.
This commit is contained in:
Paul Beckingham 2010-01-16 10:35:18 -05:00
parent b596e96b43
commit 81acaa6ae0

View file

@ -34,6 +34,7 @@
#include <limits.h>
#include <string.h>
#include "Directory.h"
#include "File.h"
#include "Date.h"
#include "Duration.h"
#include "text.h"
@ -593,7 +594,7 @@ ARE_THESE_REALLY_HARMFUL:
std::cout << "No edits were detected." << std::endl;
// Cleanup.
unlink (file.str ().c_str ());
File::remove (file.str ());
}
////////////////////////////////////////////////////////////////////////////////