Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Guard includes of termios.h with #ifdef HAVE_TERMIOS_H | Matt | 2015-01-23 | 1 | -0/+5 |
| | | | | | | | | | | | | Guard includes of termios.h with #ifdef HAVE_TERMIOS_H. Test for termios.h in scons, and define/undefine HAVE_TERMIOS_H accordingly. Fixes the below error seen on cygwin, which lacks termios.h: In file included from gpsutils.c:22:0: gpsd.h:349:21: fatal error: termios.h: No such file or directory #include <termios.h> ^ | ||||
* | Coverity/splint cleanup. | Eric S. Raymond | 2015-01-21 | 1 | -1/+1 |
| | | | | | Turned up a bug in where a counter was incremented un the Navcom driver; this required one test rebuild. | ||||
* | Add str_starts_with macro, use it instead of strncmp. | Zbigniew Chyla | 2015-01-21 | 1 | -1/+2 |
| | | | | This change doesn't affect generated binary code. | ||||
* | Always use sizeof to get array size | Zbigniew Chyla | 2015-01-13 | 1 | -1/+1 |
| | | | | | | 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. | ||||
* | Cleanup of string function and sizeof usage. All regression tests pass. | Zbigniew Chyla | 2015-01-13 | 1 | -1/+1 |
| | |||||
* | Fix a minor bug reported by the author. | Eric S. Raymond | 2014-12-09 | 1 | -1/+1 |
| | |||||
* | Silence another compiler warning under cygwin/gcc4.9 | Matt | 2014-09-06 | 1 | -1/+1 |
| | | | | | | | | | | | | | gps2udp.c: In function 'send_udp': gps2udp.c:117:19: warning: passing argument 5 of 'sendto' from incompatible pointer type ssize_t status = sendto(sock[channel], ^ In file included from gps2udp.c:38:0: /usr/include/sys/socket.h:38:11: note: expected 'const struct sockaddr *' but argument is of type 'struct sockaddr_in *' ssize_t sendto (int, const void *, size_t __len, int __flags, ^ | ||||
* | String fixes in gps2udp pointed out by Reinhard Arlt. | Eric S. Raymond | 2014-08-21 | 1 | -2/+1 |
| | |||||
* | splint/cppcheck/coverity cleanup. | Eric S. Raymond | 2014-08-21 | 1 | -3/+5 |
| | |||||
* | Include <sys/select.h> everywhere fd_set us used. | Eric S. Raymond | 2014-08-18 | 1 | -3/+4 |
| | | | | | | | | This came up in connection with Android. According to SuS this shouln't be necessary if sys/time.h was included, but oh well. While we;re at it, rearrange some includes for more consistent order. All regression tests pass. | ||||
* | gps2udp: tighten the test for a valid client port number. | Gary E. Miller | 2014-01-03 | 1 | -1/+1 |
| | |||||
* | lastcha2udp: fix test for valid port number | Gary E. Miller | 2014-01-03 | 1 | -2/+4 |
| | | | | | | | Found by: Ferry Huberts <mailings@hupie.com> atoi() never returns errno set, yet errno was tested for. strtol() does set errno, and does other checks. | ||||
* | gps2udp: do not send out JSON when not configured to do so | Gary E. Miller | 2014-01-03 | 1 | -0/+5 |
| | | | | From: Ferry Huberts <mailings@hupie.com> | ||||
* | Prevent potential overrun errors found by Coverity scanning. | Eric S. Raymond | 2013-12-06 | 1 | -2/+2 |
| | |||||
* | splint fixups - no logic changes. | Eric S. Raymond | 2013-11-24 | 1 | -17/+21 |
| | |||||
* | Suppress compiler warnings. | Eric S. Raymond | 2013-11-24 | 1 | -2/+3 |
| | |||||
* | Updated documentation and fixes gps2udp command line parsing | Fulup.ArFoll | 2013-11-23 | 1 | -33/+34 |
| | | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com> | ||||
* | Fix bug in array bounds and replace exit() with exit(EXIT_{SUCCESS,FAILURE}). | Michael Tatarinov | 2013-11-11 | 1 | -6/+7 |
| | | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com> | ||||
* | Partial cppcheck and Coverity cleanup. | Eric S. Raymond | 2013-11-06 | 1 | -10/+12 |
| | | | | | | Coverity found a potential overrun bug. All regression tests pass. PPS is live. | ||||
* | More cppcheck cleanup. All regression tests pass. PPS is live. | Eric S. Raymond | 2013-11-06 | 1 | -7/+7 |
| | |||||
* | Egg-on-my-face build and compiler warning fixes. | Eric S. Raymond | 2013-10-17 | 1 | -1/+1 |
| | |||||
* | splint and cppcheck cleanup. All regression tests pass. | Eric S. Raymond | 2013-09-29 | 1 | -1/+1 |
| | |||||
* | Banish some compiler warnings. | Eric S. Raymond | 2013-09-28 | 1 | -1/+2 |
| | |||||
* | Coverity cleanup. | Eric S. Raymond | 2013-09-24 | 1 | -1/+1 |
| | |||||
* | Typo fixes. | Eric S. Raymond | 2013-09-24 | 1 | -2/+2 |
| | |||||
* | Suppress a compiler warning. | Eric S. Raymond | 2013-05-01 | 1 | -2/+2 |
| | |||||
* | Splint cleanup, spelling, and style fixes. | Eric S. Raymond | 2013-05-01 | 1 | -249/+298 |
| | |||||
* | Added gps2udp a gpsdclient to dispatch AIS to AISHUB, MarineTraffic, ... | Fulup.ArFoll | 2013-05-01 | 1 | -0/+448 |
Signed-off-by: Eric S. Raymond <esr@thyrsus.com> |