[wesnoth-commits] [wesnoth/wesnoth] 846bf8: Fix "host networked game" option

GitHub noreply at github.com
Fri Apr 13 12:46:04 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 846bf8f208ae41381e133e96b24e6b9876ea2a01
      https://github.com/wesnoth/wesnoth/commit/846bf8f208ae41381e133e96b24e6b9876ea2a01
  Author: loonycyborg <loonycyborg at gmail.com>
  Date:   2018-04-13 (Fri, 13 Apr 2018)

  Changed paths:
    M src/desktop/open.cpp
    M src/wesnoth.cpp

  Log Message:
  -----------
  Fix "host networked game" option

It was broken by b95c9996bf435daa4d7e64fd1ef41425ac182b95 because
ignoring SIGCHLD makes it impossible to query exit status of wesnothd
subprocess. Fix this by spawning a thread to wait for the browser
instead of ignoring SIGCHLD.




More information about the Commits mailing list