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

[leafnode-list] [PATCH] storearticle() didn't check for local groups



Hi *!

storearticle() would not create a groupdir for a local group.
This bug probably was probably introduced when localutil.c was
separated from artutil.c

Please apply this patch.

---- snip ----
--- artutil.c.orig  Fri Jan 12 21:44:02 2001
+++ artutil.c   Fri Jan 19 23:01:01 2001
@@ -155,7 +155,8 @@
    q = strchr( p, ',' );
    if ( q )
        *q++ = '\0';
-   if ( *p && ( isinteresting( p ) || create_all_links ) ) {
+   if ( *p && ( isinteresting( p ) || islocalgroup( p ) ||
+            create_all_links ) ) {
        cg = findgroup( p );
        if ( cg && chdirgroup( p, TRUE ) ) {
        if (xref)
---- snip ----

Regards,
        Jo:rg

-- 
Fortune cookie of the day:
A boy can learn a lot from a dog: obedience, loyalty, and the importance
of turning around three times before lying down.
		-- Robert Benchley

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