vrtadmin/clamav-devel — pull request #3 by otheus (2014-03-20 17:08:14+00:00)
Title: Allow clamdscan to have a separate config file; use clamd's if not found

Very simply, clamdscan needs the possibility of its own configuration file and with a fallback to clamd.conf. Although users can specify this on the command line, it's much nicer for packaging and deployment that it has its own configuration file that can be used out-of-the-box so to speak.

With this relatively simple code change, we manage that. There is a caveat: I cannot glean from parseopts how to determine if the configuration option was set by the provided command-line option or if the setting comes from the default setting. The work around is commented in the code.