[gnus git] branch master updated: m0-7-156-g3d437db =1= auth-source.el (auth-source-netrc-parse-one): Allow empty strings again.
Ted Zlatanov <[email protected]>
| Newsgroups | gmane.emacs.gnus.cvs |
|---|---|
| Message-ID | <[email protected]> |
via 3d437db492eb745dc3eb870dbb3bee4dcb4d5a3d (commit)
from 7796f76a4215ea0651b2c12d4f25a25e1c8facff (commit)
- Log -----------------------------------------------------------------
commit 3d437db492eb745dc3eb870dbb3bee4dcb4d5a3d
Author: David Kastrup <[email protected]>
Date: Fri Jul 5 13:42:08 2013 -0400
auth-source.el (auth-source-netrc-parse-one): Allow empty strings again.
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 05576bd..71db4a0 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
+2013-07-05 David Kastrup <[email protected]>
+
+ * auth-source.el (auth-source-netrc-parse-one): Allow empty strings in
+ authinfo file again (important for blank passwords). This had been
+ broken with 2013-06-15 change.
+
2013-07-03 Katsumi Yamaoka <[email protected]>
* gnus-sum.el (gnus-summary-from-or-to-or-newsgroups):
diff --git a/lisp/auth-source.el b/lisp/auth-source.el
index c7acbb4..e43ab16 100644
--- a/lisp/auth-source.el
+++ b/lisp/auth-source.el
@@ -1058,8 +1058,8 @@ Note that the MAX parameter is used so we can exit the parse early."
"Read one thing from the current buffer."
(auth-source-netrc-parse-next-interesting)
- (when (or (looking-at "'\\([^']+\\)'")
- (looking-at "\"\\([^\"]+\\)\"")
+ (when (or (looking-at "'\\([^']*\\)'")
+ (looking-at "\"\\([^\"]*\\)\"")
(looking-at "\\([^ \t\n]+\\)"))
(forward-char (length (match-string 0)))
(auth-source-netrc-parse-next-interesting)
-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.
Summary of changes:
lisp/ChangeLog | 6 ++++++
lisp/auth-source.el | 4 ++--
2 files changed, 8 insertions(+), 2 deletions(-)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".
The branch, master has been updated
hooks/post-receive
--
Gnus Project