summaryrefslogtreecommitdiff
path: root/HACKING
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2005-06-28 13:40:05 +0000
committerEric S. Raymond <esr@thyrsus.com>2005-06-28 13:40:05 +0000
commite1151850476780e284ba91b02ab3290fde7aa432 (patch)
treeb5a0490f48eb733170b78ea997c906d429672512 /HACKING
parent0b20190e7489c762b5815780344a9b1c30a63343 (diff)
downloadgpsd-e1151850476780e284ba91b02ab3290fde7aa432.tar.gz
Eliminate use of FIONREAD.
This may fix the hang-during-backups bug. It may break the Garmin driver and DGPS handling; this will have to be tested.
Diffstat (limited to 'HACKING')
-rw-r--r--HACKING7
1 files changed, 0 insertions, 7 deletions
diff --git a/HACKING b/HACKING
index 8b441781..181b7fc4 100644
--- a/HACKING
+++ b/HACKING
@@ -200,13 +200,6 @@ times, and the GPS being unplugged and replugged, without leaking file
descriptors; also arrange for the GPS to be open when and only when clients
are active.
-The function is_input_waiting() is not strictly necessary for the most
-important use of the low-level interface, which is when it gets called
-from the daemon mainline. In that context, FD_ISSET() on the element
-of the file-descriptor set representing the GPS would tell us if there
-were input waiting. The explicit test is there for other programs
-that might call gps_poll() without such a guarantee.
-
** Security Issues
Between versions 2.16 and 2.20, hotplugging was handled in the most