[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gpsd-commit-watch] [SCM] GPSD branch, master, updated. dev-3.19a-221-gd
From: |
Fred Wright |
Subject: |
[gpsd-commit-watch] [SCM] GPSD branch, master, updated. dev-3.19a-221-gd3eb78d |
Date: |
Fri, 28 Dec 2018 23:27:01 -0500 (EST) |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GPSD".
The branch, master has been updated
via d3eb78dd421df15555854ec2df3271cce80f9f06 (commit)
via 01ae808bf2654c548cec982ae31b3159678fa775 (commit)
from cdda19d620b439ce3c1d65e11cb07f35f2416a56 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit d3eb78dd421df15555854ec2df3271cce80f9f06
Author: Fred Wright <address@hidden>
Date: Fri Dec 28 20:24:04 2018 -0800
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.
commit 01ae808bf2654c548cec982ae31b3159678fa775
Author: Fred Wright <address@hidden>
Date: Fri Dec 28 15:47:07 2018 -0800
gpsfake: Notice when daemon dies.
Death of the daemon (after initial connection) wasn't being noticed,
so that the daemon dying (e.g., by quitting it from a debugger) left
gpsfake looping and spewing output. This puts an alive check in the
main loop, as well as in an inner loop that's sometimes relevant.
TESTED:
Quit the daemon after stopping at breakpoints in a couple of different
cases; gpsfake now quits with an error. It does still spew a bunch of
duplicated output in some cases, though.
-----------------------------------------------------------------------
Summary of changes:
gps/fake.py | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
hooks/post-receive
--
GPSD
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gpsd-commit-watch] [SCM] GPSD branch, master, updated. dev-3.19a-221-gd3eb78d,
Fred Wright <=