[wesnoth-commits] [wesnoth/wesnoth] 0c3f6d: Fix "host networked game" option

GitHub noreply at github.com
Fri Apr 13 12:54:29 UTC 2018


  Branch: refs/heads/1.14
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 0c3f6da8307283045094e23b439b13abd7f912e5
      https://github.com/wesnoth/wesnoth/commit/0c3f6da8307283045094e23b439b13abd7f912e5
  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