[lxc-devel] [lxc/lxc] c59ce7: attach test: always flush stdout

GitHub noreply at github.com
Mon Jan 27 12:13:51 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: c59ce7de5e8de938c2295dab69a78c7ee5ea8977
      https://github.com/lxc/lxc/commit/c59ce7de5e8de938c2295dab69a78c7ee5ea8977
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2014-01-27 (Mon, 27 Jan 2014)

  Changed paths:
    M src/tests/attach.c

  Log Message:
  -----------
  attach test: always flush stdout

Otherwise, after a fork, both pids may be flushing.  When
redirecting output to a file, this causes duplicate (or really
far worse) output.

Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>




More information about the lxc-devel mailing list