29 Mar 15 22:54, you wrote to Wilfred van Velzen:
MvdV>>> The clock jumps from 02:00 to 03:00. Summer time! Binkd thinks
MvdV>>> that the config files have changed and reloads its config. So
MvdV>>> far so good. (or not, depending..)
WV>> No such thing on linux. It just keeps running if nothing
WV>> happend...
MV> There are two things:
MV> 1) Binkd crashes - after a while - when it is started with the -C
MV> option and the config changes.
I wonder if the crash is caused by the way the old config file is unloaded from
memory.
Ideally you'd compile it with debug symbols enabled then run it under the MSVC
debugger and force it to crash by changing the config file.
While you're testing it, you could avoid potential data loss by preventing
incoming connections by temporarily changing the port Binkd listens to.
MV> 2) It crasches with the transition to and from DST because it thinks
MV> the cofig has changed.
MV> How does the Linux version act? Does it:
MV> 1) Not crash when the config changes?
MV> 2) Not think the config has changed when DST cuts in or out?
In FreeBSD (and I suspect Linux also) it just keeps running when DST toggles.
The config file isn't reloaded, though.
I haven't looked at the source but it would make sense for it to use UTC time
instead of local time for looking at the timestamp of the file, so DST would be
ignored.
--- GoldED+/BSD 1.1.5-b20130910
* Origin: Blizzard of Ozz, Melbourne, Victoria, Australia (3:633/267)
|