Russell King wrote:
> char ch;
> do {
> ch = getopt(...);
> ...
> } while (ch != EOF);
>
> The above fragments of code compile cleanly on architectures which default
> to signed chars.
However, the EOF fragment is broken whatever the signedness :-)
Use `int ch'.
have a nice day,
-- Jamie