]> git.eshelyaron.com Git - emacs.git/commit
Fix bugs in `auth-source-netrc-parse-one'.
authorFilipp Gunbin <fgunbin@fastmail.fm>
Tue, 15 May 2018 00:02:49 +0000 (03:02 +0300)
committerNoam Postavsky <npostavs@gmail.com>
Fri, 10 Aug 2018 12:36:24 +0000 (08:36 -0400)
commit5e42c349a0533602c23bf651d6b28eca25e95a46
tree3b73ef3bcd510e0201e65980343d9f92bd7dd64c
parent71c92d89137b7fdde6c2bd4bed9b8dfda5fa53dd
Fix bugs in `auth-source-netrc-parse-one'.

* lisp/auth-source.el (auth-source-netrc-parse-one): Ensure that match
  data is not overwritten in `auth-source-netrc-parse-next-interesting'.
  Ensure that blanks are skipped before and after going over comments
  and eols.
* test/lisp/auth-source-tests.el (auth-source-test-netrc-parse-one): New test.

(cherry picked from commit 60ff8101449eea3a5ca4961299501efd83d011bd)
lisp/auth-source.el
test/lisp/auth-source-tests.el