From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 122470 invoked by alias); 2 Aug 2016 15:31:32 -0000 Mailing-List: contact cygwin-apps-help@cygwin.com; run by ezmlm Precedence: bulk Sender: cygwin-apps-owner@cygwin.com List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps@cygwin.com Received: (qmail 122420 invoked by uid 89); 2 Aug 2016 15:31:32 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.2 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 spammy=H*RU:CriticalPath, Hx-spam-relays-external:CriticalPath, Properly X-HELO: rgout0204.bt.lon5.cpcloud.co.uk Received: from rgout0204.bt.lon5.cpcloud.co.uk (HELO rgout0204.bt.lon5.cpcloud.co.uk) (65.20.0.203) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 02 Aug 2016 15:31:22 +0000 X-OWM-Source-IP: 31.51.206.218 (GB) X-OWM-Env-Sender: jonturney@btinternet.com X-Junkmail-Premium-Raw: score=27/50,refid=2.7.2:2016.8.1.131817:17:27.888,ip=31.51.206.218,rules=__HAS_FROM, __TO_MALFORMED_2, __TO_NO_NAME, __HAS_CC_HDR, __CC_NAME, __CC_NAME_DIFF_FROM_ACC, __HAS_MSGID, __SANE_MSGID, __HAS_X_MAILER, __IN_REP_TO, __REFERENCES, __FROM_DOMAIN_IN_ANY_CC1, __SUBJ_ALPHA_NEGATE, BODYTEXTP_SIZE_3000_LESS, BODY_SIZE_500_599, __MIME_TEXT_ONLY, RDNS_GENERIC_POOLED, SXL_IP_DYNAMIC[218.206.51.31.fur], HTML_00_01, HTML_00_10, BODY_SIZE_5000_LESS, RDNS_SUSP_GENERIC, NO_URI_FOUND, NO_CTA_URI_FOUND, BODY_SIZE_1000_LESS, BODY_SIZE_2000_LESS, __FROM_DOMAIN_IN_RCPT, RDNS_SUSP, IN_REP_TO, REFERENCES, BODY_SIZE_7000_LESS, NO_URI_HTTPS, MSG_THREAD, __CC_REAL_NAMES, MULTIPLE_REAL_RCPTS, LEGITIMATE_SIGNS, LEGITIMATE_NEGATE Received: from localhost.localdomain (31.51.206.218) by rgout02.bt.lon5.cpcloud.co.uk (8.6.122.06) (authenticated as jonturney@btinternet.com) id 57A0AF7B0001D8B1; Tue, 2 Aug 2016 16:31:20 +0100 From: Jon Turney To: cygwin-apps@cygwin.com Cc: Jon Turney Subject: [PATCH setup 05/10] Properly report progress in PrereqChecker::isMet Date: Tue, 02 Aug 2016 15:31:00 -0000 Message-Id: <20160802153037.125216-6-jon.turney@dronecode.org.uk> In-Reply-To: <20160802153037.125216-1-jon.turney@dronecode.org.uk> References: <20160802153037.125216-1-jon.turney@dronecode.org.uk> X-SW-Source: 2016-08/txt/msg00012.txt.bz2 Properly report progress in PrereqChecker::isMet after additional dependency work is found. --- prereq.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/prereq.cc b/prereq.cc index bdc609e..a5083ed 100644 --- a/prereq.cc +++ b/prereq.cc @@ -238,6 +238,7 @@ PrereqChecker::isMet () { // newly found dependency: add to worklist todo.push (dep); + max++; } unmet[dep].push_back (pack); } -- 2.8.3