21 Jul
2010
21 Jul
'10
9:14 a.m.
On 07/21/10 10:14, Alexandre Julliard wrote:
Piotr Caban<piotr(a)codeweavers.com> writes:
+/* ?not_eof@?$char_traits(a)G@std@@SAGABG(a)Z */ +unsigned short CDECL MSVCP_char_traits_short_not_eof(const unsigned short *in) +{ + return (*in==0 ? !0 : *in); +}
Aren't you supposed to return 0 for eof?
eof should be equal to -1, this function should return 0 if *in==-1. I've sent fixed version of this patch.