glibc/localedata/tests-mbwc
Stefan Liebler 920a0395ba Use correct signedness in wcsncmp
[BZ #18206]
	* wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
	  Use signed comparision instead of substraction to avoid
	  overflow bug.
	* localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
	  Take the sign of ret.
	* localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
	  Do not expect precise return values. Only the sign matters.
	* wcsmbs/Makefile (strop-tests): Add wcsncmp.
	* wcsmbs/test-wcsncmp.c: New File.
	* string/test-strncmp.c: Add wcsncmp support.
2015-04-13 21:25:04 +02:00
..
dat_isw-funcs.h
dat_iswalnum.c Fix Wundef warning with SHOJI_IS_RIGHT 2014-07-08 15:02:58 +05:30
dat_iswalpha.c Fix Wundef warning with SHOJI_IS_RIGHT 2014-07-08 15:02:58 +05:30
dat_iswcntrl.c
dat_iswctype.c Fix Wundef warning with SHOJI_IS_RIGHT 2014-07-08 15:02:58 +05:30
dat_iswdigit.c
dat_iswgraph.c Fix Wundef warning with SHOJI_IS_RIGHT 2014-07-08 15:02:58 +05:30
dat_iswlower.c
dat_iswprint.c Fix Wundef warning with SHOJI_IS_RIGHT 2014-07-08 15:02:58 +05:30
dat_iswpunct.c Fix Wundef warning with SHOJI_IS_RIGHT 2014-07-08 15:02:58 +05:30
dat_iswspace.c
dat_iswupper.c
dat_iswxdigit.c
dat_mblen.c Remove trailing whitespace from localedata. 2013-06-07 14:56:03 +00:00
dat_mbrlen.c Update tst_mbrlen/tst_mbrtowc for mblen change 2015-04-10 15:45:53 -07:00
dat_mbrtowc.c
dat_mbsrtowcs.c
dat_mbstowcs.c Fix Wundef warning with SHOJI_IS_RIGHT 2014-07-08 15:02:58 +05:30
dat_mbtowc.c Fix Wundef warning with SHOJI_IS_RIGHT 2014-07-08 15:02:58 +05:30
dat_strcoll.c Fix Wundef warning with SHOJI_IS_RIGHT 2014-07-08 15:02:58 +05:30
dat_strfmon.c
dat_strxfrm.c
dat_swscanf.c Fix Wundef warning with SHOJI_IS_RIGHT 2014-07-08 15:02:58 +05:30
dat_tow-funcs.h
dat_towctrans.c Fix Wundef warning with SHOJI_IS_RIGHT 2014-07-08 15:02:58 +05:30
dat_towlower.c
dat_towupper.c
dat_wcrtomb.c
dat_wcscat.c
dat_wcschr.c
dat_wcscmp.c
dat_wcscoll.c Fix Wundef warning with SHOJI_IS_RIGHT 2014-07-08 15:02:58 +05:30
dat_wcscpy.c
dat_wcscspn.c
dat_wcslen.c
dat_wcsncat.c Fix typos. 2013-08-30 18:08:59 +02:00
dat_wcsncmp.c Use correct signedness in wcsncmp 2015-04-13 21:25:04 +02:00
dat_wcsncpy.c
dat_wcspbrk.c
dat_wcsrtombs.c
dat_wcsspn.c
dat_wcsstr.c
dat_wcstod.c
dat_wcstok.c
dat_wcstombs.c
dat_wcswidth.c Fix Wundef warning with SHOJI_IS_RIGHT 2014-07-08 15:02:58 +05:30
dat_wcsxfrm.c
dat_wctob.c Fix Wundef warning with SHOJI_IS_RIGHT 2014-07-08 15:02:58 +05:30
dat_wctomb.c
dat_wctrans.c
dat_wctype.c
dat_wcwidth.c Fix Wundef warning with SHOJI_IS_RIGHT 2014-07-08 15:02:58 +05:30
tgn_funcdef.h
tgn_locdef.h
tsp_common.c
tst_funcs.h Remove an unused variable in localedata tests. 2011-07-02 16:32:24 -07:00
tst_iswalnum.c
tst_iswalpha.c
tst_iswcntrl.c
tst_iswctype.c
tst_iswdigit.c
tst_iswgraph.c
tst_iswlower.c
tst_iswprint.c
tst_iswpunct.c
tst_iswspace.c
tst_iswupper.c
tst_iswxdigit.c
tst_mblen.c
tst_mbrlen.c
tst_mbrtowc.c Update tst_mbrlen/tst_mbrtowc for mblen change 2015-04-10 15:45:53 -07:00
tst_mbsrtowcs.c
tst_mbstowcs.c
tst_mbtowc.c
tst_strcoll.c
tst_strfmon.c
tst_strxfrm.c
tst_swscanf.c
tst_towctrans.c Fix Wundef warning with SHOJI_IS_RIGHT 2014-07-08 15:02:58 +05:30
tst_towlower.c
tst_towupper.c
tst_types.h * tests-mbwc/tst_types.h (TIN)MBRLEN_REC): Use correct array 2008-12-26 18:59:44 +00:00
tst_wcrtomb.c
tst_wcscat.c
tst_wcschr.c
tst_wcscmp.c
tst_wcscoll.c
tst_wcscpy.c Fix tst_wcscpy.c test. 2015-01-21 12:30:42 +01:00
tst_wcscspn.c
tst_wcslen.c
tst_wcsncat.c
tst_wcsncmp.c Use correct signedness in wcsncmp 2015-04-13 21:25:04 +02:00
tst_wcsncpy.c
tst_wcspbrk.c
tst_wcsrtombs.c
tst_wcsspn.c
tst_wcsstr.c
tst_wcstod.c
tst_wcstok.c
tst_wcstombs.c
tst_wcswidth.c
tst_wcsxfrm.c
tst_wctob.c
tst_wctomb.c
tst_wctrans.c
tst_wctype.c
tst_wcwidth.c