Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.6.0-0.2

2016-07-27 Thread Corinna Vinschen
On Jul 27 10:03, Corinna Vinschen wrote:
> On Jul 26 22:48, Denis Excoffier wrote:
> > 
> > > On 2016-07-26 16:00, Corinna Vinschen wrote:
> > > 
> > > Hi Cygwin developers and maintainers,
> > > Hi everyone else,
> > > 
> > > 
> > > I uploaded a new Cygwin test release 2.6.0-0.2.
> > > 
> > > Supposed to fix the problems reported in
> > > https://cygwin.com/ml/cygwin/2016-07/msg00274.html and followups.
> > > 
> > Hello,
> > 
> > Is this test release expected to work on 32 bits?
> > 
> > I have a CYGWIN_NT-6.1-WOW (W7 + 32bits) and my .bat file (that contains
> > ("bash --long -i") breefly opens but immediately closes with
> > no text output. Permissions on the cygwin1.dll file are correct.
> > 
> > 2.6.0-0.1 does the same. However, 2.5.2-1 is ok, and
> > snapshots dated 20160714 and 20160719 were ok also.
> > 
> > I desactivated my .profile, in order that LC_CTYPE=fr_FR@euro
> > does not enter into the picture, but same result.
> > 
> > I also recompiled from the sources, no error, but same result.
> 
> WFFM on W10 WOW64.  Did you try to git bisect?

I think I found the problem though I'm not sure why this worked
on W10 and failed on W7.  Anyway, the patch will be in the today's
2.6.0-0.3 test release.

Editorial note: I hope the patch is sufficient.  I still have a
vague feeling I'm missing something...


Thanks,
Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat


signature.asc
Description: PGP signature


Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.6.0-0.2

2016-07-27 Thread Corinna Vinschen
On Jul 26 22:48, Denis Excoffier wrote:
> 
> > On 2016-07-26 16:00, Corinna Vinschen wrote:
> > 
> > Hi Cygwin developers and maintainers,
> > Hi everyone else,
> > 
> > 
> > I uploaded a new Cygwin test release 2.6.0-0.2.
> > 
> > Supposed to fix the problems reported in
> > https://cygwin.com/ml/cygwin/2016-07/msg00274.html and followups.
> > 
> Hello,
> 
> Is this test release expected to work on 32 bits?
> 
> I have a CYGWIN_NT-6.1-WOW (W7 + 32bits) and my .bat file (that contains
> ("bash --long -i") breefly opens but immediately closes with
> no text output. Permissions on the cygwin1.dll file are correct.
> 
> 2.6.0-0.1 does the same. However, 2.5.2-1 is ok, and
> snapshots dated 20160714 and 20160719 were ok also.
> 
> I desactivated my .profile, in order that LC_CTYPE=fr_FR@euro
> does not enter into the picture, but same result.
> 
> I also recompiled from the sources, no error, but same result.

WFFM on W10 WOW64.  Did you try to git bisect?


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat


signature.asc
Description: PGP signature


Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.6.0-0.2

2016-07-26 Thread Corinna Vinschen
On Jul 26 15:30, Ken Brown wrote:
> On 7/26/2016 1:37 PM, Corinna Vinschen wrote:
> > Now for some testing of the new API...? :)
> 
> There seems to be a collation bug.  Here's a test case, extracted from the
> emacs test suite:
> 
> $ cat collation_test.c
> #include 
> #include 
> #include 
> #include 
> #include 
> 
> int
> main (void)
> {
>   locale_t loc = newlocale (LC_COLLATE_MASK | LC_CTYPE_MASK,
> "en_US.UTF-8", 0);
>   if (!loc)
> {
>   perror ("newlocale");
>   exit (1);
> }
> 
>   wchar_t *p1 = L"xyzzy", *p2 = L"XYZZY";
>   errno = 0;
>   int res = wcscoll_l (p1, p2, loc);
>   if (errno)
> {
>   perror ("wcscoll_l");
>   exit (1);
> }
>   char res_ch = res < 0 ? '<' : res > 0 ? '>' : '=';
>   freelocale (loc);
>   printf ("\"%ls\" %c \"%ls\" in locale en_US.UTF-8\n", p1, res_ch, p2);
> }
> 
> $ gcc collation_test.c
> 
> $ ./a
> "xyzzy" > "XYZZY" in locale en_US.UTF-8

Thanks a lot for the testcase.  I applied a patch, but it's late here so
I create a new testversion tomorrow.


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat


signature.asc
Description: PGP signature


Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.6.0-0.2

2016-07-26 Thread Denis Excoffier

> On 2016-07-26 16:00, Corinna Vinschen wrote:
> 
> Hi Cygwin developers and maintainers,
> Hi everyone else,
> 
> 
> I uploaded a new Cygwin test release 2.6.0-0.2.
> 
> Supposed to fix the problems reported in
> https://cygwin.com/ml/cygwin/2016-07/msg00274.html and followups.
> 
Hello,

Is this test release expected to work on 32 bits?

I have a CYGWIN_NT-6.1-WOW (W7 + 32bits) and my .bat file (that contains
("bash --long -i") breefly opens but immediately closes with
no text output. Permissions on the cygwin1.dll file are correct.

2.6.0-0.1 does the same. However, 2.5.2-1 is ok, and
snapshots dated 20160714 and 20160719 were ok also.

I desactivated my .profile, in order that LC_CTYPE=fr_FR@euro
does not enter into the picture, but same result.

I also recompiled from the sources, no error, but same result.

Latest packages.

Regards,




--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.6.0-0.2

2016-07-26 Thread Ken Brown

On 7/26/2016 1:37 PM, Corinna Vinschen wrote:

Now for some testing of the new API...? :)


There seems to be a collation bug.  Here's a test case, extracted from 
the emacs test suite:


$ cat collation_test.c
#include 
#include 
#include 
#include 
#include 

int
main (void)
{
  locale_t loc = newlocale (LC_COLLATE_MASK | LC_CTYPE_MASK,
"en_US.UTF-8", 0);
  if (!loc)
{
  perror ("newlocale");
  exit (1);
}

  wchar_t *p1 = L"xyzzy", *p2 = L"XYZZY";
  errno = 0;
  int res = wcscoll_l (p1, p2, loc);
  if (errno)
{
  perror ("wcscoll_l");
  exit (1);
}
  char res_ch = res < 0 ? '<' : res > 0 ? '>' : '=';
  freelocale (loc);
  printf ("\"%ls\" %c \"%ls\" in locale en_US.UTF-8\n", p1, res_ch, p2);
}

$ gcc collation_test.c

$ ./a
"xyzzy" > "XYZZY" in locale en_US.UTF-8

Ken

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.6.0-0.2

2016-07-26 Thread Corinna Vinschen
On Jul 26 11:09, Jim Reisert AD1C wrote:
> I can also confirm the xdg menu problems are fixed.  Thanks!

Good news from both of you.

Now for some testing of the new API...? :)


