3677986c7e
The character has to be checked for EOF (-1), otherwise with architectures that use unsigned char by default this breaks at compile and runtime. https://github.com/void-linux/xbps/issues/123