http://bugzilla.spamassassin.org/show_bug.cgi?id=4153





------- Additional Comments From [EMAIL PROTECTED]  2005-02-27 10:50 -------
Subject: Re:  Spamc patch for config file

[EMAIL PROTECTED] wrote:

> I've updated the patch to search for a config file in the following order :
> /etc/mail/spamassassin/spamc.conf
> /etc/spamassassin/spamc.conf
> $HOME/.spamassassin/spamc.conf
> ../etc/mail/spamassassin/spamc.conf
> ../etc/spamassassin/spamc.conf

Why not using the "sysconfdir" variable provided by the configure script?

Rename spamc.c to spamc.c.in, just write a test for "@sysconfdir@/spamc.conf"
(and remove all those other unnecessary cases), add
"AC_CONFIG_FILES([spamc.c])" at the end of configure.in and recreate
the configure script with autoconf.

Why do you use a while-loop when you are looking for spamc.conf? What
happens if "config_file" remains NULL because there is no such file?


ciao
     Klaus





------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to