commit-mailutils
[Top][All Lists]
Advanced

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

[SCM] GNU Mailutils branch, master, updated. release-2.2-197-g3d26660


From: Sergey Poznyakoff
Subject: [SCM] GNU Mailutils branch, master, updated. release-2.2-197-g3d26660
Date: Tue, 16 Nov 2010 09:17:09 +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=3d266601df7be584da838bca1f276c4ed92f3c65

The branch, master has been updated
       via  3d266601df7be584da838bca1f276c4ed92f3c65 (commit)
      from  52c4656f527c90e0123a4559ce7d5dcd5f1b03d5 (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 3d266601df7be584da838bca1f276c4ed92f3c65
Author: Sergey Poznyakoff <address@hidden>
Date:   Tue Nov 16 11:15:39 2010 +0200

    mh: minor fix in traditional option handler
    
    * mh/mh_getopt.c (mh_option_init): Enforce the compited minlen
    on each option which begins on the same letter as the sample.

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

Summary of changes:
 mh/mh_getopt.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/mh/mh_getopt.c b/mh/mh_getopt.c
index 2bed55c..748db10 100644
--- a/mh/mh_getopt.c
+++ b/mh/mh_getopt.c
@@ -192,6 +192,8 @@ mh_option_init (struct mh_option *opt)
                  break;
              }
            while (len >= minlen && memcmp (opt[j].opt, sample, minlen) == 0);
+         else if (opt[j].opt[0] == sample[0])
+           opt[j].match_len = minlen;
          else
            break;
        }


hooks/post-receive
-- 
GNU Mailutils



reply via email to

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