From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 45614 invoked by alias); 25 Jun 2015 16:40:31 -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 45494 invoked by uid 89); 25 Jun 2015 16:40:30 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-in-01.arcor-online.net Received: from mail-in-01.arcor-online.net (HELO mail-in-01.arcor-online.net) (151.189.21.41) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Thu, 25 Jun 2015 16:40:26 +0000 Received: from mail-in-10-z2.arcor-online.net (mail-in-10-z2.arcor-online.net [151.189.8.27]) by mx.arcor.de (Postfix) with ESMTP id 3mHRsf44byz2lpH for ; Thu, 25 Jun 2015 18:40:22 +0200 (CEST) Received: from mail-in-14.arcor-online.net (mail-in-14.arcor-online.net [151.189.21.54]) by mail-in-10-z2.arcor-online.net (Postfix) with ESMTP id 88DC24AA024 for ; Thu, 25 Jun 2015 18:40:22 +0200 (CEST) X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-14.arcor-online.net 3mHRsf38DGz4nSn Received: from Gertrud (p54B7FCB6.dip0.t-ipconnect.de [84.183.252.182]) (Authenticated sender: stromeko@arcor.de) by mail-in-14.arcor-online.net (Postfix) with ESMTPSA id 3mHRsf38DGz4nSn for ; Thu, 25 Jun 2015 18:40:22 +0200 (CEST) From: Achim Gratz To: cygwin-apps@cygwin.com Subject: Re: setup References: <874mmghlf8.fsf@Rainer.invalid> <20150610080526.GC31537@calimero.vinschen.de> <871thjtq0m.fsf@Rainer.invalid> <20150610185417.GL31537@calimero.vinschen.de> <87wpzbs2yj.fsf@Rainer.invalid> <87mw060xg3.fsf@Rainer.invalid> <20150612102945.GS31537@calimero.vinschen.de> <87bngkzwki.fsf@Rainer.invalid> <20150612173704.GB28638@calimero.vinschen.de> <87ioacnag7.fsf@Rainer.invalid> <20150625085933.GO31223@calimero.vinschen.de> Date: Thu, 25 Jun 2015 16:40:00 -0000 In-Reply-To: <20150625085933.GO31223@calimero.vinschen.de> (Corinna Vinschen's message of "Thu, 25 Jun 2015 10:59:33 +0200") Message-ID: <87616bu4gd.fsf@Rainer.invalid> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2015-06/txt/msg00121.txt.bz2 Corinna Vinschen writes: > Having said that, any more intelligent algorithm searching only where it > actually makes sense, would be real progress. More C than C++ wouldn't > hurt either. The pattern is just misapplied in this particular case, trying to take a gatherer on a hunt. > I'm not sure I understand what you're saying. Setup.ini should never be > at the local package directory level is my understanding. Great, then I can just skip that wierdness of the old code. > Strictly, we don't have to support updates from the old non-multi-arch > setup anymore, therefore any top-level setup.ini can be ignored. > > So, from my POV, the search should ideally work like this: > > - Start at Local package directory. > > - Look if a $arch subdir exists. If so, does it have setup.ini? > If so collect it and stop here. > > - Otherwise search all immediate subdirs. Look if they have a > $arch subdir. If so, does it have setup.ini? If so, collect it. > > Does that make sense? Yes and I just have to rip out the compat code that dealt with the other cases. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptations for Waldorf Q V3.00R3 and Q+ V3.54R2: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada