[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ✘example
From: |
Bernd Zeimetz |
Subject: |
Re: ✘example |
Date: |
Tue, 9 Mar 2021 20:42:21 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.0 |
On 3/8/21 1:15 AM, Joshua Judson Rosen wrote:
> I think our `misunderstanding' in FoxtrotGPS came from the comments in
> gps.h,
> which we were looking at because it felt like the only practical
> documentation that we had since there wasn't any description
> of the data library structures in the libgps man page;
> these lines in particular:
>
> /* GPS status -- always valid */
> int status; /* Do we have a fix? */
> #define STATUS_NO_FIX 0 /* no */
>
> You say:
>
> "no status field" is perfectly normal in many configurations.
> [...]
>
> This statement was never, ever, true:
>
> "they assume that gpsdata.fix.status == 0 means no fix."
You are not alone, I remember that I've seen similar code in other
projects... I should probably search trough debian and open bugs.
--
Bernd Zeimetz Debian GNU/Linux Developer
http://bzed.de http://www.debian.org
GPG Fingerprint: ECA1 E3F2 8E11 2432 D485 DD95 EB36 171A 6FF9 435F
- Re: ✘example, (continued)
Re: ✘example, Joshua Judson Rosen, 2021/03/07
- Re: ✘example, Gary E. Miller, 2021/03/07
- Re: ✘example,
Bernd Zeimetz <=