[Freeipmi-devel] Re: ipmi-sensors abends when configuration file not specified at all

2010-08-17 Thread Dan Lukes
On 08/16/10 22:40, Albert Chu: This should already be handled. You are true, problem is elsewhere. I croped the sources to just: --- int main (int argc, char **argv) { char x[684*1024]; } --- Compiled and linked: gcc -shared

[Freeipmi-devel] Re: ipmi-sensors abends when configuration file not specified at all

2010-08-17 Thread Albert Chu
Hey Dan, Glad it's not a freeipmi issue. That is quite odd though. Al On Tue, 2010-08-17 at 13:04 -0700, Dan Lukes wrote: On 08/16/10 22:40, Albert Chu: This should already be handled. You are true, problem is elsewhere. I croped the sources to just:

[Freeipmi-devel] Re: ipmi-sensors abends when configuration file not specified at all

2010-08-16 Thread Dan Lukes
On 08/16/10 19:55, Albert Chu: This should already be handled. Where you think it is handled ? I found cmd_args-config_file = NULL; within _init_common_cmd_args (cmd_args) only. I found no other place called from ipmi-sensor that initialize config_file (not counting the command-line

[Freeipmi-devel] Re: ipmi-sensors abends when configuration file not specified at all

2010-08-16 Thread Albert Chu
Hi Dan, On Mon, 2010-08-16 at 11:51 -0700, Dan Lukes wrote: On 08/16/10 19:55, Albert Chu: This should already be handled. Where you think it is handled ? In config_file_parse() there is eventually this line: if (!filename) filename = FREEIPMI_CONFIG_FILE_DEFAULT; and then filename