* [PATCH] * 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-05 10:18 David Kastrup
2013-07-05 17:43 ` Ted Zlatanov
0 siblings, 1 reply; 2+ messages in thread
From: David Kastrup @ 2013-07-05 10:18 UTC (permalink / raw)
To: emacs-devel; +Cc: David Kastrup
---
lisp/gnus/ChangeLog | 6 ++++++
lisp/gnus/auth-source.el | 4 ++--
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index 2b1e1d8..c766488 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,3 +1,9 @@
+2013-07-05 David Kastrup <dak@gnu.org>
+
+ * 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 <yamaoka@jpl.org>
* gnus-sum.el (gnus-summary-from-or-to-or-newsgroups):
diff --git a/lisp/gnus/auth-source.el b/lisp/gnus/auth-source.el
index 8cef741..54429b5 100644
--- a/lisp/gnus/auth-source.el
+++ b/lisp/gnus/auth-source.el
@@ -1048,8 +1048,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)
--
1.8.1.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] * 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-05 10:18 [PATCH] * 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 David Kastrup
@ 2013-07-05 17:43 ` Ted Zlatanov
0 siblings, 0 replies; 2+ messages in thread
From: Ted Zlatanov @ 2013-07-05 17:43 UTC (permalink / raw)
To: emacs-devel
On Fri, 5 Jul 2013 12:18:51 +0200 David Kastrup <dak@gnu.org> wrote:
DK> + * auth-source.el (auth-source-netrc-parse-one): Allow empty strings in
DK> + authinfo file again (important for blank passwords). This had been
DK> + broken with 2013-06-15 change.
Applied in Gnus master, thank you. Should be synced to Emacs soon.
Ted
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-07-05 17:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-05 10:18 [PATCH] * 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 David Kastrup
2013-07-05 17:43 ` Ted Zlatanov
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.