From 9df963c9cd69b499fef82fd91ef45fa4a4b86a6c Mon Sep 17 00:00:00 2001 From: Dees_Troy Date: Wed, 26 Sep 2012 08:58:12 -0400 Subject: Convert makelist to C++ --- partition.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'partition.cpp') diff --git a/partition.cpp b/partition.cpp index 3c82e2b5a..a9d50917f 100644 --- a/partition.cpp +++ b/partition.cpp @@ -38,10 +38,10 @@ #include "partitions.hpp" #include "data.hpp" #include "twrp-functions.hpp" +#include "makelist.hpp" extern "C" { #include "mtdutils/mtdutils.h" #include "mtdutils/mounts.h" - #include "makelist.h" #include "extra-functions.h" } @@ -103,6 +103,7 @@ bool TWPartition::Process_Fstab_Line(string Line, bool Display_Error) { } string mount_pt(full_line); Mount_Point = mount_pt; + LOGI("Processing '%s'\n", mount_pt); Backup_Path = Mount_Point; index = Mount_Point.size(); while (index < line_len) { @@ -1096,7 +1097,7 @@ bool TWPartition::Backup_Tar(string backup_folder) { // This backup needs to be split into multiple archives ui_print("Breaking backup file into multiple archives...\nGenerating file lists\n"); sprintf(back_name, "%s", Backup_Path.c_str()); - backup_count = make_file_list(back_name); + backup_count = MakeList::Make_File_List(back_name); if (backup_count < 1) { LOGE("Error generating file list!\n"); return false; -- cgit v1.2.3