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
|
|