wprintf anybody?

Corinna Vinschen corinna-cygwin@cygwin.com
Fri Apr 11 17:18:00 GMT 2008


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



More information about the Cygwin-developers mailing list