xwinclip - setlocale error

J S vervoom@hotmail.com
Fri Dec 6 07:10:00 GMT 2002


I downloaded the latest xwinclip but when I try to run it I get:

$ xwinclip
UnicodeSupport - Windows NT/2000/XP
setlocale() error

The corresponding code is:

  /* Set the current locale?  What does this do? */
  if (fUnicodeSupport)
    {
#ifdef X_LOCALE
      if (!_Xsetlocale (LC_ALL, ""))
#else
        if (!setlocale (LC_ALL, ""))
#endif
          {
            printf ("setlocale() error\n");
            exit (1);
          }

Can anyone explain to me what's happening here? I tried setting the LC_ALL 
variable but didn't get anywhere.

Thanks,

JS.






_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail



More information about the Cygwin-xfree mailing list