[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gpsd-dev] C Client API Issues
From: |
Gary E. Miller |
Subject: |
Re: [gpsd-dev] C Client API Issues |
Date: |
Tue, 19 Jul 2016 15:45:17 -0700 |
Yo Hal!
On Tue, 19 Jul 2016 14:25:46 -0700
Hal Murray <address@hidden> wrote:
> address@hidden said:
> > gps_close() should only be called after a successful gps_open()
> > (which has = allocated the data).
>
> > I don't see a way to prevent this solely within gpsd itself, so
> > probably on= ly the documentation should be updated to reflect the
> > recommended usage.
>
> gpsd needs a flag so close is a noop if it isn't open.
Patches welcome!
RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
address@hidden Tel:+1 541 382 8588
pgp4eJUlXi4Fh.pgp
Description: OpenPGP digital signature