﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
219	wcscmp() and wcsncmp() are broken	dmik	bird	"wcscmp() and wcsncmp() assume that wchar_t is int while it seems to be short unsigned int by default (and may be made such with -fshort-wchar). This breaks the comparison results by usually negating them which greatly confuses applications.

Attached is a simple patch that casts wchar_t to int before getting the result of the comparison."	defect	closed	normal	libc-0.6.5	libc	0.6	normal	fixed		
