Re: [PATCH] mountlist: recognize autofs-mounted remote file systems, too

2016-02-19 Thread Pádraig Brady
On 19/02/16 01:41, Kamil Dudka wrote: > Originally reported at: https://bugzilla.redhat.com/1309247 > * lib/mountlist.c (ME_REMOTE): Return true if a file system is named > "-hosts" because it is used by autofs to mount remote file systems. > --- > ChangeLog | 6 ++ > lib/mountlist.c | 6

Re: signbit issues

2016-02-19 Thread Paul Eggert
Orion Poplawski wrote: That appears to do the trick. Thanks. OK, I installed that. Savannah is currently very slow, so it may take a while for you to get it.

Re: signbit issues

2016-02-19 Thread Orion Poplawski
On 02/19/2016 03:56 PM, Paul Eggert wrote: > On 02/19/2016 01:05 PM, Orion Poplawski wrote: >> It appears that if gnulib detects the "signbit compiler built-ins" it insists >> on using them. > It sounds like lib/math.in.h should be changed to not use the builtins when > compiling C++. Does the atta

Re: signbit issues

2016-02-19 Thread Paul Eggert
On 02/19/2016 01:05 PM, Orion Poplawski wrote: It appears that if gnulib detects the "signbit compiler built-ins" it insists on using them. It sounds like lib/math.in.h should be changed to not use the builtins when compiling C++. Does the attached patch fix your problem, and if not, can you su

Re: signbit issues

2016-02-19 Thread Orion Poplawski
On 02/19/2016 12:45 PM, Paul Eggert wrote: > On 02/19/2016 11:32 AM, Orion Poplawski wrote: >> g++ -DHAVE_CONFIG_H -I. -I.. -I../lib -g -O2 -MT foobar.o -MD -MP -MF >> .deps/foobar.Tpo -c -o foobar.o foobar.cpp >> In file included from foobar.cpp:3:0: >> ../lib/math.h: In function ‘int signbit(f

Re: signbit issues

2016-02-19 Thread Orion Poplawski
On 02/19/2016 12:45 PM, Paul Eggert wrote: > On 02/19/2016 11:32 AM, Orion Poplawski wrote: >> g++ -DHAVE_CONFIG_H -I. -I.. -I../lib -g -O2 -MT foobar.o -MD -MP -MF >> .deps/foobar.Tpo -c -o foobar.o foobar.cpp >> In file included from foobar.cpp:3:0: >> ../lib/math.h: In function ‘int signbit(f

Re: signbit issues

2016-02-19 Thread Paul Eggert
On 02/19/2016 11:32 AM, Orion Poplawski wrote: g++ -DHAVE_CONFIG_H -I. -I.. -I../lib -g -O2 -MT foobar.o -MD -MP -MF .deps/foobar.Tpo -c -o foobar.o foobar.cpp In file included from foobar.cpp:3:0: ../lib/math.h: In function ‘int signbit(float)’: ../lib/math.h:2576:1: error: ‘int signbit(float

Re: signbit issues

2016-02-19 Thread Orion Poplawski
On 02/19/2016 11:39 AM, Paul Eggert wrote: > On 02/18/2016 10:52 AM, Orion Poplawski wrote: >> Any ideas anyone? > > I'm afraid I don't understand your email, as it's ouit of context. Perhaps you > could try sending another email with a complete, self-contained test case > illustrating the bug. O

Re: signbit issues

2016-02-19 Thread Paul Eggert
On 02/18/2016 10:52 AM, Orion Poplawski wrote: Any ideas anyone? I'm afraid I don't understand your email, as it's ouit of context. Perhaps you could try sending another email with a complete, self-contained test case illustrating the bug.

[PATCH 2/2] regex: make it closer to libc

2016-02-19 Thread Paul Eggert
Make Idx a signed type, rather than possibly unsigned. The unsignedness was not really buying us anything, since the code overflows for other reasons before getting to PTRDIFF_MAX. Making it signed allows us to use -1 and -2 with abandon, like libc does, thus lessening the number of differences be

[PATCH 1/2] regex: merge patches from libc

2016-02-19 Thread Paul Eggert
2015-10-21 Joseph Myers 2015-10-20 Joseph Myers Convert miscellaneous function definitions to prototype style. * lib/regcomp.c (re_compile_pattern, re_set_syntax) (re_compile_fastmap, regcomp, regerror, regfree, re_comp): * lib/regexec.c (regexec, re_match, re_search, re_match_2, re_search_2)

[PATCH] mountlist: recognize autofs-mounted remote file systems, too

2016-02-19 Thread Kamil Dudka
Originally reported at: https://bugzilla.redhat.com/1309247 * lib/mountlist.c (ME_REMOTE): Return true if a file system is named "-hosts" because it is used by autofs to mount remote file systems. --- ChangeLog | 6 ++ lib/mountlist.c | 6 -- 2 files changed, 10 insertions(+), 2 dele