From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Vasilij Schneidermann Newsgroups: gmane.emacs.bugs Subject: bug#22081: 24.5; netrc.el fails parsing authinfo items spread over multiple lines Date: Thu, 3 Dec 2015 11:20:29 +0100 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a1139463a7ae4090525fbbd46 X-Trace: ger.gmane.org 1449138091 22824 80.91.229.3 (3 Dec 2015 10:21:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Dec 2015 10:21:31 +0000 (UTC) To: 22081@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 03 11:21:20 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1a4R0p-0003ON-LV for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Dec 2015 11:21:19 +0100 Original-Received: from localhost ([::1]:34408 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a4R0o-0002os-KC for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Dec 2015 05:21:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57207) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a4R0f-0002mf-4X for bug-gnu-emacs@gnu.org; Thu, 03 Dec 2015 05:21:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a4R0Y-00054N-KR for bug-gnu-emacs@gnu.org; Thu, 03 Dec 2015 05:21:09 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:47178) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a4R0Y-00054H-Gg for bug-gnu-emacs@gnu.org; Thu, 03 Dec 2015 05:21:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1a4R0Y-0002kR-4u for bug-gnu-emacs@gnu.org; Thu, 03 Dec 2015 05:21:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Vasilij Schneidermann Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 03 Dec 2015 10:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 22081 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.144913804210524 (code B ref -1); Thu, 03 Dec 2015 10:21:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 3 Dec 2015 10:20:42 +0000 Original-Received: from localhost ([127.0.0.1]:36886 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a4R0D-0002jf-OL for submit@debbugs.gnu.org; Thu, 03 Dec 2015 05:20:42 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:47091) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a4R0B-0002jX-S6 for submit@debbugs.gnu.org; Thu, 03 Dec 2015 05:20:40 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a4R09-00050n-UM for submit@debbugs.gnu.org; Thu, 03 Dec 2015 05:20:39 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:37235) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a4R09-00050j-K2 for submit@debbugs.gnu.org; Thu, 03 Dec 2015 05:20:37 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57065) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a4R04-0002BK-Oy for bug-gnu-emacs@gnu.org; Thu, 03 Dec 2015 05:20:37 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a4R02-0004zW-SF for bug-gnu-emacs@gnu.org; Thu, 03 Dec 2015 05:20:32 -0500 Original-Received: from mail-qg0-x234.google.com ([2607:f8b0:400d:c04::234]:35382) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a4R02-0004zM-Jt for bug-gnu-emacs@gnu.org; Thu, 03 Dec 2015 05:20:30 -0500 Original-Received: by qgec40 with SMTP id c40so56299375qge.2 for ; Thu, 03 Dec 2015 02:20:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=I3HqIplEbk3v9R9SLBqMuPqjTELx0Hrbd5WIX6Cv2p8=; b=vwI2BWOPFeSM7t+MSdKkTqdKpAnlej7d4QzatVE+vtU64BDdzsNEcVvJnB5G/0sJhy sLxhUpC0vYedTlp0Uacb02fz2VRsoZ+BObQYzDas7Z2FoaexqOj4Dq5kR0OD0W93jJA8 Rjrcbg/n0nLW4DTI4ll0yxLA7+UCBOgNwOfwUEVOJiziK/1wmfHINwcJUfndHaNixkeZ /4m2ZO8HnL2yBdNTED/6myUyHbNCsh9eDteVKNCxyu+/XZTyXHmRqKQQuxQIXEgnhL2j TyN3JtXsvjAhR3ZHMF/cvPOljdJLKYuebhFFUfHhNDLfRA+CdA9d2JhJArKp7PQHfxCu lodA== X-Received: by 10.140.108.8 with SMTP id i8mr10041252qgf.24.1449138029517; Thu, 03 Dec 2015 02:20:29 -0800 (PST) Original-Received: by 10.55.42.34 with HTTP; Thu, 3 Dec 2015 02:20:29 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:109547 Archived-At: --001a1139463a7ae4090525fbbd46 Content-Type: text/plain; charset=UTF-8 A .netrc or .authinfo file typically contains the credentials for a specific machine on a single line, but according to netrc(5) it's allowed to use newlines between the tokens as well. Using (netrc-parse) leaves such items out which is clearly an error in the implementation. In GNU Emacs 24.5.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.16.6) of 2015-09-10 on foutrelis Windowing system distributor `The X.Org Foundation', version 11.0.11704000 System Description: Arch Linux Configured using: `configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --with-x-toolkit=gtk3 --with-xft 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4' CPPFLAGS=-D_FORTIFY_SOURCE=2 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro' Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar 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 minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Memory information: ((conses 16 70945 6811) (symbols 48 17553 0) (miscs 40 35 138) (strings 32 9020 4341) (string-bytes 1 247698) (vectors 16 8908) (vector-slots 8 383094 17840) (floats 8 63 74) (intervals 56 177 0) (buffers 960 11) (heap 1024 49544 969)) --001a1139463a7ae4090525fbbd46 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
A .netrc or .authinfo file typically contains the credenti= als for a
specific machine on a single line, but according to netrc(5)<http://linux.die.net/man= /5/netrc> it's allowed to use newlines between
the tokens as = well.=C2=A0 Using (netrc-parse) leaves such items out which is
clearly a= n error in the implementation.



