summaryrefslogtreecommitdiff
path: root/lcdgps.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix very minor bugs revealed by OWASP analysis.Eric S. Raymond2016-01-241-0/+1
|
* Retire splint from our set of static analyzers.Eric S. Raymond2015-03-301-8/+0
| | | | | | | | | | | | | | | | | | | The proximate cause was that we've been seing emission of error messages that were randomly and disturbingly variable across different environments - notably Raspbian and Gentoo splint gave nontrivially different results than Ubuntu 14.10 splint. And this was *not* due to Ubuntu patches! A pristine splint built from the 3.1.2 tarball on Ubuntu didn't match the Raspbian and Gentoo results either. But this has been coming for a while. Easy access to more modern static analyzers such as coverity, scan-build and cppcheck has been decreasing the utility of splint, which is unmaintained and somewhat buggy and not easy to use. Only file not cleaned is ppsthread.c, because Gary has been working on it during this cleanup. All regression tests pass. PPS observed live on GR601-W.
* cppcheck and Coverity cleanup; all regression tests pass.Eric S. Raymond2015-02-091-0/+2
|
* Always use sizeof to get array sizeZbigniew Chyla2015-01-131-5/+5
| | | | | | Don't use constant/expression from an array's definition when referring to its size. Eliminates redundancy and avoids problems when array size changes. The change doesn't affect generated code.
* Full splint cleanup. Partial cppcheck cleanup.Eric S. Raymond2013-11-051-3/+3
|
* splint/cppcheck cleanup.Eric S. Raymond2013-09-171-8/+6
|
* Fix static-checker warnings. All regression tests pass.Eric S. Raymond2013-04-301-1/+2
| | | | | cppchecker now finds variables that could have reduced scope; that's most of these.
* Cosmetic fix. All regression tests and code audits pass.Eric S. Raymond2012-09-221-14/+14
|
* Lose the assumption that socket_t is an integer.Eric S. Raymond2012-09-221-1/+1
|
* Nuke trailing whitespace in C source.Eric S. Raymond2012-09-071-1/+1
|
* Replace exit(2) with exit(EXIT_FAILURE). None of these were documented.Eric S. Raymond2012-09-071-2/+2
| | | | | | | | This is a separate commit so we can revert it someday if making the distinction again comes to seem more important than struct mingw portability. All regression tests pass.
* Replace exit({0,1}) with exit(EXIT_{SUCCESS,FAILURE})Eric S. Raymond2012-09-071-6/+6
| | | | Note there are some exit(2) instances we bneed to decide what to do with.
* Magic-number elimination.Eric S. Raymond2012-05-211-1/+1
|
* Clean up from cppcheck warnings. All regression tests pass.Eric S. Raymond2012-05-171-2/+2
|
* Make the Maidenhead convrter available in Python.Eric S. Raymond2011-03-291-3/+3
|
* splint-clean the Maidenhead translator and make it available for cgps.Eric S. Raymond2011-03-291-30/+0
| | | | All regression tests pass.
* Fix up the rather broken code for generating Maidenhead locators.Eric S. Raymond2011-03-291-31/+29
|
* Give gps_waiting() a timeout argument. Use it systematically in test clients.Eric S. Raymond2011-03-091-21/+3
| | | | cgps and gpxlogger are live-tested and work. All regression tests pass.
* Un-botch the #ifdef CLIMB removal.Eric S. Raymond2011-03-051-11/+0
|
* Merge branch 'master' of ssh://git.berlios.de/gitroot/gpsdEric S. Raymond2011-03-051-1/+0
|\
| * fix broken build of lcdgpsJon Schlueter2011-03-041-1/+0
| | | | | | | | not sure what correct behavior is after removing the ifdef CLIMB cruft
* | Revert "Fossil removal."Eric S. Raymond2011-03-051-0/+9
|/ | | | This reverts my commit of Fri 04 Mar 2011 16:40:20 -0500.
* Fossil removal.Eric S. Raymond2011-03-041-9/+0
|
* Remove a silly #ifdef.Eric S. Raymond2011-03-041-3/+0
|
* In gpxlogger, filter for device on the server rather than client side,Michael Tatarinov2011-02-141-5/+4
| | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* The raw_hook mwember and set_raw_hook are gone; client API cleanup is done.Eric S. Raymond2011-01-251-4/+2
|
* More deheader testing.Eric S. Raymond2011-01-121-1/+1
|
* deheader cleanup.Eric S. Raymond2011-01-121-1/+0
|
* Turf out yet another instance of the daemonize code.Eric S. Raymond2010-12-271-40/+6
|
* More header portability audting with a new version of deheader.Eric S. Raymond2010-12-221-1/+2
|
* Insert SuS headers required for portablity, as revealed by deheader.Eric S. Raymond2010-12-221-0/+3
|
* Correct a previous commit changing <time.h> to <sys/time.h> eceywhere.Eric S. Raymond2010-12-211-1/+1
| | | | <sys/time.h> is needed for select(2).
* Work around a splint bug.Eric S. Raymond2010-12-151-1/+1
|
* Partial splint cleanup. All regression tests pass.Eric S. Raymond2010-12-151-0/+2
|
* Better approach to guarding some includes.Eric S. Raymond2010-12-141-3/+5
|
* Guard some headers fropm deheader.Eric S. Raymond2010-12-141-2/+4
|
* More header cleanup.Eric S. Raymond2010-12-141-2/+1
|
* missing headers for openbsdChris Kuethe2010-12-141-0/+2
|
* Taking SuS seriously some more.Eric S. Raymond2010-12-141-33/+5
|
* Simplification through taking SuS seriously.Eric S. Raymond2010-12-131-3/+0
|
* SuS conformance.Eric S. Raymond2010-12-131-0/+1
|
* Duplicate-inclusion and portability cleanup. All regression tests pass.Eric S. Raymond2010-12-111-2/+0
|
* Fix the order of include in lcdgps.cGary E. Miller2010-12-081-1/+1
|
* more header fixin'Chris Kuethe2010-12-081-14/+16
| | | | | | sys/types.h is required for lots of things sys/stat.h is required for umask put all the sys/* headers first, then the network headers, the everything else
* Clean up the code base and add switches so deheader runs clean.Eric S. Raymond2010-12-031-2/+1
|
* Put back missing headers that break the buildChris Kuethe2010-12-021-0/+2
|
* Unused-header removals by deheader. All regression tests pass.Eric S. Raymond2010-12-011-5/+0
|
* First round of changes for API major version 5:Eric S. Raymond2010-07-131-1/+1
| | | | | * gps_open() becomes reentrant, what gps_open_r() used to be. * gps_poll() is removed in favor of gps_read().
* Introduce the gps_read() entry point and use it internally.Eric S. Raymond2010-06-081-2/+1
| | | | | | This is as per the roadmap. Clients can still use gps_poll(). All regression tests pass. Clients run correectly live.
* Use re-entrant open in the C examples.Eric S. Raymond2010-06-071-8/+7
| | | | | | In the next mahor API change the non-re-rentrant call will go away. All regression tests passm, code splints clean.