------------------------------------------------------------
revno: 1426
committer: James Hunt <[email protected]>
branch nick: upstart-bug1096531
timestamp: Mon 2013-01-21 16:24:48 +0000
message:
  * init/log.c:log_clear_unflushed(): Simplify asserts.
modified:
  ChangeLog
  init/log.c


--
lp:upstart
https://code.launchpad.net/~upstart-devel/upstart/trunk

Your team Upstart Reviewers is subscribed to branch lp:upstart.
To unsubscribe from this branch go to 
https://code.launchpad.net/~upstart-devel/upstart/trunk/+edit-subscription
=== modified file 'ChangeLog'
--- ChangeLog	2013-01-15 13:57:11 +0000
+++ ChangeLog	2013-01-21 16:24:48 +0000
@@ -1,3 +1,7 @@
+2013-01-21  James Hunt  <[email protected]>
+
+	* init/log.c:log_clear_unflushed(): Simplify asserts.
+
 2013-01-15  James Hunt  <[email protected]>
 
 	* init/log.c:

=== modified file 'init/log.c'
--- init/log.c	2013-01-15 13:57:11 +0000
+++ init/log.c	2013-01-21 16:24:48 +0000
@@ -809,7 +809,8 @@
 			/* Parent job has ended and unflushed data
 			 * exists.
 			 */
-			nih_assert (log->unflushed->len && ! log->io);
+			nih_assert (log->unflushed->len);
+			nih_assert (! log->io);
 		} else {
 			/* Parent job itself has ended, but job spawned one or
 			 * more processes that are still running and

-- 
upstart-devel mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/upstart-devel

Reply via email to