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.c | |
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.c')
-rw-r--r-- | gpsd.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -2276,6 +2276,7 @@ int main(int argc, char *argv[]) adjust_max_fd(device->gpsdata.gps_fd, false); break; case DEVICE_ERROR: + case DEVICE_EOF: deactivate_device(device); break; default: |