mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 09:21:09 +02:00
moviebrowser.cpp:fix delete file
Origin commit data
------------------
Branch: ni/coolstream
Commit: 6248f11807
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-05-03 (Thu, 03 May 2012)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -2575,7 +2575,7 @@ bool CMovieBrowser::delFile_std(CFile& file)
|
|||||||
{
|
{
|
||||||
bool result = true;
|
bool result = true;
|
||||||
char buf[FILENAME_MAX]={0};
|
char buf[FILENAME_MAX]={0};
|
||||||
snprintf(buf,sizeof(buf), "nice -n 20 rm -f %s &", file.Name.c_str());
|
snprintf(buf,sizeof(buf), "nice -n 20 rm -f \"%s\" &", file.Name.c_str());
|
||||||
system(buf);
|
system(buf);
|
||||||
TRACE(" delete file: %s\r\n",file.Name.c_str());
|
TRACE(" delete file: %s\r\n",file.Name.c_str());
|
||||||
return(result);
|
return(result);
|
||||||
|
Reference in New Issue
Block a user