gpsd-users
[Top][All Lists]
Advanced

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

Re: [gpsd-users] gps_read parameters


From: Gary E. Miller
Subject: Re: [gpsd-users] gps_read parameters
Date: Sat, 1 Sep 2018 15:44:01 -0700

Yo Charles!

On Sat, 1 Sep 2018 15:58:32 -0600
Charles Curley <address@hidden> wrote:

> I have had some interesting problems with two gpsd client programs,
> navit and my own brainless client, gnome-gps.
> https://github.com/charlescurley

Nice, I'll check it out.

> Apparently in commit 6bba8b329fc7687b15863d30471d5af402467802 Gary
> Miller changed the parameters for gps_read. Fine.

Yup.  The old API had a nasty buffer overrun bug in it.  Plus clients
writing to a "const char *".  You could see this in the data window
when running cpgs.

>  But that changes the API. Which breaks my program:

Yup.  Unavoidable major API version change.

> Could you please bump the API version number so we mere C programmers
> can add an appropriate #IFDEF? Thanks

Already bumped in commit 9f6d73c779168a6ec276b02a3d08ece8bfc15d51

-#define GPSD_API_MAJOR_VERSION 6       /* bump on incompatible changes */
-#define GPSD_API_MINOR_VERSION 1       /* bump on compatible changes */
+#define GPSD_API_MAJOR_VERSION 7       /* bump on incompatible changes */
+#define GPSD_API_MINOR_VERSION 0       /* bump on compatible changes */

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        address@hidden  Tel:+1 541 382 8588

            Veritas liberabit vos. -- Quid est veritas?
    "If you can’t measure it, you can’t improve it." - Lord Kelvin

Attachment: pgp6ieNrPGPHe.pgp
Description: OpenPGP digital signature


reply via email to

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