Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Apr 2003 18:58:58 +1000
From:      Tim Robbins <tjr@FreeBSD.ORG>
To:        Dung Patrick <dkt@digitalme.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: regression testing fail in 5.0-Current [locale]
Message-ID:  <20030410185858.A2451@dilbert.robbins.dropbear.id.au>
In-Reply-To: <1049960399.c8e66d40dkt@digitalme.com>; from dkt@digitalme.com on Thu, Apr 10, 2003 at 03:39:59PM %2B0800
References:  <1049960399.c8e66d40dkt@digitalme.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Apr 10, 2003 at 03:39:59PM +0800, Dung Patrick wrote:

> Dear All,
> 
> When I run make in /usr/src/tools/regression/lib/libc/locale, I see this:
> 
> bash-2.05b# make
> for p in test-mbrtowc    test-wcrtomb    test-mbsrtowcs  test-wcsrtombs  test-btowc      test-mbrlen     test-mbtowc     test-wctomb       test-mbstowcs   test-wcstombs   test-mblen; do /usr/src/tools/regression/lib/libc/locale/$p; done
> PASS mbrtowc()
> Assertion failed: (wcrtomb(NULL, UCHAR_MAX + 1, NULL) == 1), function main, file test-wcrtomb.c, line 65.
> Abort trap (core dumped)
> *** Error code 134
> 
> Stop in /usr/src/tools/regression/lib/libc/locale.

Looks like I forgot to merge the fix for this bug when I merged the regression
test for it from my local repo. In any case, the test is right and 5.0-R
and -current have a bug in their wcrtomb() implementations when s == NULL and
wc is an illegal wide character. I'll commit the fix for this shortly, thanks
for pointing it out.


Tim



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030410185858.A2451>