From: "Brooks, Daniel" <Daniel.Brooks@ask.com>
To: 10338@debbugs.gnu.org
Subject: bug#10338: 23.3; Firefox includes a jar file which is not recognied as a zip file (omni.jar)
Date: Tue, 20 Dec 2011 21:51:18 -0500 [thread overview]
Message-ID: <A5090796F6996F43B3DFF38F00920CC3048A34265B@ny-iacmail.iac.corp> (raw)
[-- Attachment #1: Type: text/plain, Size: 9135 bytes --]
--=-=-=
They've optimized for read performance by rearranging the sections of
the file (and the files inside the archive). As a result the magic is
slightly different and Emacs doesn't recognize the file, even though the
zip/unzip tools the user has may be well able to handle it.
=== modified file 'lisp/arc-mode.el'
--- lisp/arc-mode.el 2011-12-15 07:24:10 +0000
+++ lisp/arc-mode.el 2011-12-20 22:32:35 +0000
@@ -748,6 +748,7 @@
;; as an archive by other software.
(let (case-fold-search)
(cond ((looking-at "\\(PK00\\)?[P]K\003\004") 'zip)
+ ((looking-at "....PK\001\002") 'zip)
((looking-at "..-l[hz][0-9ds]-") 'lzh)
((looking-at "....................[\334]\247\304\375") 'zoo)
((and (looking-at "\C-z") ; signature too simple, IMHO
I'm including a patch to 24.0.50, which I just checked out. I haven't
been using it on this machine.
--=-=-=
Content-Type: application/octet-stream
Content-Disposition: attachment; filename=zip-magic.bundle
Content-Transfer-Encoding: base64
Content-Description: git commit that fixes this problem
IyB2MiBnaXQgYnVuZGxlCi01NWNlZDNjNzBkNGM2YTVhNTI0OWZkYjk2Y2Y1Nzk3MDI1NTA1ZDk1
IFVwZGF0ZSBwcm9ncmFtcy50ZXhpIGFuZCBjYy1tb2RlLnRleGkgZm9yIG5ldyBDQyBNb2RlIGZl
YXR1cmVzOiBjYy1tb2RlLnRleGk6IFVwZGF0ZSB2ZXJzaW9uIHN0cmluZyB0byA1LjMyLiBwcm9n
cmFtcy50ZXhpOiBEZXNjcmliZSAiZ3Vlc3NpbmciIG9mIGluZGVudGF0aW9uIHN0eWxlLiAgVXBk
YXRlIEMtTS1hL2UuCjU5NTY5MzIzODY4ZGE3ZmE5YmNhNzA0NTdjMDUwZTZhNzZhMjc0ZDggSEVB
RAoKUEFDSwAAAAIAAAAEnzN4nI1SzY6bMBC+8xSjvXS3SigkOISqqqq2W6nnfYLBHsAK2NQesmGf
vgPsqu2tF4TNfL8DByKo83OTV6qpD3hQ6ljkp2OVFWfURyxNnhE1iuqqOCcjBnIMSmkyR11mptAn
VKgORdWYujrpRpVVmQlJpkylEpy48wG+o7PUw9fg/SXCJ1MX59uX9Zk64s+QHw9FccjKLId9ds6y
RPthsMz0v9C8VMdXaPIeehvHDxj0fvCGUkHfy6GzV9o3tqc9zyM9fIRA2rfOvhAgvNgRlm/AHTJ0
GCH6geCuxVBjS3dgHTTBS3TfyAzBgK3VSfLTyclG0BhpvX8FgNyh5gn7fgZ0gmoisbCwX8cWrR3U
E8PF+Wfr2k342bt3Ik/9CI8DauFwcwr3j1cKs+jIWE2ND5vUG2cER2TIgJnCxkTwwwYZvEFkDDyN
MAavKcadxALLEh1N3CSHSXdvodYGXhVk03FhEwfLZwGJde2dWOHlJMm2OAiRfk3yV1jsV+L0Ye1l
FDPajv0/9WrpQkgYpU95lbIsBwzS0eCnrd0/nf+Vda17db/WvWT24kG4BlHgxfothW9dWLaGzsAT
Nhgs0I3JReudRBcyOeMC2MmKryTGJY247iZnghRYz0xx8aDDPLLft5O7gHS0ONj2I5jOT70B2zrx
lia/AeZPGLLxAnpBrnP5aIAs30EMyYc1GQbb9d4YeJzbw7mHc4M5s8itlUIbhTZzboi6y2Qu8rNM
tyfPJmazN3MhIwDcQAxy8QLHto+9iWiS8e5KrDRWSBG/X4NRZXicASEA3v+nV6dXsAMEFMU4z58P
xsIsqwIH/r0RB+FXgat4sxcEkCfxog3e8QKBYpEWb65rYrPXF3hJhDRoSLRz7XicW7OG9fYa1g1f
8icfKJTg0wOCAO8YAwNDIDba/Drf8RkA7XMNSTY08bjoazSA8VXWJlozFu5bfPWk
--=-=-=
If outlook has mangled this badly, I can resend it from my usual computer later.
In GNU Emacs 23.3.1 (i386-mingw-nt5.1.2600)
of 2011-03-10 on 3249CTO
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.5) --no-opt --cflags -Ic:/imagesupport/include'
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: ENU
value of $XMODIFIERS: nil
locale-coding-system: cp1252
default enable-multibyte-characters: t
Major mode: nXML
Minor modes in effect:
shell-dirtrack-mode: t
server-mode: t
show-paren-mode: t
recentf-mode: t
mouse-wheel-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> C-h v <C-down-mouse-1> <return> C-h v
<return> M-x c u s t o <tab> - v <tab> <return> a r
c h i v e - z i p - e x t r a c t <return> C-x b o
m n <return> C-x b C-s <return> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> C-h f <return> C-x
o <tab> <return> C-x 1 <right> <right> <left> <left>
<down> <down> <left> <left> C-h v C-g C-g <right> <left>
<right> C-h v C-g <C-down-mouse-1> C-h f <return> C-x
o <tab> C-x o <right> <down> <down> <down> C-x o <down>
<down> <down> <down> <right> <right> <right> <right>
<right> <right> <right> <right> <down> <down> <down>
<down> <down> <down> <down> C-x o <down> <left> <left>
<left> <left> C-x o <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> C-x o <up> <up> <up> <down> <down> ( t SPC
n i l C-e <backspace> <backspace> C-x C-s C-x b <return>
C-x b <down-mouse-1> <mouse-2> <return> C-g <C-down-mouse-1>
C-g C-x o C-x o C-g C-x b <return> C-x k <return> C-x
b <return> <down> <down> C-e C-x C-e C-x b <return>
<up> <return> C-x <down-mouse-1> <mouse-1> b C-g C-g
C-g C-x b <return> <up> <up> <left> <left> <left> <left>
<left> <left> <left> ' <down> <down> C-e C-x C-e C-x
C-s C-x b <return> <return> <next> <next> <next> <next>
<next> <next> <next> <next> <next> <next> <next> <next>
<next> C-x k <return> C-x 1 C-s p a g e i n f o C-a
<return> <next> <next> <next> <next> <next> <next>
<next> <next> <next> <next> <next> <next> <next> <next>
<next> <next> <next> <next> <C-home> M-x r e p o r
t <tab> <return>
Recent messages:
Quit [5 times]
archive-extract-by-stdout
Symbol's function definition is void: t
Quit [3 times]
archive-extract-by-stdout
Saving file c:/mozilla-build/emacs-23.3/lisp/arc-mode.el...
Wrote c:/mozilla-build/emacs-23.3/lisp/arc-mode.el
call-interactively: End of buffer [2 times]
Mark saved where search started
Mark set
Load-path shadows:
c:/Documents and Settings/brooksd/.emacs.d/maxframe.el/maxframe hides c:/Documents and Settings/brooksd/.emacs.d/maxframe
c:/Documents and Settings/brooksd/.emacs.d/loaddefs hides c:/mozilla-build/emacs-23.3/lisp/loaddefs
c:/Documents and Settings/brooksd/.emacs.d/custom hides c:/mozilla-build/emacs-23.3/lisp/custom
c:/Documents and Settings/brooksd/.emacs.d/elpa/ruby-mode-1.1/ruby-mode hides c:/mozilla-build/emacs-23.3/lisp/progmodes/ruby-mode
c:/Documents and Settings/brooksd/.emacs.d//elpa-to-submit/cperl-mode hides c:/mozilla-build/emacs-23.3/lisp/progmodes/cperl-mode
Features:
(shadow flyspell ispell mail-extr message ecomplete rfc822 mml mml-sec
mm-decode mm-bodies mailabbrev nnheader gmm-utils mailheader canlock
sha1 hex-util hashcash mail-utils emacsbug nxml-uchnm rng-nxml rng-valid
rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn
nxml-ns nxml-mode nxml-outln nxml-rap nxml-util nxml-glyph nxml-enc
xmltok css-mode apropos generic vc-git ebnf2ps ps-print ps-def lpr
epg-config timeclock time-stamp tar-mode sort snmp-mode tempo remember
generic-x forms-mode forms doc-view jka-compr image-mode dired dns-mode
conf-mode newcomment pp cus-edit multi-isearch ruler-mode mule-util hexl
descr-text hi-lock find-func debug help-mode view arc-mode archive-mode
tramp-imap assoc tramp-gw tramp-fish tramp-cache tramp-ftp tramp-cmds
tramp auth-source gnus-util netrc shell comint ring password-cache
format-spec tramp-compat trampver eldoc paredit hl-line
idle-highlight-mode epresent derived org-latex org-export-latex
regexp-opt footnote org-exp org-exp-blocks org-agenda org-clock org
byte-opt warnings bytecomp byte-compile org-footnote org-src org-list
org-faces org-compat org-macs noutline outline easy-mmode server elnode
mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums
mm-util time-date mail-prsvr maxframe linum cus-start cus-load
starter-kit-js starter-kit-ruby starter-kit-perl starter-kit-lisp
starter-kit-eshell starter-kit-registers starter-kit-misc ido paren
starter-kit-bindings windmove edmacro kmacro starter-kit-defuns imenu
thingatpt dominating-file recentf tree-widget wid-edit easymenu
ansi-color uniquify advice help-fns advice-preload ffap saveplace
starter-kit-elpa cl cl-19 find-file-in-project-autoloads gist-autoloads
idle-highlight-autoloads idle-highlight-mode-autoloads
inf-ruby-autoloads magit-autoloads ruby-mode-autoloads
yaml-mode-autoloads package tooltip ediff-hook vc-hooks lisp-float-type
mwheel dos-w32 disp-table ls-lisp w32-win w32-vars tool-bar dnd fontset
image fringe lisp-mode register page menu-bar rfn-eshadow timer select
scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core
frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai
tai-viet lao korean japanese hebrew greek romanian slovak czech european
ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help
simple abbrev loaddefs button minibuffer faces cus-face files
text-properties overlay md5 base64 format env code-pages mule custom
widget hashtable-print-readable backquote make-network-process multi-tty
emacs)
--=-=-=--*** E-Mail body has been placed on clipboard, please paste it here! ***
[-- Attachment #2: Type: text/html, Size: 24517 bytes --]
next reply other threads:[~2011-12-21 2:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-21 2:51 Brooks, Daniel [this message]
2011-12-22 20:02 ` bug#10338: 23.3; Firefox includes a jar file which is not recognied as a zip file (omni.jar) Juri Linkov
2011-12-22 20:28 ` Juri Linkov
2012-09-28 16:40 ` Juri Linkov
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=A5090796F6996F43B3DFF38F00920CC3048A34265B@ny-iacmail.iac.corp \
--to=daniel.brooks@ask.com \
--cc=10338@debbugs.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.