Mail Archives: djgpp-workers/2000/06/16/05:06:10
Eli Zaretskii wrote:
> This issue really is (will be) relevant in wgetc and other
> wide-character I/O functions which we currently don't have. If EOF is
> not supposed to be converted into WEOF, then perhaps there's no
> problem.
EOF is outside of normal character space, and WEOF is outside of
wide char space. And all those functions deal with characters.
So IMHO _no special handling is required_. About getwc() - it is
internal implementation issue. Why can't it just set result to WEOF
when it gets EOF from somewhere else?
> I'm just worried that we are making decisions based on code that was
> not yet written (the wide-character support), and which it might be
> difficult to revert later. Perhaps we should leave wint_t alone, for
> the moment.
If the change could be easy made now, it could be easy reverted when
we start writing actual code. So IMHO there is nothing wrong changing
it now.
Laurynas
- Raw text -