]> git.ipfire.org Git - thirdparty/mtr.git/commit
Initialize dns process before opening display 157/head
authorNarthorn <narthorn@gmail.com>
Sat, 8 Oct 2016 06:38:10 +0000 (08:38 +0200)
committerNarthorn <narthorn@gmail.com>
Sat, 8 Oct 2016 06:38:10 +0000 (08:38 +0200)
commitfb30d4bdf867a100cf91e1492db6f872b41f8764
tree9de01eabab1732edabb16e86125ca89545b9ae0c
parentc96f789f74316ec43fb25cbf694c87a931dd68ca
Initialize dns process before opening display

By opening the display before the dns process is forked, the child
inherits things like ncurses's handler for SIGWINCH (window resize
event), which can cause it to crash and leave the parent process in
an infinite select() loop, freezing the display.
mtr.c