diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2010-09-25 12:09:17 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2010-09-25 12:09:17 +0300 |
commit | 36656d1f5af44810ca63fe3c97c7a56c0bc19173 (patch) | |
tree | 75981c90e79c89ba389351d250fb2ba5edb55592 /movemail | |
parent | c42bddb0b814375bf68db9ee17fb77b888befaaa (diff) | |
download | mailutils-36656d1f5af44810ca63fe3c97c7a56c0bc19173.tar.gz mailutils-36656d1f5af44810ca63fe3c97c7a56c0bc19173.tar.bz2 |
Fix hex (%XX) expansion in URLs.
* mailbox/url.c (url_parse0): Take three arguments. Return in the
third one a boolean indicating whether to expand %XX notations in
the URL. Do not decode absolute file names and pipes.
(mu_url_parse): Use this value to decide.
* movemail/movemail.c (main): In emacs mode: force UNIX mbox
format as a default. Send debugging output to stderr.
* libmailutils/tests/url.at: Add new tests.
Diffstat (limited to 'movemail')
-rw-r--r-- | movemail/movemail.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/movemail/movemail.c b/movemail/movemail.c index 985242f51..ddbeb14dd 100644 --- a/movemail/movemail.c +++ b/movemail/movemail.c @@ -759,6 +759,14 @@ main (int argc, char **argv) return 1; } + if (emacs_mode) + { + /* Undo the effect of configuration options that may affect + the interaction with Emacs. */ + mu_registrar_set_default_record (mu_mbox_record); + mu_debug_default_printer = mu_debug_stderr_printer; + } + atexit (close_mailboxes); source_name = argv[0]; |