commit-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU Mailutils branch, master, updated. mu-1-2-90-separate-argp-cfg


From: Sergey Poznyakoff
Subject: [SCM] GNU Mailutils branch, master, updated. mu-1-2-90-separate-argp-cfg-324-g1c0ee63
Date: Fri, 14 Aug 2009 21:01:22 +0000

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 "GNU Mailutils".

http://git.savannah.gnu.org/cgit/mailutils.git/commit/?id=1c0ee63834fc729e6ed49fcfa6965d8a7cc88f87

The branch, master has been updated
       via  1c0ee63834fc729e6ed49fcfa6965d8a7cc88f87 (commit)
      from  9b0dee5fa917d5804aa2ca89a186ea8da64578ca (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 1c0ee63834fc729e6ed49fcfa6965d8a7cc88f87
Author: Sergey Poznyakoff <address@hidden>
Date:   Sat Aug 15 00:01:17 2009 +0300

    Mail: bugfixes.
    
    * mail/file.c: Use "headers" instead of non-standard "z."
    * mail/mail.c: Avoid % interpretation in
    the argument to util_cache_command.
    * mail/util.c (_run_and_free): Avoid % interpretation in
    the argument to util_do_command.

-----------------------------------------------------------------------

Summary of changes:
 mail/file.c |    2 +-
 mail/mail.c |    4 ++--
 mail/util.c |    2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/mail/file.c b/mail/file.c
index 803bb86..e565878 100644
--- a/mail/file.c
+++ b/mail/file.c
@@ -121,7 +121,7 @@ mail_file (int argc, char **argv)
       if (mailvar_get (NULL, "header", mailvar_type_boolean, 0) == 0)
        {
          util_do_command ("summary");
-         util_do_command ("z.");
+         util_do_command ("headers");
        }
       return 0;
     }
diff --git a/mail/mail.c b/mail/mail.c
index 805b0e3..fbc08a2 100644
--- a/mail/mail.c
+++ b/mail/mail.c
@@ -137,7 +137,7 @@ parse_opt (int key, char *arg, struct argp_state *state)
       break;
 
     case 'E':
-      util_cache_command (&command_list, arg);
+      util_cache_command (&command_list, "%s", arg);
       break;
       
     case 'F':
@@ -499,7 +499,7 @@ main (int argc, char **argv)
       if (mailvar_get (NULL, "header", mailvar_type_boolean, 0) == 0)
        {
          util_do_command ("summary");
-         util_do_command ("z.");
+         util_do_command ("headers");
        }
 
       mailvar_get (&prompt, "prompt", mailvar_type_string, 0);
diff --git a/mail/util.c b/mail/util.c
index 2f485ca..d2f342e 100644
--- a/mail/util.c
+++ b/mail/util.c
@@ -1068,7 +1068,7 @@ util_cache_command (mu_list_t *list, const char *fmt, ...)
 static int
 _run_and_free (void *item, void *data)
 {
-  util_do_command ((char *) item);
+  util_do_command ("%s", (char *) item);
   free (item);
   return 0;
 }


hooks/post-receive
-- 
GNU Mailutils




reply via email to

[Prev in Thread] Current Thread [Next in Thread]