Detect EOF waiting for user input in xshogi and raw modes, and trigger exit.
authorYann Dirson <ydirson@free.fr>
Mon, 14 Oct 2013 19:34:04 +0000 (21:34 +0200)
committerYann Dirson <ydirson@free.fr>
Mon, 14 Oct 2013 19:34:04 +0000 (21:34 +0200)
commit389702a9b4201dd03f756606f41eb58516997272
tree2448525178df7d78ff88af09473bbacb5e866b85
parenta7faec206e54cc6c635ca9789ac0940630f07c31
Detect EOF waiting for user input in xshogi and raw modes, and trigger exit.

No idea why the raw implementation of ExitShogi() did not call exit().
Even after detecting EOF, we were thrown into a tight loop...
gnushogi/commondsp.c
gnushogi/rawdsp.c