GNU bug report logs - #10506
24.0.92; Visiting the Guile v2.0.3 tarball shows binary garbage

Previous Next

Package: emacs;

Reported by: Eli Zaretskii <eliz <at> gnu.org>

Date: Sat, 14 Jan 2012 21:12:01 UTC

Severity: normal

Merged with 10601

Found in version 24.0.92

Fixed in version 24.0.93

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: Glenn Morris <rgm <at> gnu.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 10506 <at> debbugs.gnu.org
Subject: bug#10506: 24.0.92; Visiting the Guile v2.0.3 tarball shows binary garbage
Date: Sat, 14 Jan 2012 17:16:21 -0500
Eli Zaretskii wrote:

> I tried with a couple of other tarballs, and they work as expected.
> So there's something in this specific tarball that triggers the bug.

It happens to contain a shell-script (depcomp) near the end of the
tarfile, and that shell-script happens to have a footer that starts
fewer than 3000 characters from the end of the tarfile, and happens to
contain:

    # Local Variables:
    # mode: shell-script
    # sh-indentation: 2
    # eval: (add-hook 'write-file-hooks 'time-stamp)
    # time-stamp-start: "scriptversion="
    # time-stamp-format: "%:y-%02m-%02d.%02H"
    # time-stamp-time-zone: "UTC"
    # time-stamp-end: "; # UTC"
    # End:

(The mode setting is superfluous since it begins with #!/bin/sh anyway.)

So hack-local-variables decides the tarfile should be in sh-mode.




This bug report was last modified 13 years and 122 days ago.

Previous Next


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