From 9c754053b07a724bdd98d039f34899d6a49115b7 Mon Sep 17 00:00:00 2001 From: bigbiff bigbiff Date: Wed, 9 Jan 2013 09:09:08 -0500 Subject: Add libtar to TWRP instead of using busybox tar Add proper mkdosfs tool Add fuse to TWRP Add experimental exfat-fuse to TWRP Convert all system() functions to use new Exec_Cmd function --- data.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'data.cpp') diff --git a/data.cpp b/data.cpp index e7dafa1fe..75d689f0c 100644 --- a/data.cpp +++ b/data.cpp @@ -390,7 +390,6 @@ int DataManager::SetValue(const string varName, string value, int persist /* = 0 if (pos->second.second != 0) SaveValues(); - gui_notifyVarChange(varName.c_str(), value.c_str()); return 0; } @@ -842,8 +841,7 @@ void DataManager::Output_Version(void) { } Path += "/TWRP/.version"; if (TWFunc::Path_Exists(Path)) { - Command = "rm -f " + Path; - system(Command.c_str()); + unlink(Path.c_str()); } FILE *fp = fopen(Path.c_str(), "w"); if (fp == NULL) { -- cgit v1.2.3