summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Typo fix.Eric S. Raymond2016-09-021-3/+3
|
* Force Python 2 on the CGI, just in case.Eric S. Raymond2016-09-021-1/+1
|
* Fix the upload address for thev CGI form.Eric S. Raymond2016-09-021-1/+1
|
* Fix incorrectly wired-in address.Eric S. Raymond2016-09-021-2/+1
|
* Fix a potential buffer overrun.Gary E. Miller2016-09-011-1/+1
| | | | | Converting from hex to ascii means the out buffer is 2x + 1 the inbuffer.
* No need to iterate a whole buffer when we know the answer.Gary E. Miller2016-09-011-1/+3
|
* Fix too small buffers. Hex is 2x + 1 the size of binary.Gary E. Miller2016-09-013-8/+14
|
* Many small fixes for AIDM.txt.Eric S. Raymond2016-08-311-51/+53
|
* Fix format nti, git hates rtailing spaces..Gary E. Miller2016-08-301-1/+1
|
* Documentation polishing.Eric S. Raymond2016-08-262-5/+10
|
* for INADDR_LOOPBACK() FreeBSD wants __BSD_VISIBLEGary E. Miller2016-08-162-0/+6
| | | | Oh what a tangled web...
* Comment why time.h neededGary E. Miller2016-08-161-1/+1
|
* for vsnprintf() FreeBSD wants __ISO_C_VISIBLE >= 1999Gary E. Miller2016-08-169-0/+32
| | | | | Sad, C99 did not actually standardize the defines to invoke the standard.
* Well, duh, You can't change a constant!Gary E. Miller2016-08-161-2/+2
| | | | | Funny, only OS X seemed to obey the 'const' qualifier. A long standing bug just got smoked out.
* Fixups for NetBSDGary E. Miller2016-08-162-1/+5
|
* __DARWIN_C_LEVEL and _DARWIN_C_SOURCE to silence some warnings.Gary E. Miller2016-08-166-0/+20
| | | | vsnprintf() and strlcmp() are happier now.
* OS X has no sys/sysmacros.h, so hide it.Gary E. Miller2016-08-161-0/+2
|
* OS X incorrectly complains about an uninitializzed variable.Gary E. Miller2016-08-161-2/+2
| | | | So just placate it with an initializer.
* If you specify XOPEN version, you must specify POSIX version.Gary E. Miller2016-08-163-0/+6
| | | | | | This fixes 32-bit Gentoo on RasPi. All regression tests pass.
* Stop forcing C99 and POSIX 2001.Gary E. Miller2016-08-161-2/+2
| | | | Sigh...
* Enforce POSIX 2001 by default.Gary E. Miller2016-08-151-1/+1
| | | | All regression tests pass.
* Fix for C99 and POSIX 2001.Gary E. Miller2016-08-151-2/+2
| | | | | | #define _DEFAULT_SOURC E seems like a hack... http://stackoverflow.com/questions/10433982/why-does-c99-complain-about-storage-sizes#10435860
* In POSIX 2001, getsid() needs _XOPEN_SOURCE >= 500Gary E. Miller2016-08-151-0/+4
|
* Force C99 with -D_ISOC99_SOURCEGary E. Miller2016-08-151-1/+1
| | | | | | | | Wow, that smoked out a ton of deprecated stuff. bcopy(), bzero, usleep(), etc. Better now at leasure than when under the gun later. All regressions pass.
* I can not figure out why this file will not C99. Punt.Gary E. Miller2016-08-151-1/+5
|
* putenv() needs _XOPEN_SOURCEGary E. Miller2016-08-151-0/+3
|
* uint to unsigned int. uint gone in C99.Gary E. Miller2016-08-151-1/+1
|
* cfmakeraw() needs _DEFAULT_SOURCEGary E. Miller2016-08-151-0/+3
|
* sys/ipc.h needs _XOPEN_SOURCEGary E. Miller2016-08-151-0/+4
|
* daemon() needs _DEFAULT_SOURCEGary E. Miller2016-08-151-0/+3
|
* daemon() needs _DEFAULT_SOURCEGary E. Miller2016-08-151-0/+4
|
* strsep() and daemon() needs _DEFAULT_SOURCE, replace bcopy()Gary E. Miller2016-08-151-1/+4
| | | | bcopy() gone in POSIX 2008.
* alloca() needs alloca.hGary E. Miller2016-08-151-0/+1
| | | | Not in POSIX, so a little undefined.
* bzero() is gone in POSIX 2008. Use memset()Gary E. Miller2016-08-155-8/+14
| | | | Also two #defines for gpspipe.c
* isascii() needs _XOPEN_SOURCE 500Gary E. Miller2016-08-152-0/+7
|
* nice() needs _XOPEN_SOURCE 500, setgroups(), daemon() needs _DEFAULT_SOURCEGary E. Miller2016-08-151-0/+5
|
* nice() needs _XOPEN_SOURCE 500 definedGary E. Miller2016-08-151-0/+3
|
* C99 requires _XOPEN_SOURCE 500 for M_LN2Gary E. Miller2016-08-152-0/+10
|
* sys/ipc.h needs XOPEN_SOURCE 500Gary E. Miller2016-08-154-1/+14
| | | | XOPEN_SOURCE 500 means X/Open 1995. Seems saef enough.
* With C99, macro() needs sys/sysmacros.hGary E. Miller2016-08-151-1/+2
|
* Fix a warning when C99 specified.Gary E. Miller2016-08-151-0/+4
| | | | | | | | In file included from libgps_shm.c:27:0: /usr/include/sys/ipc.h:24:3: warning: #warning "Files using this header must be compiled with _GNU_SOURCE or _XOPEN_SOURCE" [-Wcpp] # warning "Files using this header must be compiled with _GNU_SOURCE or _XOPEN_S
* More uint to unsigned int.Gary E. Miller2016-08-151-284/+284
| | | | uint is no longer defined in C99. 17 years to figyure this out???
* uint was rmoved in C99. If gpsd enforce C99, then uint must go.Gary E. Miller2016-08-1511-56/+59
| | | | uint is now unsigned int.
* usleep() is removed from POSIX-2008. Replace with nanosleep()Gary E. Miller2016-08-1511-15/+82
| | | | I sure hope I did not drop a zero anywhere...
* Prepare to insis on C99 and POSIX 2001.Gary E. Miller2016-08-151-0/+6
| | | | Sadly, gpsd fails when these are enabled.
* Fix warning: array subscript has type 'char'Greg Troxel2016-08-121-1/+1
| | | | | | On NetBSD: -Wchar-subscripts Signed-off-by: Gary E. Miller <gem@rellim.com>
* Fixes cleaning and manpage building for ppscheck.Fred Wright2016-08-101-4/+5
| | | | | | | | | | | | | | | | For cleaning (and helping) purposes, tiocmiwait can be set unconditionally true, since the (usually nonexistent) program can be cleaned on any platform. This change also avoids building (and installing) the ppscheck manpage when the program isn't being built. TESTED: Ran "scons build-all check", "sudo scons install", "sudo scons uninstall", "scons -h", and "scons -c" on both OSX and Linux, verifying correct behavior. Signed-off-by: Gary E. Miller <gem@rellim.com>
* Fix timespec_str() to the year 2286 on 32 bit systems.Gary E. Miller2016-08-101-4/+8
|
* fix several typos in AIVDM documentationVladimir Rutsky2016-08-101-25/+25
| | | | | Signed-off-by: Vladimir Rutsky <rutsky.vladimir@gmail.com> Signed-off-by: Gary E. Miller <gem@rellim.com>
* No need to use abs() on an unsigned int.Gary E. Miller2016-08-091-1/+1
| | | | | | driver_nmea0183.c:1255:10: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value]