Bug#182157: wrong assumption on char signedness
char is per default unsigned on arm, powerpc and s390. There iare two warnings
fileio.c:648: warning: comparison is always true due to limited range of data
fileio.c:697: warning: comparison is always true due to limited range of data
during build of your package that might cause a runtime error. Please check
In your case the variable c should be defined as int. Defining it as
char is even wrong on i386, since the char 0xff is then interpreted as EOF.
On the platforms mentioned above the EOF condition is never true, leading to
an infinite loop.