Utility for setting RTC based on gpsd time
Go to file
Harald Welte cb65bc5348 avoid using 99% CPU in case gpsd dies
This addresses and issue when gpsdate is running and the gpsd will be
killed (testing coredump handling).

The issue is within the libgps cod itself that doesn't handle the
result(0) of the recv syscall correctly and keeps on looping. Now in a
normal system gpsdate should only execute at the beginning and exit once
there is a date. So the window for this runtime failure is quite low.

Bug reported by Holger Freyther.
2013-08-29 17:12:25 +02:00
COPYING add GPLv2 2013-04-10 13:17:35 +02:00
Makefile Makefile: Move -lgps to the end for particularly picky linkers 2013-04-10 13:55:10 +02:00
gpsdate.c avoid using 99% CPU in case gpsd dies 2013-08-29 17:12:25 +02:00
gpsdate.init gpsdate.init: Make the killing of gpsdate work on the target 2013-06-20 11:17:53 +02:00