Hi,

A Debian user reported that using readmsg -a always leads to a segfault,
regardless of the mailbox file.

He identified the cause in the command line parser, as detailed in
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=517457.

Attached is Steve Cotton's patch to fix the issue.

Jordi
-- 
Jordi Mallach Pérez  --  Debian developer     http://www.debian.org/
[email protected]     [email protected]     http://www.sindominio.net/
GnuPG public key information available at http://oskuro.net/
--- a/readmsg/readmsg.c
+++ b/readmsg/readmsg.c
@@ -104,11 +104,11 @@ readmsg_parse_opt (int key, char *arg, struct argp_state *astate)
       break;
 
     case 'p':
-      mu_argp_node_list_new (&lst, "form-feeds", arg);
+      mu_argp_node_list_new (&lst, "form-feeds", "yes");
       break;
 	  
     case 'a':
-      mu_argp_node_list_new (&lst, "show-all-match", arg);
+      mu_argp_node_list_new (&lst, "show-all-match", "yes");
       break;
 
     case ARGP_KEY_INIT:

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Bug-mailutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-mailutils

Reply via email to