~upstart-devel/upstart/trunk

Viewing all changes in revision 1664.1.1.

  • Committer: James Hunt
  • Date: 2015-04-24 12:57:48 UTC
  • mto: This revision was merged to the branch mainline in revision 1665.
  • Revision ID: james.hunt@ubuntu.com-20150424125748-m1fxqdjt9sixotzj
* init/log.c:
  - Make log_flushed public to allow tests to test
    log_handle_unflushed() properly.
  - log_handle_unflushed():
    - Make log a child of the list entry and the latter a child of the
      unflushed list.
  - log_clear_unflushed():
    - Ensure the list entry is freed along with the log to avoid an
      invalid entry remaining in the list (LP: #1447756).
* init/tests/test_log.c:
  - test_log_destroy(): Added new test:
    - "ensure unflushed data moved to unflushed list with uid 0"

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: