GNU bug report logs - #48137
27.2; `package-install-file' fails when loading a package file with DOS line endings

Previous Next

Package: emacs;

Reported by: Ioannis Kappas <ioannis.kappas <at> gmail.com>

Date: Sat, 1 May 2021 11:40:02 UTC

Severity: normal

Tags: patch

Found in version 27.2

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: ioannis.kappas <at> gmail.com, 48137 <at> debbugs.gnu.org
Subject: bug#48137: 27.2; `package-install-file' fails when loading a package file with DOS line endings
Date: Sat, 29 May 2021 17:09:10 +0300
> From: Stefan Monnier <monnier <at> iro.umontreal.ca>
> Cc: Ioannis Kappas <ioannis.kappas <at> gmail.com>,  48137 <at> debbugs.gnu.org
> Date: Sat, 29 May 2021 09:59:01 -0400
> 
> >> Please find below a patch to read package headers from a temporarily
> >> decoded buffer, while keeping the literal buffer (which will be used
> >> to install the package) intact.
> >
> > Stefan, any comments?
> 
> No particular comment from me, except: this is tricky enough that
> it would benefit from some regression tests.

Thanks.  Yes, that's a good idea.  Ioannis, could you perhaps add some
tests, both using existing packages and perhaps also some you concoct
just for testing purposes?




This bug report was last modified 3 years and 364 days ago.

Previous Next


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