From fec09a82a82c55ef19723940d96cb15e15fc4ed2 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Fri, 30 Dec 2016 14:11:05 -0800 Subject: [PATCH] Provide more guarantees against merge catastrophe. --- MobileCydia.mm | 5 +++-- apt | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/MobileCydia.mm b/MobileCydia.mm index ce79ef78..32c02441 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -3869,7 +3869,7 @@ class CydiaLogCleaner : opened = cache_.Open(progress, false); _end if (!opened) { - // XXX: what if there are errors, but Open() == true? this should be merged with popError: + // XXX: this block should probably be merged with popError: in some way while (!_error->empty()) { std::string error; bool warning(!_error->PopMessage(error)); @@ -3897,7 +3897,8 @@ class CydiaLogCleaner : } return; - } + } else if ([self popErrorWithTitle:title forOperation:true]) + return; _trace(); unlink("/tmp/cydia.chk"); diff --git a/apt b/apt index 9fe917c7..d52f68c8 160000 --- a/apt +++ b/apt @@ -1 +1 @@ -Subproject commit 9fe917c7ea24a626c97fcd9cda39743440a4cbfc +Subproject commit d52f68c8d7e385613076d9ef56af179532139ac8 -- 2.45.2