Re: things I don't understand in src/env/time.c + bugs + suggested patch

Andrew Makhorin <[email protected]>
Newsgroups gmane.comp.gnu.glpk
Message-ID <1485622221.5410.4.camel@corvax>
Hi Heinrich,

> > 
> > Thank you for the patch. For reasons mentioned above I'd like to keep
> > the current version; however, I will replace gmtime with gmtime_r.
> 
> Hello Andrew
> 
> gmtime_r does not exist in the C standard and not on Windows.
> 
> Please use gmtime_s.
> 

Not sure, but gmtime_s looks like a MSVC function. Could you point me
out where gmtime_s is standardized? Thanks.


Andrew Makhorin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.