1. 03 Apr, 2014 1 commit
    • fix lxc-info printing duplicate lines · e2426f0b
      Dwight Engen authored
      When lxc-info's stdout is not line buffered (ie. "lxc-info -n foo |more")
      the first three lines will be duplicated. This is because c->get_ips()
      comes next and it forks and the child will exit() causing its fds to be
      closed which flushes out its (fork duplicated) stdio buffers. The lines are
      then duplicated when the parent actually gets around to flushing out its
      stdio. This causes problems for programs (such as the lxc-webpanel) which
      are popen()ing lxc-info.
      
      The fix here isn't necessarily the right one, but does show what the
      problem is. Seems like maybe we should fix this inside of get_ips(), for
      other API callers as well.
      Signed-off-by: 's avatarDwight Engen <dwight.engen@oracle.com>
      Signed-off-by: 's avatarSerge Hallyn <serge.hallyn@ubuntu.com>
  2. 02 Apr, 2014 6 commits
  3. 01 Apr, 2014 5 commits
  4. 31 Mar, 2014 2 commits
  5. 29 Mar, 2014 2 commits
  6. 27 Mar, 2014 2 commits
  7. 26 Mar, 2014 1 commit
  8. 25 Mar, 2014 1 commit
  9. 24 Mar, 2014 4 commits
  10. 23 Mar, 2014 4 commits
  11. 21 Mar, 2014 6 commits
  12. 13 Mar, 2014 6 commits