[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ✘gpsd 3.23.1 is released!
From: |
Gary E. Miller |
Subject: |
Re: ✘gpsd 3.23.1 is released! |
Date: |
Wed, 22 Sep 2021 10:09:21 -0700 |
Yo Miroslav!
On Wed, 22 Sep 2021 09:29:55 +0200
Miroslav Lichvar <mlichvar@redhat.com> wrote:
> On Tue, Sep 21, 2021 at 03:15:03PM -0700, Gary E. Miller wrote:
> > gpsd 3.23.1 is released. No ABI or API changes. Random bug fixes
> > from 3.23.
>
> Thanks for the new release.
>
> > Change STATUS_NO_FIX to STATUS_UNK to avoid confusion with fix
> > mode. Change STATUS_FIX to STATUS_GPS to avoid confusion with fix
> > mode. Change STATUS_DGPS_FIX to STATUS_DGPS to avoid confusion with
> > fix mode.
>
> I think changing names of constants in a public header counts as an
> API break. Existing software no longer builds.
Fair enough. But too late to change the release now. Where were you
during the rc period?
> I'd suggest to add the old names for compatibility, maybe like this?
Any program broken by the name change was already broken. The point of the
name change was to make that clear.
Programs were mistaking the "FIX" in the name as meaning the receiver
had a valid fix. That was never true. Any program using the old name
needs to have much more changed than just the constant name. A bad
stackoverflow answer got imbedded in a bunch of programs, and made them
flakey.
RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
gem@rellim.com Tel:+1 541 382 8588
Veritas liberabit vos. -- Quid est veritas?
"If you can't measure it, you can't improve it." - Lord Kelvin
pgp2mpz5N1nQI.pgp
Description: OpenPGP digital signature