[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-mailutils] [PATCH] fix segfault, extend field selection
From: |
Tino Schwarze |
Subject: |
[bug-mailutils] [PATCH] fix segfault, extend field selection |
Date: |
Thu, 28 Jul 2005 22:20:13 +0200 |
User-agent: |
Mutt/1.5.6+20040722i |
Hi there,
I looked into mailutils since I needed some command line utilities to
check mailboxes. (We actually want to check whether mails arrive where
they are expected to arrive.)
While I took a closer look at frm, I came across a bug - whenever I
specified "-s", it segfaulted. I'm no argp_parse expert and didn't
bother to look at the docs, but judging from what gdb displayed, optarg
was being used instead of arg and optarg was NULL. So I fixed that.
Later, I wanted frm to display all the fields I needed, not just one, so
I extended the -f syntax. It now supports the specification of multiple
fields, separated by comma, semicolon or spaces. Alternatively, the
option may be given multiple times.
Now I just need a way to mark a message read, so I don't need to compare
it again - does readmsg do this?
Bye, Tino.
PS: I used mailutils 0.6, so I may be not totally up to date...
mailutils-frm-fix-field-extension.patch
Description: Text document
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug-mailutils] [PATCH] fix segfault, extend field selection,
Tino Schwarze <=