gpsd-dev
[Top][All Lists]
Advanced

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

Re: ✘gpsd .23.2~rc1


From: Hal Murray
Subject: Re: ✘gpsd .23.2~rc1
Date: Sat, 09 Apr 2022 12:26:30 -0700

gem@rellim.com said:
> For some definition of "works".  I don't know how to get scons to check for
> warnings.  This will take some pondering. 

Can you do the test at run time?

Something like call strerror_r and see if the answer matches either your 
string or the answer from strerror.  Or something like that.

------

Plan B:

Is gpsd multithreaded?  There are many other places that just call strerror.  
If you aren't worried about race conditions, just want the string to stay 
around for a while, call strerror then copy if over to where strerror_r would 
have put it.


-- 
These are my opinions.  I hate spam.






reply via email to

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