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

Re: [leafnode-list] Error with 2.0b8_ma7.5pre



krasel@xxxxxxxxxxxxxxxxxxxxxxxxxxxx (Cornelius Krasel) writes:

> After looking at the source code, I would assume that plain 2.0b8 does
> not do this. I am certain that my pre-2.0b9 (which still misses a lot
> of Matthias' enhancements) does not do it:

Sorry, I have sent my previous mail prematurely, I was looking at the
wrong part of the code.

It turns out that I broke the whole ngmatch logic when I added debugging
stuff. Here's the patch against 7.5pre. Raymond, could you please see if
this fixes your Gnus trouble and report back?

Index: miscutil.c
===================================================================
RCS file: /home/emma/mycvsroot/leafnode/miscutil.c,v
retrieving revision 1.9.2.17
diff -u -r1.9.2.17 miscutil.c
--- miscutil.c  2001/10/09 01:28:33     1.9.2.17
+++ miscutil.c  2001/10/10 20:29:34
@@ -719,5 +719,5 @@
        ln_log(LNLOG_SDEBUG, LNLOG_CTOP, "ngmatch(pattern = \"%s\", "
               "str = \"%s\") == %d", pattern, str, r);
     }
-    return r;
+    return !r;
 }

-- 
Matthias Andree

"Those who give up essential liberties for temporary safety deserve
neither liberty nor safety." - Benjamin Franklin

-- 
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list