This is the mail archive of the
cygwin-developers
mailing list for the Cygwin project.
Re: wprintf anybody?
On Apr 12 01:58, Kazuhiro Fujieda wrote:
> >>> On Fri, 11 Apr 2008 16:21:58 +0200
> >>> Corinna Vinschen said:
>
> > My lack of NLS knowledge shows again: Would your implementation
> > be sufficent for a str/wcscoll, str/wcsxfrm implementation?
>
> Yes, all right. But I implemented only strcoll and strxfrm.
> I believe I can implement wcs versions with the same manner.
Cool. I guess we could use the same approach as FreeBSD:
int wcscoll()
{
if (FAILS(wcstombs())
wcscmp();
else
strcoll();
}
Analogous for wcsxfrm.
Thanks,
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat