(trunk, libT) #4160 'foreign character support' -- merge mike.dld's 4160-02b-path.patch, which updates the codebase to use the new tr_sys_path_*() portability wrappers introduced in 4160-02a

This commit is contained in:
Jordan Lee
2014-07-08 00:08:43 +00:00
parent d7f4478679
commit 0323639e57
26 changed files with 235 additions and 386 deletions

View File

@@ -22,6 +22,7 @@
#include "transmission.h"
#include "completion.h"
#include "fdlimit.h"
#include "file.h"
#include "log.h"
#include "platform-quota.h" /* tr_device_info_get_free_space() */
#include "rpcimpl.h"
@@ -1556,7 +1557,7 @@ gotNewBlocklist (tr_session * session,
tr_snprintf (result, sizeof (result), "success");
}
tr_remove (filename);
tr_sys_path_remove (filename, NULL);
tr_free (filename);
tr_free (buf);
}