Re: [PATCH] bfd/version.h: Add rationale for BFD_VERSION_DATE (Re: meaning of "Automatic date update in version.in" commits)
Alan Modra <[email protected]>
| Newsgroups | gmane.comp.gdb.devel,gmane.comp.gnu.binutils |
|---|---|
| Message-ID | <[email protected]> |
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