Shawn Moore's request in 1617269.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@648 c06c8d41-db1a-0410-9941-cceddc491573
VAYRSLA2HKHRQRQRT4PDCOUKEEBB746S76UMS57CMG3M2L6KFWHQC
RPOZZWKG5GLPHVZZ7ZKMKS64ZMV2LDCQSARBJFJ6FZOTOKCQO7FAC
6FP3DI73ZTZXCAE4BVTIS3ZXW6JAKJDMDPKWOEJUNYBIWPVYQKBQC
K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC
if (next_arg[0] != '-')
if (next_arg[0] != '-' || strlen(next_arg) == 1)
// allow reading from standard input if ( scores == "-" ) return stdin;
// allow reading from standard input
if ( scores == "-" )
return stdin;
if (handle == NULL)
if (handle == NULL || handle == stdin)