In GNU Emacs 24.5.1 (x86_64-u= nknown-linux-gnu, GTK+ Version 3.16.6)
=C2=A0of 2015-09-10 on foutrelis<= br>Windowing system distributor `The X.Org Foundation', version 11.0.11= 704000
System Description: Arch Linux

Configured using:
=C2=A0= `configure --prefix=3D/usr --sysconfdir=3D/etc --libexecdir=3D/usr/lib
= =C2=A0--localstatedir=3D/var --with-x-toolkit=3Dgtk3 --with-xft
=C2=A0&#= 39;CFLAGS=3D-march=3Dx86-64 -mtune=3Dgeneric -O2 -pipe -fstack-protector-st= rong
=C2=A0--param=3Dssp-buffer-size=3D4' CPPFLAGS=3D-D_FORTIFY_SOUR= CE=3D2
=C2=A0LDFLAGS=3D-Wl,-O1,--sort-common,--as-needed,-z,relro'
Important settings:
=C2=A0 value of $LANG: en_US.UTF-8
=C2=A0 l= ocale-coding-system: utf-8-unix

Major mode: Lisp Interaction

= Minor modes in effect:
=C2=A0 tooltip-mode: t
=C2=A0 electric-indent-= mode: t
=C2=A0 mouse-wheel-mode: t
=C2=A0 tool-bar-mode: t
=C2=A0 = menu-bar-mode: t
=C2=A0 file-name-shadow-mode: t
=C2=A0 global-font-l= ock-mode: t
=C2=A0 font-lock-mode: t
=C2=A0 blink-cursor-mode: t
= =C2=A0 auto-composition-mode: t
=C2=A0 auto-encryption-mode: t
=C2=A0= auto-compression-mode: t
=C2=A0 line-number-mode: t
=C2=A0 transient= -mark-mode: t

Recent messages:
For information about GNU Emacs an= d the GNU system, type C-h C-a.

Load-path shadows:
None found.
Features:
(shadow sort gnus-util mail-extr emacsbug message format-= spec rfc822 mml
easymenu mml-sec mm-decode mm-bodies mm-encode mail-pars= e rfc2231
mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-= drums
mm-util help-fns mail-prsvr mail-utils time-date tooltip electric<= br>uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar=
dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode=
prog-mode register page menu-bar rfn-eshadow timer select scroll-barmouse jit-lock font-lock syntax facemenu font-core frame cham georgian
= utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanes= e hebrew greek romanian slovak czech european ethiopic indian
cyrillic c= hinese case-table epa-hook jka-cmpr-hook help simple abbrev
minibuffer n= advice loaddefs button faces cus-face macroexp files
text-properties ove= rlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-= print-readable backquote make-network-process
dbusbind gfilenotify dynam= ic-setting system-font-setting
font-render-setting move-toolbar gtk x-to= olkit x multi-tty emacs)

Memory information:
((conses 16 70945 68= 11)
=C2=A0(symbols 48 17553 0)
=C2=A0(miscs 40 35 138)
=C2=A0(stri= ngs 32 9020 4341)
=C2=A0(string-bytes 1 247698)
=C2=A0(vectors 16 890= 8)
=C2=A0(vector-slots 8 383094 17840)
=C2=A0(floats 8 63 74)
=C2= =A0(intervals 56 177 0)
=C2=A0(buffers 960 11)
=C2=A0(heap 1024 49544= 969))
--001a1139463a7ae4090525fbbd46--