Paul Bijnens wrote:
especially conffile.c, line 2360 or about (in 2.4.4p4).
Following up to myself, because I forgot the conclusion:
It is absolute time:
2360 static int get_time()
2361 {
2362 time_t st = start_time.r.tv_sec;
2363 struct tm *stm;
2364 int hhmm;
2365
2366 get_conftoken(INT);
2367 hhmm = tokenval.i;
2368
2369 stm = localtime(&st);
2370 st -= stm->tm_sec + 60 * (stm->tm_min + 60 * stm->tm_hour);
2371 st += ((hhmm/100*60) + hhmm%100)*60;
2372
2373 if (st-start_time.r.tv_sec<-43200)
2374 st += 86400;
2375
2376 return st;
2377 }
Line 2370 calculates midnight.
Line 2371 adds the hhmm, resulting in absolute time.
--
Paul Bijnens, Xplanation Tel +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM Fax +32 16 397.512
http://www.xplanation.com/ email: Paul.Bijnens AT xplanation DOT com
***********************************************************************
* I think I've got the hang of it now: exit, ^D, ^C, ^\, ^Z, ^Q, F6, *
* quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt, abort, hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e, kill -1 $$, shutdown, *
* kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... *
* ... "Are you sure?" ... YES ... Phew ... I'm out *
***********************************************************************
|