GNU bug report logs -
#25769
24.5; netrc-parse assumes machine/login/password all appear on one line
Previous Next
Reported by: trentbuck <at> gmail.com (Trent W. Buck)
Date: Fri, 17 Feb 2017 01:23:01 UTC
Severity: normal
Found in version 24.5
Fixed in version 28.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #17 received at 25769 <at> debbugs.gnu.org (full text, mbox):
trentbuck <at> gmail.com (Trent W. Buck) writes:
> With a file /tmp/test.netrc like this:
>
> # -*- conf-space-keywords: "machine\\|login\\|password" -*-
> machine XM login XL password XP
>
> machine YM
> login YL
> password YP
>
> The first record is parsed correctly; the second is not:
>
> *** Welcome to IELM *** Type (describe-mode) for help.
> ELISP> (require 'netrc)
> netrc
> ELISP> (netrc-parse "/tmp/test.netrc")
> ((("machine" . "XM")
> ("login" . "XL")
> ("password" . "XP"))
> (("machine" . "YM"))
> (("login" . "YL"))
> (("password" . "YP")))
This has apparently been fixed at some point after this was reported,
but I added your test case to Emacs 28, and I'm closing this bug report.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 3 years and 281 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.