help-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-glpk] things I don't understand in src/env/time.c + bugs + sug


From: Andrew Makhorin
Subject: Re: [Help-glpk] things I don't understand in src/env/time.c + bugs + suggested patch
Date: Mon, 30 Jan 2017 14:09:59 +0300

> > The problem I
> > encountered is that gcc (Debian 4.7.2-5) 4.7.2 installed on my Linux
> > machine doesn't have gmtime_s, strerror_s, and strtok_s.
> 
> My understanding is that it is unlikely that a version will be
> provided by glibc.
> 
> > It is unclear
> > what to do if no thread-safe version of these functions are available.
> 
> I think that configure should check for the posix versions or the
> windows versions and fail if not found when TLS is set. I can prepare
> a patch for this, but I can only test it on Linux.
> 

I think it is not needed to add such configure checks. If the check for
tls is passed, corresponding _r functions should exist in libc.


Andrew Makhorin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]