On 31 August 2012 16:33, Václav Zeman wrote:
> On 31 August 2012 15:26, mitch p wrote:
>> Hi,
>>
>> starting to play with log4cplus, I find a little error and a strange crash.
>>
>> 1 - in configurator.cxx, the code should be:
>>
>> void
>> ConfigurationWatchDogThread::updateLastModTime()
>> {
>> helpers::FileInfo fi;
>>
>> if (helpers::getFileInfo (&fi, propertyFilename) == 0)
>> lastModTime = fi.mtime;
>> }
> Good catch. I have applied the change. I will push it into SF Bazaar
> repo later today.
>
>>
>> or lastModTime is never update
>>
>> 2 - in the config and watch test, if I leave internal debug on, the program
>> crash at exit, when destructors are call.
> I can see the crash as well. I am investigating it.
I think I have a fix for the issue. It is because of static variables
initialization/destruction order fiasco.
>
>>
>>
>> thanks and hope that help
> It does! :)
--
VZ
|