On Sat, Sep 17, 2011 at 2:47 AM, Gé Weijers <g...@weijers.org> wrote:

> BTW: look at mkgmtime in cgi.c. The assumption that time_t is seconds after
> the Unix Epoch is assumed there. Trying to write a fully portable
> implementation of that thing will only give you grief.
>


That mkgmtime() requires a populated (tm *), which is what i don't have
until i call gmtime() (at which point i have everything i need).



> You should probably ignore all my rambling and directly use the result of
> time(0).


Nonetheless, you have enlightened me a great deal on the topic. Thank you
:). i'm going to try simply using time(0) and see if that does what i want.

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to