diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2013-11-27 15:14:43 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2013-11-27 15:14:43 -0500 |
commit | ae654f81a3bbc932d9f42b7bb6c52a84c715a4e0 (patch) | |
tree | 5e5d334cd3419cb7e95077d887a383cf8b27a5db /gpsd.h-tail | |
parent | 9b5f8efb899eb1baa64562dd0f94c3025c6c2020 (diff) | |
download | gpsd-ae654f81a3bbc932d9f42b7bb6c52a84c715a4e0.tar.gz |
Investigating ways to get rid of CLOSE_DELAY in the test framework...
...actually revealed a bug - device-shutdown messages getting lost on the
way out to the test clients. This set of changes mostly fixes it. Some
glitches remain; this state of things passes all regression tests but
attempting to get rid of what now ought to be unnecessary code in fake.py
does not pass. To be continued...
Diffstat (limited to 'gpsd.h-tail')
-rw-r--r-- | gpsd.h-tail | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gpsd.h-tail b/gpsd.h-tail index 68fb73b6..57fbc2a2 100644 --- a/gpsd.h-tail +++ b/gpsd.h-tail @@ -944,6 +944,7 @@ extern int gpsd_await_data(/*@out@*/fd_set *, /*@in@*/fd_set *, const int); extern gps_mask_t gpsd_poll(struct gps_device_t *); +#define DEVICE_EOF -3 #define DEVICE_ERROR -2 #define DEVICE_UNREADY -1 #define DEVICE_READY 1 |