From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25119 invoked by alias); 22 Sep 2017 13:38:16 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 24893 invoked by uid 89); 22 Sep 2017 13:38:15 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=UD:new X-Spam-User: qpsmtpd, 2 recipients X-HELO: mail-pf0-f179.google.com Received: from mail-pf0-f179.google.com (HELO mail-pf0-f179.google.com) (209.85.192.179) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 22 Sep 2017 13:38:14 +0000 Received: by mail-pf0-f179.google.com with SMTP id z84so575926pfi.2; Fri, 22 Sep 2017 06:38:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=cOXBUDaRNlo81Dhg+aWDf9QdWGVekx1StqeG1kuA6iU=; b=Tyf12myLZjWdxSTQkPkJLcrRDyndA9ITMYe0MJM+ybvZz3Y+tD8EbY9MtSy2CihGhg HOrLcR6PAu5FMxrhGNa/BjgSwoiq9anFVGErD8eXlgse55k1JKCOgqzltE32V9vsDV95 r0W7m8CddFeGrqgxjaWsE2V+2Yr9f9/qYJxErGRngooGTbJfMGZBg77veTw22d9NEefy Z8ojlAkIpUUqeqJh9pdAn+bUSkRWu2DDQkdpqJQUa9ftuUyEqnLRiFwEy1Rku+yd1gm0 ee5BEpniVEG6lPlG0KugjIv5kIu1sjWwKKr2XN2tyFUy8JTpdHKQ8omJPyU63YbrTmpn ddqg== X-Gm-Message-State: AHPjjUjVOhgy6bZ8sQveUDRHBl8XADQpKtR5p4HyC2m++O8aQ91VVZ3N nqRiJcy0e3MxzP9A6N13t/c= X-Google-Smtp-Source: AOwi7QBbw+QyV5sXvaE33HXjeCD4hSNjba74OOS8Sm1cFb25JayI8JUn/rXc0r93VaD+K2AsKXj2pw== X-Received: by 10.101.65.205 with SMTP id b13mr9399131pgq.319.1506087493208; Fri, 22 Sep 2017 06:38:13 -0700 (PDT) Received: from bubble.grove.modra.org (CPE-58-175-73-248.czqe1.win.bigpond.net.au. [58.175.73.248]) by smtp.gmail.com with ESMTPSA id f13sm8211102pfj.127.2017.09.22.06.38.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 22 Sep 2017 06:38:11 -0700 (PDT) Received: by bubble.grove.modra.org (Postfix, from userid 1000) id DD4E9C23B2; Fri, 22 Sep 2017 23:08:06 +0930 (ACST) Date: Fri, 22 Sep 2017 13:38:00 -0000 From: Alan Modra To: Pedro Alves Cc: Petr Ovtchenkov , Joel Brobecker , Matthias Klose , Simon Marchi , Matt Rice , Fiodar Stryzhniou , Andreas Schwab , Binutils , GDB Subject: Re: [PATCH] bfd/version.h: Add rationale for BFD_VERSION_DATE (Re: meaning of "Automatic date update in version.in" commits) Message-ID: <20170922133806.GH25070@bubble.grove.modra.org> References: <20170921184615.6b1e5d44@void-ptr.info> <426b9fdf-a854-6d5f-b296-df71ad0c1561@ubuntu.com> <20170921192619.412ff148@void-ptr.info> <20170921163358.twez7kbewucjalwi@adacore.com> <20170921195153.4ed9f319@void-ptr.info> <20170921170031.czr6to24sarve2or@adacore.com> <20170921203857.06810b63@void-ptr.info> <20170921235936.GB25070@bubble.grove.modra.org> <0f7c205c-7ecb-bc49-bf15-c753e576cdc0@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0f7c205c-7ecb-bc49-bf15-c753e576cdc0@redhat.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-SW-Source: 2017-09/txt/msg00106.txt.bz2 On Fri, Sep 22, 2017 at 10:49:05AM +0100, Pedro Alves wrote: > I like this summary. How about we put something like that in bfd/version.h ? Good idea. > I assume that the bot is just replacing the line with > BFD_VERSION_DATE instead of regenerating the whole file from > scratch, but that's just guessing. (I don't have sourceware > shell access; I have no idea how the auto updater is implemented.) Back when I ran the cron job on my home machine, it did sed -e 's/20[0-9]*/'`date +%Y%m%d`/ < bfd/version.h > bfd/version.h.new I'm not sure what is done nowadays. You could always commit the patch and see what happens. :) -- Alan Modra Australia Development Lab, IBM