use `int` in place of `char` when you compare it to EOF
restore some redundant changes
update xfile
update xfile
Merge branch 'master' into rspi
Merge branch 'master' into rspi

Conflicts:
	src/read.c
Merge pull request #181 from KeenS/rspi

Fix build error on Raspberry Pi