2006-12-13 Scott James Remnant <email address hidden>
* NEWS: Update.
* util/initctl.c (print_job_status): Drop the newline from the
output.
2006-12-13 Alex Smith <email address hidden>
* util/initctl.c (print_job_status): Clean up initctl job status
output, which was badly converted from printf to nih_message.
2006-12-13 Scott James Remnant <email address hidden>
* compat/sysv/man/shutdown.8: Add missing documentation on the
format of TIME by copying it from --help output.
2006-12-13 Alex Smith <email address hidden>
* init/process.c (process_setup_console): Actually send output to
/dev/null instead of /dev/console, when CONSOLE_NONE.
2006-12-13 Scott James Remnant <email address hidden>
* Makefile.am (EXTRA_DIST): Distribute the nih ChangeLog as well.
* init/tests/test_job.c: Port to the new test framework.
* init/job.c (job_set_idle_event): Fix a slight memory leak,
repeated setting of the idle event never freed the previous one set.
2006-12-12 Scott James Remnant <email address hidden>
* init/tests/test_cfgfile.c: Port to the new test framework.
* init/tests/test_control.c: Port to the new test framework.
* init/init.supp: Suppress the list head allocated within control_init.
* init/control.c (control_watcher): Need to save the pid when we
get ECONNREFUSED, otherwise we lose it when we free the message.
* init/tests/test_process.c: Port to the new test framework.
* init/init.supp: Suppress the list head allocated within job_init.
* init/init.supp: Include a valgrind suppressions file.
* init/Makefile.am (EXTRA_DIST): Distribute the suppressions file.
* init/tests/test_event.c: Port to the new test framework.
* logd/Makefile.am, util/Makefile.am, compat/sys/Makefile.am
(AM_CPPFLAGS): Add -I$(srcdir), necessary for testing "programs"
that don't have usual library path semantics.
* upstart/tests/test_control.c: Port to the new test framework.
* upstart/control.c (upstart_free): Drop this function, while not
exposing libnih is a valiant effort, it already slips out because
of the error handling.
* upstart/tests/test_job.c: Add missing include.
* upstart/tests/test_job.c: Port to the new test framework.
(test_process_state_name): Check that this returns NULL.
* HACKING: Update location of download directory. Document
requirement that all code have test cases.
* logd/main.c (open_logging): Likewise.
* init/control.c (control_open): No need to set ENOMEM, errno is
always set anyway.
* configure.ac (AM_INIT_AUTOMAKE): Include nostdinc so we don't get
Automake's broken default includes.
* upstart/Makefile.am (DEFAULT_INCLUDES): Drop override now that
we don't need it.
(DEFS, INCLUDES): Replace these variables with the combined
(AM_CPPFLAGS): variable that declares everything.
* init/Makefile.am (DEFAULT_INCLUDES): Drop override now that
we don't need it.
(DEFS, INCLUDES): Replace these variables with the combined
(AM_CPPFLAGS): variable that declares everything.
* util/Makefile.am (DEFAULT_INCLUDES): Drop override now that
we don't need it.
(DEFS, INCLUDES): Replace these variables with the combined
(AM_CPPFLAGS): variable that declares everything.
* compat/sysv/Makefile.am (DEFAULT_INCLUDES): Drop override now that
we don't need it.
(DEFS, INCLUDES): Replace these variables with the combined
(AM_CPPFLAGS): variable that declares everything.
* logd/Makefile.am (DEFAULT_INCLUDES): Drop override now that
we don't need it.
(DEFS, INCLUDES): Replace these variables with the combined
(AM_CPPFLAGS): variable that declares everything.
2006-11-02 Scott James Remnant <email address hidden>
* util/initctl.c (start_action): Remove break calls which shouldn't
be there.
2006-10-18 Sean E. Russell <email address hidden>
* init/main.c: Include sys/time.h
* init/cfgfile.c: Include sys/time.h and sys/resource.h
* init/job.c: Include sys/time.h and sys/resource.h
* configure.ac: Bump version to 0.3.1