all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 10506@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	[thread overview]
Message-ID: <dg62ge2ami.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <83ty3yhtxj.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 14 Jan 2012 23:10:16 +0200")

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.





  reply	other threads:[~2012-01-14 22:16 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-14 21:10 bug#10506: 24.0.92; Visiting the Guile v2.0.3 tarball shows binary garbage Eli Zaretskii
2012-01-14 22:16 ` Glenn Morris [this message]
2012-01-15  5:17   ` Eli Zaretskii
2012-01-15  5:58     ` Glenn Morris
2012-01-18  1:27     ` Glenn Morris
2012-01-18  1:40       ` Glenn Morris
2012-01-18 15:31       ` Stefan Monnier
2012-01-21  0:49         ` Glenn Morris
2012-01-21 10:23           ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=dg62ge2ami.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=10506@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.