[Remind-Fans] Remind 3.1.6 is Released - Sunrise/Sunset bug still exists

Dougie Lawson dougie.lawson at ukonline.co.uk
Sun Nov 16 15:11:27 EST 2008


I've just pulled the latest version, updated custom.h for my lat/long
settings and the sunrise()/sunset() functions are still not working. 

I've rebuilt it with the default settings for Ottawa and get the same
wonky results. 

So I added an Eprint(...); to the funcs.c code where it uses the
LongDeg/LongMin/LongSec and LatDeg/LatMin/LatSec variables to dump out
the values.

/home/dougie/.reminders(119): LongDeg: -150, LongMin: 52, LongSec: 41,
LatDeg: -34, LatMin: 26, LatSec: 20, LAT: -0.585752, LONG: -149.121944
sunrise at 18:52

/home/dougie/.reminders(120): LongDeg: -150, LongMin: 52, LongSec: 41,
LatDeg: -34, LatMin: 26, LatSec: 20, LAT: -0.585752, LONG: -149.121944
sunset at 08:44

Same results regardless of what's defined in custom.h. I compiled
globals.c with -save-temps and can see that the values appear to be
correct in that module. But something goes wrong when the external
values are picked up in funcs.c.

I'm puzzled, it used to work until a couple of releases ago.

Regards, Dougie.




----------------------------------------------
This mail sent through http://www.ukonline.net



More information about the Remind-fans mailing list