Forum OpenACS Development: Re: ns_localtime_r

Collapse
3: Re: ns_localtime_r (response to 2)
Posted by Maurizio Martignano on
Thank you very much Gustaf!

It's not only the variable declaration that was missing, also the function parameters should change:

from

localtime_s(&tlsPtr->ltbuf, timer);

to

localtime_s(timer, buf);

Again thank you,
Maurizio

Collapse
4: Re: ns_localtime_r (response to 3)
Posted by Gustaf Neumann on
the arguments have to be flipped. I've compiled the code and made several more changes to improve windows compatibility (e.g. range operations were broken under windows - probably since many years)
Collapse
5: Re: ns_localtime_r (response to 4)
Posted by Maurizio Martignano on
Dear Gustaf,
thank you very much for all your work!!!
Maurizio