Prevent crash on help-click for engine without manual
authorH.G.Muller <hgm@hgm-xboard.(none)>
Fri, 29 Apr 2016 14:16:52 +0000 (16:16 +0200)
committerH.G.Muller <hgm@hgm-xboard.(none)>
Sun, 8 May 2016 12:06:34 +0000 (14:06 +0200)
commitff21bd1b1c3a47cc0cf17d4c11125d18b53f30d8
tree089a9e27d088fad7cd0d7904fb714c205870ca83
parente2e12be05f1b7fbb8250b2c44f426f63946d1331
Prevent crash on help-click for engine without manual

The error message of "man w xxx" when no man entry for xxx exists
appears on stderr, which is not caught by popen(). As a result the
path to the man file gets set to an empty string, and saveStrCpy
is not so save that it can copy an empty string, but quits XBoard
through an ASSERT in that case.
dialogs.c