Thanks,
Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat


signature.asc
Description: PGP signature


Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.6.0-0.2

2016-07-26 Thread Jim Reisert AD1C
I can also confirm the xdg menu problems are fixed.  Thanks!

-- 
Jim Reisert AD1C, , http://www.ad1c.us

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.6.0-0.2

2016-07-26 Thread Ken Brown

On 7/26/2016 10:00 AM, Corinna Vinschen wrote:

Hi Cygwin developers and maintainers,
Hi everyone else,


I uploaded a new Cygwin test release 2.6.0-0.2.

Supposed to fix the problems reported in
https://cygwin.com/ml/cygwin/2016-07/msg00274.html and followups.


Confirmed.

Thanks.

Ken


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



[ANNOUNCEMENT] TEST RELEASE: Cygwin 2.6.0-0.2

2016-07-26 Thread Corinna Vinschen
Hi Cygwin developers and maintainers,
Hi everyone else,


I uploaded a new Cygwin test release 2.6.0-0.2.

Supposed to fix the problems reported in
https://cygwin.com/ml/cygwin/2016-07/msg00274.html and followups.

===

For those building Cygwin from source, the new code is only available
in the topic/locales branch yet.

===

The 2.6.0 release is going to introducing the locale_t datatype, as well
as all functions related to locale_t locales and per-thread locales per
POSIX-1.2008.

So, rather than just providing a single, per-process locale, you can now
create new locales ("newlocale") and set it as locale for the current
thread ("uselocale") or use it directly with one of the new functions
taking a locale_t as parameter (i.e. isalpha_l).

The full list of new interfaces is:

  newlocale, freelocale, duplocale, uselocale

  isalnum_l, isalpha_l, isascii_l, isblank_l, iscntrl_l, isdigit_l,
  isgraph_l, islower_l, isprint_l, ispunct_l, isspace_l, isupper_l,
  iswalnum_l, iswalpha_l, iswblank_l, iswcntrl_l, iswctype_l,
  iswdigit_l, iswgraph_l, iswlower_l, iswprint_l, iswpunct_l,
  iswspace_l, iswupper_l, iswxdigit_l, isxdigit_l
  
  toascii_l, tolower_l, toupper_l, towctrans_l, towlower_l, towupper_l,
  wctrans_l, wctype_l

  strcasecmp_l, strcoll_l, strncasecmp_l, strxfrm_l

  wcscasecmp_l, wcscoll_l, wcstrncasecmp_l, wcstrxfrm_l

  strfmon_l, strftime_l

===

Since this is brand-new code, this code *will* have bugs.

It would be very helpful if interested developers and Cygwin package
maintainers could give this new stuff some good testing.


Thanks,
Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple