Re: [Grep-devel] handling of non-BMP characters

2018-12-19 Thread arnold
Paul Eggert wrote: > On 12/18/18 11:51 PM, Bruno Haible wrote: > >2) change those gnulib modules that don't behave well with beyond-BMP > > characters on Windows and AIX to use char32_t instead of wchar_t. > > This sounds good to me. I assume the regexp code will need to be changed > a

Re: how to build gnulib for shared libraries?

2018-12-19 Thread Bruno Haible
Hi Szabolcs, (or should I say "Hi Nagy"? Sorry, with Hungarian proper names, I never know what is the surname and what is the given name.) > by default gnulib is not built with -fPIC so it is not > suitable for shared libraries. > > is there an easy way to build gnulib .a with -fPIC so > it can

Re: [RFC PATCH] test-c-stack2.sh: skip if the platform sent SIGILL on an invalid address.

2018-12-19 Thread Bruno Haible
Hi Ivan, > +# E2K (elbrus) systems send SIGILL on an access to an invalid > address. This is a bug in the system. Access of an invalid address ought to produce a SIGSEGV or SIGBUS. 'elbrus' is not an important OS so far, for which it would be worth adding workarounds in the gnulib sourc

Re: [PATCH] test-lchown.h: "symlink ownership not supported" is indicated by EOPNOTSUPP

2018-12-19 Thread Bruno Haible
Hi Ivan, > Such convention concerning the meaning of EOPNOTSUPP was also stated > in The Open Group Base Specifications Issue 6 > IEEE Std 1003.1, 2004 Edition > (http://pubs.opengroup.org/onlinepubs/009604599/functions/lchown.html); > however, the EOPNOTSUPP case is removed in Issue 7, 2018 Editi

Re: [platform-testers] new snapshot available: grep-3.1.51-e767

2018-12-19 Thread Bruno Haible
Assaf Gordon wrote: > The log file shows: > >FAIL: test-wctype-h >=== >test-wctype-h.c:55: assertion '!iswcntrl (e)' failed >FAIL test-wctype-h.exe (exit status: 134) Thanks. I've forwarded the report to the Cygwin people: https://cygwin.com/ml/cygwin/2018-12/msg00

Re: [PATCH] vasnprintf: Don't use %n on android

2018-12-19 Thread Bruno Haible
Hi, Hugo Beauzée-Luyssen wrote: > 12-14 19:10:02.633 F DEBUG : pid: 31664, tid: 32389, name: VlcObject >>> > org.videolan.vlc <<< > 12-14 19:10:02.633 F DEBUG : signal 6 (SIGABRT), code -1 (SI_QUEUE), fault > addr > 12-14 19:10:02.633 F DEBUG : Abort message: 'FORTIFY: %n not all

Re: [Grep-devel] handling of non-BMP characters

2018-12-19 Thread Paul Eggert
On 12/18/18 11:51 PM, Bruno Haible wrote: 2) change those gnulib modules that don't behave well with beyond-BMP characters on Windows and AIX to use char32_t instead of wchar_t. This sounds good to me. I assume the regexp code will need to be changed accordingly, and if so I can volun

Re: [Grep-devel] handling of non-BMP characters

2018-12-19 Thread Jim Meyering
On Tue, Dec 18, 2018 at 11:51 PM Bruno Haible wrote: > Corinna Vinschen wrote in > : > > it would be > > pretty nice if that code could get reverted back in to support > > non-BMP charsets even on Cygwin. > > I agree that support

[PATCH] vasnprintf: Don't use %n on android

2018-12-19 Thread Hugo Beauzée-Luyssen
12-14 19:10:02.633 F DEBUG : pid: 31664, tid: 32389, name: VlcObject >>> org.videolan.vlc <<< 12-14 19:10:02.633 F DEBUG : signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr 12-14 19:10:02.633 F DEBUG : Abort message: 'FORTIFY: %n not allowed on Android' --- lib/vasnprintf.c | 3

Re: [Grep-devel] handling of non-BMP characters

2018-12-19 Thread Corinna Vinschen
On Dec 19 15:41, Corinna Vinschen wrote: > On Dec 19 08:51, Bruno Haible wrote: > > Corinna Vinschen wrote in > > : > > > it would be > > > pretty nice if that code could get reverted back in to support > > > non-BMP charsets even

Re: [Grep-devel] handling of non-BMP characters

2018-12-19 Thread Corinna Vinschen
On Dec 19 08:51, Bruno Haible wrote: > Corinna Vinschen wrote in > : > > it would be > > pretty nice if that code could get reverted back in to support > > non-BMP charsets even on Cygwin. > > I agree that support for beyond-BMP

Re: random module linking problem on mingw ?

2018-12-19 Thread Assaf Gordon
On 2018-12-16 8:29 a.m., Bruno Haible wrote: For me, with a gnulib testdir created through ./gnulib-tool --create-testdir --dir=../testdir1 --single-configure random I still get a link error in test-random. "nm" shows why: random.o defines __initstate and __setstate, where test-random.c expec

Re: [platform-testers] new snapshot available: grep-3.1.51-e767

2018-12-19 Thread Assaf Gordon
On 2018-12-18 5:49 a.m., Bruno Haible wrote: Hi Assaf, In you reported: CYGWIN_NT-10.0 2.11.1(0.329/5/3) (x86_64) (with one gnulib failure: test-wctype-h) Can you please give more details? With an older version of Cygw

Re: [Grep-devel] handling of non-BMP characters

2018-12-19 Thread Bruno Haible
Corinna Vinschen wrote in : > it would be > pretty nice if that code could get reverted back in to support > non-BMP charsets even on Cygwin. I agree that support for beyond-BMP characters should be added back to 'grep'. Your ea