Re: first draft of "relocatable" module

2007-03-02 Thread Matthew Woehlke
Bruno Haible wrote: /tmp is world-writable but a directory created by a user in /tmp is not world-writable (assuming an umask of at least 002). Therefore I don't see a security problem here. HP-UX has a default umask of 000. At least if I log on and don't change it myself, that's what I get. I

Re: time_r.h -> time_.h

2007-03-02 Thread Paul Eggert
Bruno Haible <[EMAIL PROTECTED]> writes: > ! Another reason why @file{config.h} must be included before any other > ! include file is that it may define macros like @samp{_GNU_SOURCE} > ! or @samp{_FILE_OFFSET_BITS} which, on glibc systems, have an effect only > ! if defined before the first syste

argp test failure

2007-03-02 Thread Bruno Haible
Hi, On any platform except glibc-based ones, the argp test fails. For example, on MacOS X, like this: Making all in gltests make all-recursive gcc -g -O2 -o test-argp test-argp.o ../gllib/libgnu.a ld: Undefined symbols: _program_name make[4]: *** [test-argp] Error 1 This is because 'error'

sys_socket module: make self-contained

2007-03-02 Thread Bruno Haible
Hi Simon, In the test that I added a few weeks ago, I assumed - like specified in POSIX:2001 - a self-contained . However, the current sys_socket module says that I should include before it. And indeed, without before , the test fails on MacOS X: gcc -DHAVE_CONFIG_H -I. -I. -I. -I.. -I./.. -I

update gettext module

2007-03-02 Thread Bruno Haible
With the current gettext module, the bison-i18n testdir fails, because the macro AM_INTL_SUBDIR didn't exist in gettext-0.15. I'm applying this. The m4/* files have already been updated to gettext-0.16.1 long ago. 2007-03-02 Bruno Haible <[EMAIL PROTECTED]> * modules/gettext (configure

byteswap test failure

2007-03-02 Thread Bruno Haible
Hi Oskar, A few weeks ago, I contributed a unit test for the 'byteswap' module. And it fails on MacOS X. bswap_32(0xDEADBEEF) = 0xEFBE00DE. Do you agree to this proposed patch? 2007-03-02 Bruno Haible <[EMAIL PROTECTED]> * lib/byteswap_.h (bswap_32): Fix formula. --- lib/byteswap_.h

netinet_in module: make self-contained

2007-03-02 Thread Bruno Haible
Hi Simon, Like for , should be self-contained according to POSIX, and the test verifies this. It fails on MacOS X, because it needs to be included first. Here's a proposed change to create an overridden netinet/in.h also in this case. 2007-03-02 Bruno Haible <[EMAIL PROTECTED]> * lib

test-getaddrinfo

2007-03-02 Thread Bruno Haible
Hi Simon, "make check" with the getaddrinfo-tests module yields a lot of output: Finding www.gnu.org service http... res 0: Unknown error flags 0 family 2 socktype 2 protocol 11 addrlen 16: Found 199.232.41.10 getnameinfo 0: Unknown erro

Re: new module mbscasestr, remove module strcasestr

2007-03-02 Thread James Youngman
On 2/5/07, Bruno Haible <[EMAIL PROTECTED]> wrote: This introduces a new module mbscasestr. mbscasestr() is like glibc's strcasestr(), except it works on character strings (i.e. on multibyte strings). Thanks for adding this. Findutils 4.3.x now uses the mbscasestr and mbsstr modules in order t

Re: netinet_in module: make self-contained

2007-03-02 Thread Eric Blake
Bruno Haible clisp.org> writes: > > Hi Simon, > > Like for , should be self-contained according > to POSIX, and the test verifies this. It fails on MacOS X, because it > needs to be included first. Here's a proposed change to > create an overridden netinet/in.h also in this case. > > + > +