summaryrefslogtreecommitdiff
path: root/daemon.c
Commit message (Collapse)AuthorAgeFilesLines
* Retire splint from our set of static analyzers.Eric S. Raymond2015-03-301-6/+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.
* Replace exit({0,1}) with exit(EXIT_{SUCCESS,FAILURE})Eric S. Raymond2012-09-071-1/+1
| | | | Note there are some exit(2) instances we bneed to decide what to do with.
* Clue in Coverity about functions returning handles.Eric S. Raymond2012-05-101-0/+1
|
* Autotools tentacle extraction.Eric S. Raymond2011-03-311-0/+5
| | | | | | A small step in reducing the coup;ing to the build system. The scons recipe should be able to generate gpsd_config.h just fine, but automake conditionals complicate life. We'll be trying to get rid of as many of them as possible.
* Fix scan-build glitches. All regression tests pass.Eric S. Raymond2011-03-281-2/+1
|
* Factor out our implementation of daemon(3) and use it as a fallback...Eric S. Raymond2010-12-171-0/+49
...in case the local OS doesn't have it (it's not SuS/POSIX portable). >From an idea by Gleb Smirnoff. but with cleaner build-system integration.