lp:~ion/upstart/watch-delayed
The code that watches /etc/event.d for changes was switched from nih_watch to nih_watch_delayed in order to avoid reacting to e.g. temporary files editors may create while saving files, or reading a file before it's completely saved.
- Get this branch:
- bzr branch lp:~ion/upstart/watch-delayed
Branch merges
Branch information
- Location:
- http://johan.kiviniemi.name/software/bzr/upstart.watch_delayed
- Last mirrored:
- Next mirror:
- Disabled
Updating branch...
Launchpad is processing new changes to this branch which will be available in a few minutes. Reload to see the changes.
Recent revisions
- 582. By Johan Kiviniemi <email address hidden>
-
* init/cfgfile.c (cfg_watch_dir): Switch from nih_watch to
nih_watch_delayed to avoid reacting to e.g. temporary files editors
may create to /etc/event.d while saving files, or reading a file
before it's completely saved. - 581. By Scott James Remnant (Canonical)
-
* init/job.c (job_change_goal): We need to be able to stop a running
job without a process, because that's what a job-as-state is! The
check was added because job_child_reaper calls job_change_goal and
then job_change_state immediately after, we should fix that instead.
(job_child_reaper): If we call job_change_goal while in the running
state, it will call job_change_state for us; so check for that first
and don't change the state!
* init/tests/test_job. c (test_change_goal): Update the test to ensure
that we can stop a job with no running process. - 580. By Scott James Remnant (Canonical)
-
* init/cfgfile.c (cfg_stanza_
normalexit) : normalexit is inconsistent,
change to "normal exit"
* init/tests/test_cfgfile. c (test_stanza_ normalexit) : Update. - 579. By Scott James Remnant (Canonical)
-
* init/cfgfile.c (cfg_stanza_start, cfg_stanza_stop)
(cfg_stanza_pre_start, cfg_stanza_ post_start)
(cfg_stanza_pre_stop, cfg_stanza_ post_stop, cfg_stanza_ respawn) :
We're not going to allow stanza keywords to be quoted, since this
gives us an easy way to allow users to make something explicitly
not a keyword. - 577. By Scott James Remnant (Canonical)
-
Release 0.3.5
* configure.ac: Increase version to 0.3.5
* NEWS: Update.
* TODO: Update. - 574. By Scott James Remnant (Canonical)
-
* init/cfgfile.c (cfg_stanza_
pre_start, cfg_stanza_ post_start)
(cfg_stanza_pre_stop, cfg_stanza_ post_stop) : Add a needed check
for a token when parsing "exec". Correct line number we expect
to see the duplicated value on. Correct expected error for missing
argument from "Unexpected token" to "Expected token".
* init/tests/test_cfgfile. c (main): Actually invoke the tests for
the scripts. - 573. By Scott James Remnant (Canonical)
-
* init/cfgfile.c (cfg_read_job): Correct type of lineno in error.