NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lib/56388: curses addstr test fails for LP64BE platforms



In __newwin() and __resizewin(), hash value for line is calculated
as if HAVE_WCHAR is disabled.

If this bug is fixed with this patch:

https://gist.github.com/rokuyama/fad462d0b63934e909b83b584dd3cdc6

addstr test becomes to fail on other platforms including amd64, in
the same manner as on LP64BE machines.

On the other hand, even if this patch is applied, the test case for
lib/55931 (for which this part of test was introduced) does not fail;
the overflown text is truncated instead of overwrapped.

Also, I've confirmed that there is no regression in other ATF tests.

So, I think that check_files/addstr2.chk is generated depending on
``wrong'' behavior due to the bug, and should be regenerated after
the bug is fixed.

Thoughts?

Thanks,
rin


Home | Main Index | Thread Index | Old Index