TIP: Click on subject to list as thread! ANSI
echo: binkd
to: MICHIEL VAN DER VLIST
from: WILFRED VAN VELZEN
date: 2015-04-06 18:36:00
subject: Re: Summer time.. binkd c

Hi,

On 2015-04-06 18:00:07, Michiel van der Vlist wrote to andrew clarke:
  about: "Summer time.. binkd crashed ... again":

 MV>>> The clock jumps from 02:00 to 03:00. Summer time! Binkd thinks
 MV>>> that the config files have changed and reloads its config. So far
 MV>>> so good. (or not, depending..)

 ac>> I can reliably get the same build of BinkD to reload its configs
 ac>> whenever I change timezones under Windows 7. I think that's a bug.

 MvdV> I too would call it a bug, but in itself it is a pretty harmless one. If
 MvdV> only binkd did not crash on reloading the config... :-(

That's the important thing to focus on: It shouldn't crash!

 ac>> But I can't get it to crash after the config change. I'm thinking
 ac>> there may be something in your binkd configs that's triggering it.

 MvdV> Or maybe it is OS specific. I still run XP. I could do a test on my
 MvdV> laptop,. That has Win7.

It is, or to be more exact filesystem specific. The code that reads the file
time in binkd is very generic, there aren't different versions for any OS. It
uses the stat() function to read the file time, which is returned as a time_t
value which is supposed to contain the file time in a timezone independent
form. But if the filesystem stores the file time in local time, and the
timezone or dst changes, the conversion to utc (in time_t format) returns a
different value, and binkd thinks the file time changed...

Bye, Wilfred.


--- FMail-W32-1.69.4.102-B20150403
* Origin: Native IPv6 connectable node (2:280/464)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.