gpsd-dev
[Top][All Lists]
Advanced

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

Re: [gpsd-dev] The attempt to use VTIME has been removed


From: Eric S. Raymond
Subject: Re: [gpsd-dev] The attempt to use VTIME has been removed
Date: Sat, 31 Jan 2015 17:58:17 -0500
User-agent: Mutt/1.5.23 (2014-03-12)

Gary E. Miller <address@hidden>:
> Along the way I noticed the ppsthread uses strerror() a lot, but that is
> not thread safe.  No reports of that causing an issue, but should
> eentually be fixed.  strerror_r() is not a portable replacement.
> 
> Any ideas on a thread safe and portable replacement to strerror()?

According to strerror(3), glibc provides a POSIX strerror_r() if you set
the right feature macros.  I'd say do that.
-- 
                <a href="http://www.catb.org/~esr/";>Eric S. Raymond</a>



reply via email to

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