Great Circle Associates Majordomo-Users
(June 1994)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: which fails for private lists?
From: Doug . Plate @ cdsmn . mn . org (Doug Plate Sr.)
Date: Mon, 6 Jun 94 14:00 CDT
To: "John P. Rouillard" <rouilj @ cs . umb . edu>
Cc: Majordomo-Users @ GreatCircle . Com

>
>In message <199406021358.AA104063@foo.ans.net>,
>Dan Simoes writes:
>
>>According to majordomo itself, it seems that a 'which' on 
>>a private list will only work for the sender.
>>In practice, a which fails completely if the list is private.
>>Is this normal behavior?
>
[Explanation deleted]

				-- John
>John Rouillard
>
>Senior Systems Consultant (SERL Project) University of Massachusetts at Boston
>rouilj@cs.umb.edu (preferred)            Boston, MA, (617) 287-6480
>==============================================================================
>My employers don't acknowledge my existence much less my opinions.
>

Actually John, I think this is a real bug in 1.62.  The original code in the 
do_which subroutine looks like:

       $list = $_;
        if ((-e "$listdir/$list.private")
                && (! &is_list_member($reply_to, $listdir, $clean_list))) {
            # skip private lists that the requestor isn't a member of
            next;
        }

Where you can see that the "$clean_list" argument to is_list_member is bogus
(undef).  I had to patch mine to look like:

       $list = $_;
        if ((-e "$listdir/$list.private")
                && (! &is_list_member($reply_to, $listdir, $list))) {
            # skip private lists that the requestor isn't a member of
            next;
        }

Then it worked.  Correct me if I've missed something, but I had to patch mine.
I would have reported the bug when I found it, but with the release of 1.90,
I figured that was pointless (aparently I was wrong :-).

Regards,
Doug Plate Sr.
//////////////////////////////////////////////////////////////////////////////
 Doug Plate Sr.                                Doug.Plate@cdsmn.mn.org          
 Senior Design Technician,                     Dicomed Inc.
 Systems Adminstrator                          Digital Photo Retouch Products
//////////////////////////////////////////////////////////////////////////////



Follow-Ups:
Indexed By Date Previous: RE: Addressing query
From: bill@biome.bio.ns.ca (Bill Silvert)
Next: Re: Addressing query
From: Stephen P Potter <spp@cis.ufl.edu>
Indexed By Thread Previous: Re: which fails for private lists?
From: "John P. Rouillard" <rouilj@cs.umb.edu>
Next: Re: which fails for private lists?
From: "John P. Rouillard" <rouilj@cs.umb.edu>

Google
 
Search Internet Search www.greatcircle.com