[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.
- ✘gpsd .23.2~rc1, Gary E. Miller, 2022/04/07
- Re: ✘gpsd .23.2~rc1, Hal Murray, 2022/04/08
- Re: ✘gpsd .23.2~rc1, Gary E. Miller, 2022/04/08
- Re: ✘gpsd .23.2~rc1, Hal Murray, 2022/04/09
- Re: ✘gpsd .23.2~rc1, Gary E. Miller, 2022/04/09
- Re: ✘gpsd .23.2~rc1, Hal Murray, 2022/04/09
- Re: ✘gpsd .23.2~rc1, Gary E. Miller, 2022/04/09
- Re: ✘gpsd .23.2~rc1, Hal Murray, 2022/04/09
- Re: ✘gpsd .23.2~rc1, Gary E. Miller, 2022/04/09
- Re: ✘gpsd .23.2~rc1,
Hal Murray <=
- Re: ✘gpsd .23.2~rc1, Gary E. Miller, 2022/04/09
- Re: ✘gpsd .23.2~rc1, Hal Murray, 2022/04/09
- Re: ✘gpsd .23.2~rc1, Gary E. Miller, 2022/04/09
- Re: ✘gpsd .23.2~rc1, Fred Wright, 2022/04/09
- Re: ✘gpsd .23.2~rc1, Gary E. Miller, 2022/04/09
- Re: ✘gpsd .23.2~rc1, Fred Wright, 2022/04/11
- Re: ✘gpsd .23.2~rc1, Gary E. Miller, 2022/04/11
- Re: ✘gpsd .23.2~rc1, Gary E. Miller, 2022/04/11
- Re: ✘gpsd .23.2~rc1, Hal Murray, 2022/04/11
- Re: ✘gpsd .23.2~rc1, Gary E. Miller, 2022/04/11