summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorFred Wright <fw@fwright.net>2018-12-28 20:24:04 -0800
committerFred Wright <fw@fwright.net>2018-12-28 20:24:05 -0800
commitd3eb78dd421df15555854ec2df3271cce80f9f06 (patch)
tree27cf57d4aadb659c25cd2a3b8e4ac15756c6f19e /man
parent01ae808bf2654c548cec982ae31b3159678fa775 (diff)
downloadgpsd-d3eb78dd421df15555854ec2df3271cce80f9f06.tar.gz
gpsfake: Avoid duplicated output after daemon death.
Although the client read() method provides a return value to indicate that daemon output has become unavailable (due to its death), the run() method in fake.py was ignoring it, and just repeatedly outputting the old string until it eventually noticed the death. It now pays attention to the failure return. TESTED: All tests pass. Quitting the daemon while stopped at a breakpoint no longer spews duplicated output for a while.
Diffstat (limited to 'man')
0 files changed, 0 insertions, 0 deletions