Greetings all

Back in October of last year I wrote a daemon to read the time
from a clock that is locked to the Rugby 60kHz transmissions.

Since then it has worked perfectly until today when we go into
BST (DST in the US) where the mktime function fails.

It seems that mktime is not happy about a positive value for
isdst in the tm structure - it being zero during the winter!! and
causing mktime to return 1- (ie. failure). 

Does anyone know if this is a bug in libc5, the way I'm using 
mktime (the code is on my web site) - although its OK according 
to the man page, or if its some peculiarity of today being the 
day it changes from GMT to BST ?

What is the relevance to ham radio (after so many recent off-topic
posts) - well I'm using the clock to provide a reference for the local 
area IP network (subnet 44.131.161.0).

Cheers all - hope someone has the answer...

--
73 de Robin                             Hub manager gb7ipd

g8ecj.ampr.org. IP 44.131.161.112       Located in Flackwell Heath IO91po
NTS: G8ECJ@GB7TVG.#42.GBR.EU            AmprNet:   [EMAIL PROTECTED]
Internet: [EMAIL PROTECTED]  http://www.gb7ipd.freeserve.co.uk/
Shack: (+44) 1628 533311                Fax:  (+44) 1628 850165

Reply via email to