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

RE: [leafnode-list] Two Groups With Same Name



No, the problem is there are two groups in my groupinfo file with the same
name when this happens.  One of the groups has an uppercase name while the
other does not.  Agent quits out immediately whenever I try and do anything
when this happens.  I have to go into my groupinfo file and remove the ones
with the capital letters.

So, the below patch will not fix my problem which is I cannot use Leafnode
when there are two groups with the same name, except for capitalization
issues.

Jeff

-- 
Jeff Grossman (jeff@xxxxxxxxxxx)

> -----Original Message-----
> From: Matthias Andree [mailto:ma@xxxxxxxxxxxxxxxxxxxxxxxxxxxx]
> Sent: Sunday, January 26, 2003 8:01 PM
> To: leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Subject: Re: [leafnode-list] Two Groups With Same Name
> 
> "Jeff Grossman" <jeff@xxxxxxxxxxx> writes:
> 
> > Matthias,
> > Any idea when the 2.0 series might have the fix for the following error?
> >
> > Jan 17 17:35:01 apple leafnode[24939]: directory lists same file
> > "microsoft.public.outlook.general" more than once!? Confused, aborting.
> 
> Hum, the error message is bogus. This patch fixes the message but not
> the problem (see below the patch for more information):
> 
> Index: miscutil.c
> ===============================================================
> ====
> RCS file: /var/CVS/leafnode-2/miscutil.c,v
> retrieving revision 1.58
> diff -u -r1.58 miscutil.c
> --- miscutil.c~	10 Sep 2002 00:30:06 -0000	1.58
> +++ miscutil.c	27 Jan 2003 03:58:54 -0000
> @@ -306,8 +306,8 @@
>  	if (k != k2) {
>  	    /* key was already present in tree */
>  	    ln_log(LNLOG_SCRIT, LNLOG_CTOP,
> -		   "directory lists same file \"%s\" more than once!? "
> -		   "Confused, aborting.", k);
> +		   "directory file name conflict \"%s\" ./. \"%s\" "
> +		   "Confused, aborting.", k, k2);
>  	    abort();
>  	}
>  	/* NOTE: rbsearch does NOT make a copy of k, so you must not
> 
> 
> This means that the same file is present in the same directory again
> with only some characters in upper case.
> 
> I haven't yet got around to forward-port the bug fixes from leafnode-1,
> as a workaround, please find the file in
> /var/spool/news/interesting.groups/ that has the same characters only in
> different capitalization and kill all files except one.
> 
> Try this command to list these conflicting files:
> 
> find /var/spool/news/interesting.groups/ \
>      -iname microsoft.public.outlook.general -print
> 
> If interesting.groups doesn't turn up duplicates, try dormant.groups.
> 
> --
> Matthias Andree
> leafnode-1 download: http://sourceforge.net/projects/leafnode/
> leafnode-1 docs/new: http://mandree.home.pages.de/leafnode/
> leafnode-2 homepage: http://mandree.home.pages.de/leafnode/beta/
> 
> --
> leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
> To unsubscribe, send mail with "unsubscribe" in the subject to the list

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