From 1ceaf1eee798187ff34b93b9f5bae67c3cc50e27 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Thu, 30 Jul 2015 08:22:41 -0400 Subject: [PATCH] Fix termux-elf-cleaner.cpp to not break after first removed section --- packages/termux-tools/termux-elf-cleaner.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/termux-tools/termux-elf-cleaner.cpp b/packages/termux-tools/termux-elf-cleaner.cpp index d232b0166..aff330006 100644 --- a/packages/termux-tools/termux-elf-cleaner.cpp +++ b/packages/termux-tools/termux-elf-cleaner.cpp @@ -72,7 +72,6 @@ bool process_elf(uint8_t* bytes, size_t elf_file_size) dynamic_section_entry->d_tag = DT_NULL; // Decrease j to process new entry index: std::swap(dynamic_section[j--], dynamic_section[last_nonnull_entry_idx--]); - break; } } }