segment: Fix read past end of buffer when input ends in '-'.
[pspp] / lib /
drwxr-xr-x   ..
-rw-r--r-- 901 automake.mk
drwxr-xr-x - linreg
drwxr-xr-x - tukey