]> diplodocus.org Git - nmh/commitdiff
Added comment about not supporting trailing semicolons
authorDavid Levine <levinedl@acm.org>
Thu, 5 Dec 2013 01:38:11 +0000 (19:38 -0600)
committerDavid Levine <levinedl@acm.org>
Thu, 5 Dec 2013 01:38:11 +0000 (19:38 -0600)
for aliases (in alias file).

uip/aliasbr.c

index a696e8a6406607eee4e38c67d9abdcb1f07b45c3..2e83d07c2389ad8ca744e821637fe89730e3b352 100644 (file)
@@ -104,6 +104,12 @@ akval (struct aka *ak, char *s)
     if (!s)
        return s;                       /* XXX */
 
+    /* It'd be tempting to check for a trailing semicolon and remove
+       it.  But that would break the EXMH alias parser on what would
+       then be valid expressions:
+       http://lists.gnu.org/archive/html/nmh-workers/2012-10/msg00039.html
+     */
+
     for (; ak; ak = ak->ak_next) {
        if (aleq (s, ak->ak_name)) {
            return akresult (ak);