diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-04-23 03:17:25 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-04-23 03:17:25 +0200 |
commit | 7f0728b7f446a77b8606ed3dffd48deb48697384 (patch) | |
tree | eb251760b538b06017669e625b81347befa6eae6 /sys/src/cmd/python/Python/getmtime.c | |
parent | 8cb7211a42d8811302968dd75cd14e1fc47a289c (diff) |
aux/listen: removing service script sholud kill listener (thanks mischief)
mischief spotted that the only way for listeners to go away was
truncating (but not removing) a service script. this is wrong and
not as described in the manpage.
this change makes removing (or truncating) a listen script stop
the listener.
scandir() first marks all current announces, then reads the service
directory adding announces which will clear the marks for the ones
already there or add a new unmarked one. finally, we shoot down and
remove all still marked announces.
Diffstat (limited to 'sys/src/cmd/python/Python/getmtime.c')
0 files changed, 0 insertions, 0 deletions