GNU bug report logs - #22213
24.5; please allow specification or elimination of timestamp in autoloads

Previous Next

Package: emacs;

Reported by: David Bremner <david <at> tethera.net>

Date: Sat, 19 Dec 2015 18:56:01 UTC

Severity: normal

Found in version 24.5

Fixed in version 26.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Glenn Morris <rgm <at> gnu.org>
Cc: David Bremner <david <at> tethera.net>, 22213 <at> debbugs.gnu.org
Subject: bug#22213: 24.5; please allow specification or elimination of timestamp in autoloads
Date: Sun, 20 Dec 2015 20:54:12 -0500
> A question about the timestamps in loaddefs files:
> Why do we need to store the last modtime for each input file?
> Why can't we just compare current modtime of input file against that of
> the loaddefs file itself? Is there a reason not to trust the latter?

Not sure, to tell you the truth.  Given the time it takes to generate
the loaddefs.el file, there's definitely a chance/risk that the file
gets modified between the time it's read by autoloads.el and the time
the corresponding loaddefs.el is written.

Not sure how serious this risk is, tho.  Worth a try.
What I suggested for the "reproducible build" was to do something
simpler (in terms of safety of the change): just strip the comments from
loaddefs.el during "make install".


        Stefan




This bug report was last modified 8 years and 297 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.