Great Circle Associates Majordomo-Users
(October 1993)
 

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

Subject: Re: multiple unsubscribes
From: Brent Chapman <brent @ GreatCircle . COM>
Date: Mon, 11 Oct 1993 08:53:54 -0700
To: Kingsley Kerce <kerce @ dirac . scri . fsu . edu>
Cc: Majordomo-Users @ GreatCircle . COM
In-reply-to: Your message of Mon, 11 Oct 1993 11:00:45 -0400

Kingsley Kerce <kerce@dirac.scri.fsu.edu> writes:

# I'm having the same problem.  The list files are definitely on the
# disk of the machine upon which Majordomo is running.
# 
# I put some log statements in majordomo.pl, specifically in the
# is_list_member function.  The function operates properly for the first
# call to it (from do_unsubscribe), but subsequent calls never enter the
# while loop after opening the list file.  (Note that the open doesn't
# give an error.)

This sounds like a perl bug.  That code is pretty simple; it opens a
file, reads through it, and closes the file.  What you're describing
makes it seem like it's opening the wrong file, or is opening the file
but not starting at the beginning of it.

You might try putting in a "seek(LIST, 0, 0);" after the "open" but
before the "while" loop in the "is_list_member" function.  It
shouldn't be necessary, but it might help.

Anybody having this problem, please tell me:

Majordomo version (from a "help" command)
Perl version (from "perl -v" output)
Hardware platform
Operating system release


-Brent
--
Brent Chapman                                   Great Circle Associates
Brent@GreatCircle.COM                           1057 West Dana Street
+1 415 962 0841                                 Mountain View, CA  94041


Indexed By Date Previous: Re: multiple unsubscribes
From: Kingsley Kerce <kerce@dirac.scri.fsu.edu>
Next: majordomo manual page
From: zeek@underg.ucf.org
Indexed By Thread Previous: Re: multiple unsubscribes
From: Kingsley Kerce <kerce@dirac.scri.fsu.edu>
Next: New UNIX online manual page for Majordomo
From: Brent Chapman <brent@GreatCircle.COM>

Google
 
Search Internet Search www.greatcircle.com