(unknown charset) [hypermail] Hypermail Seg Fault - set_custom_archives patch

From: (unknown charset) Andy Yoder <ayoder_at_heisenbug.org_at_hypermail-project.org>
Date: Wed, 2 May 2001 07:13:02 -0700
Message-ID: <20010502071302.A6315_at_heisenbug.org>


Hello,

I grabed the latest hypermail from the download area yesterday and it was seg faulting when I would run it.

I was running hypermail using the following command line options:

/usr/local/bin/hypermail -a
http://www.heisenbug.org/listar/lists/coho/archives -c /home/listar/archives/hypermail.cfg -d /home/listar/archives/coho/html/2001-04 -l "coho: 2001-04" -m /home/listar/archives/coho/coho.2001-04 -n coho_at_heisenbug.org -t -T

And I've attached a copy of my hypermail.cfg file.

At any rate I think I've tracked down the problem. I only say that because after I made this change hypermail stopped seg faulting. But I really don't know anything about the innerworkings of hypermail so perhaps the problem is larger than the fix I provide.

With that said, it appears the problem was the result of a miss typed (pasted?) variable (using set_archives, instead of set_custom_archives). Here is the diff for this fix:

diff orig/hypermail-2.1.1/src/hypermail.c \ mychanges/hypermail-2.1.1/src/hypermail.c

502c502
< if (set_archives && !strcasecmp(set_custom_archives, "NONE")) {

---

> if (set_custom_archives && !strcasecmp(set_custom_archives, "NONE")) {
Let me know if you have any questions about my setup, etc... Andy Yoder
Received on Wed 02 May 2001 04:44:30 PM GMT

This archive was generated by hypermail 2.3.0 : Sat 13 Mar 2010 03:46:12 AM GMT GMT