file_eraser.cpp: replace .$$$ with .del... its better for CIFS
authorghost <andreas.monzner@multimedia-labs.de>
Thu, 9 Apr 2009 16:56:36 +0000 (18:56 +0200)
committerghost <andreas.monzner@multimedia-labs.de>
Thu, 9 Apr 2009 16:56:55 +0000 (18:56 +0200)
lib/components/file_eraser.cpp

index 031c30dd6dc76b56088618617825d12078ea10d5..9f92fa443012c5dee57090f82c5433ca5e9e29d8 100644 (file)
@@ -52,7 +52,7 @@ void eBackgroundFileEraser::erase(const char *filename)
        if (filename)
        {
                char buf[255];
        if (filename)
        {
                char buf[255];
-               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