#include <lib/base/eerror.h>
#include <lib/base/init.h>
#include <lib/base/init_num.h>
#include <lib/base/eerror.h>
#include <lib/base/init.h>
#include <lib/base/init_num.h>
eBackgroundFileEraser *eBackgroundFileEraser::instance;
eBackgroundFileEraser::eBackgroundFileEraser()
eBackgroundFileEraser *eBackgroundFileEraser::instance;
eBackgroundFileEraser::eBackgroundFileEraser()
- snprintf(buf, 255, "%s.$$$", filename);
+ snprintf(buf, 255, "%s.del", filename);
if (rename(filename, buf)<0)
;/*perror("rename file failed !!!");*/
else
if (rename(filename, buf)<0)
;/*perror("rename file failed !!!");*/
else
eDebug("file %s erased", msg.filename);
free((char*)msg.filename);
}
eDebug("file %s erased", msg.filename);
free((char*)msg.filename);
}