if (rename(filename, buf)<0)
;/*perror("rename file failed !!!");*/
else
{
messages.send(Message(Message::erase, strdup(buf)));
if (rename(filename, buf)<0)
;/*perror("rename file failed !!!");*/
else
{
messages.send(Message(Message::erase, strdup(buf)));