Both, SFCB daemon and client library use a configuration file. While the SFCB daemon can be configured to use a specific file (by means of the '-c' option), the client library will always use the default configuration file, SFCB_CONFDIR "/sfcb.cfg"!
We propose to allow the user to specify a different configuration file through an environment variable "SFCB_CONFIG_FILE".
The included patch implements this.
Also, I have taken the liberty to replace two strcpy() calls by strncpy() calls to make the code a bit more robust.
The patch is against sblim-sfcb-1.3.10
Patch to add environment variable "SFCB_CONFIG_FILE"
Set the Category and Group to appropriate values.
committed to CVS HEAD and git master