From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 73749 invoked by alias); 19 Oct 2015 17:21:54 -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 73728 invoked by uid 89); 19 Oct 2015 17:21:54 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-in-07.arcor-online.net Received: from mail-in-07.arcor-online.net (HELO mail-in-07.arcor-online.net) (151.189.21.47) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Mon, 19 Oct 2015 17:21:53 +0000 Received: from mail-in-05-z2.arcor-online.net (mail-in-05-z2.arcor-online.net [151.189.8.17]) by mx.arcor.de (Postfix) with ESMTP id 3nflHx6wk9zBqbw for ; Mon, 19 Oct 2015 19:21:49 +0200 (CEST) Received: from mail-in-08.arcor-online.net (mail-in-08.arcor-online.net [151.189.21.48]) by mail-in-05-z2.arcor-online.net (Postfix) with ESMTP id E37966F8B8D for ; Mon, 19 Oct 2015 19:21:49 +0200 (CEST) X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-08.arcor-online.net 3nflHx5ckRzGVdv Received: from Gertrud (p54B7E0F3.dip0.t-ipconnect.de [84.183.224.243]) (Authenticated sender: stromeko@arcor.de) by mail-in-08.arcor-online.net (Postfix) with ESMTPSA id 3nflHx5ckRzGVdv for ; Mon, 19 Oct 2015 19:21:49 +0200 (CEST) From: Achim Gratz To: cygwin-apps@cygwin.com Subject: Re: [PATCH setup 0/3] Setup replacement for incver_ifdep References: <1442937170-17580-1-git-send-email-jon.turney@dronecode.org.uk> <561BB2A4.2030009@dronecode.org.uk> <87lhb8htrh.fsf@Rainer.invalid> <561FA783.900@dronecode.org.uk> <87oag0qad3.fsf@Rainer.invalid> <20151019154100.GB18989@calimero.vinschen.de> Date: Mon, 19 Oct 2015 17:21:00 -0000 In-Reply-To: <20151019154100.GB18989@calimero.vinschen.de> (Corinna Vinschen's message of "Mon, 19 Oct 2015 17:41:00 +0200") Message-ID: <87io62hiz6.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-10/txt/msg00032.txt.bz2 Corinna Vinschen writes: > I agree. Actually, considering that the info files are stored in just a > single well-known directory, /usr/share/info(*), and further considering > that updated files are rewritten when overwritten, shouldn't it be entirely > sufficient if the update_info_dir script performs a simple test like this: > > - Does /usr/share/info/dirs exist? > > No -> run install-info > > Yes -> Is /usr/share/info/dirs mtime < /usr/share/info mtime? > > No -> Do nothing > > Yes -> run install-info Can this be relied on for all possible file systems? Otherwise, as I said, the same general algorithm as used for autorebase would be workable. It might in fact be possible to sneak that into the rebaselst generation since the information is already passing by. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Wavetables for the Terratec KOMPLEXER: http://Synth.Stromeko.net/Downloads.html#KomplexerWaves