Re: mingw conflict between mkdtemp and sys_stat

2006-10-17 Thread Paul Eggert
Eric Blake <[EMAIL PROTECTED]> writes: > It just looks nicer if we provide gnulib > modules with exported APIs that do not lie in the reserved namespace. Sure, but can't you do something like the following (taken from mktime.c)? This minimizes the changes from libc and packages it inside "#ifnde

Re: mingw conflict between mkdtemp and sys_stat

2006-10-17 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Paul Eggert on 10/14/2006 10:46 PM: > Eric Blake <[EMAIL PROTECTED]> writes: > >> Best of all, this patch deletes more than twice as many lines than what it >> adds >> in new files :) > > I like that part! > > As for mkstemp, there is

Re: proposed patch to allocsa, vasnprintf for Tandem NSK (OSS)

2006-10-17 Thread Paul Eggert
Matthew Woehlke <[EMAIL PROTECTED]> writes: > Paul Eggert wrote: >> We haven't observed any bug with left shift of long long int, even >> with -O. > > We haven't? I thought I'd said both had problems; Sorry; evidently I misunderstood you. > I should get to it eventually, but I have a lot of *ahe

Re: hello-2.1.93 internationalization doesn't work

2006-10-17 Thread Karl Berry
Subject: Re: hello-2.1.93 internationalization doesn't work Yikes. The reason is that HAVE_SETLOCALE is tested, but nowhere defined. Applied the patch. Thanks.

Re: proposed patch to allocsa, vasnprintf for Tandem NSK (OSS)

2006-10-17 Thread Matthew Woehlke
Paul Eggert wrote: Matthew Woehlke <[EMAIL PROTECTED]> writes: Are you not catching the discussion on the coreutils list? Quite possibly he's not. To summarize what I have observed so far: We have observed no bugs when compiling without -O, so that seems to be a viable platform. We haven't

Re: proposed patch to allocsa, vasnprintf for Tandem NSK (OSS)

2006-10-17 Thread Paul Eggert
Matthew Woehlke <[EMAIL PROTECTED]> writes: > Are you not catching the discussion on the coreutils list? Quite possibly he's not. To summarize what I have observed so far: We have observed no bugs when compiling without -O, so that seems to be a viable platform. We haven't observed any bug wit

Re: signed.m4 again

2006-10-17 Thread Ralf Wildenhues
Hello Paul, Apologies for the delay. * Paul Eggert wrote on Thu, Oct 12, 2006 at 10:28:27PM CEST: > Ralf Wildenhues <[EMAIL PROTECTED]> writes: > > > - [AC_TRY_COMPILE(, [signed char x; return !x;], > > + [AC_TRY_COMPILE(, [signed char x; return !sizeof x;], > > Wouldn't this be a bit bette

Re: proposed patch to allocsa, vasnprintf for Tandem NSK (OSS)

2006-10-17 Thread Matthew Woehlke
Bruno Haible wrote: Hello Mathew, mwoehlke wrote: Ok, I did this: { right_works = FALSE; \ printf("j=%i\n", j);\ printf("shc=%i\n", shc);\ printf("sample1=%Ld\n", sample1);\ printf("sample2=%Ld\n", sample2);\ }

Re: [bug-gnulib] proposed patch to allocsa, vasnprintf for Tandem NSK (OSS)

2006-10-17 Thread Bruno Haible
Hello Mathew, > mwoehlke wrote: > > Ok, I did this: > > { right_works = FALSE; \ > > printf("j=%i\n", j);\ > > printf("shc=%i\n", shc);\ > > printf("sample1=%Ld\n", sample1);\ > > printf("sample2=%Ld\n", sample2);\ > > }

localcharset is conditional on HAVE_SETLOCALE

2006-10-17 Thread Paul Eggert
Bruno Haible <[EMAIL PROTECTED]> writes: > The reason is that HAVE_SETLOCALE is tested, but nowhere defined. Since one > can assume setlocale() already for ca. 5 years, there is no risk in removing > the HAVE_SETLOCALE. I just checked, and coreutils tests for setlocale, but only because localchar

Re: [bug-gnulib] new module 'sigprocmask'

2006-10-17 Thread Bruno Haible
Eric Blake wrote: > Checking in this obvious patch: > > 2006-10-17 Eric Blake <[EMAIL PROTECTED]> > > * lib/sigprocmask.c (sigprocmask): Fix typo. > Thanks for turning untested into tested code! (I usually only cross-compile to mingw, without testing.) Bruno

Re: new module 'sigprocmask'

2006-10-17 Thread Eric Blake
Bruno Haible clisp.org> writes: > > This module adds a sigprocmask() emulation based on signal(). > > Comments are welcome, as this is new and so far untested code. > > + > + for (sig = 0; sig < NSIG; sig++) > + if (received[NSIG]) > + { > + #if HAVE_RAISE

Re: new module 'sigprocmask'

2006-10-17 Thread Eric Blake
Bruno Haible clisp.org> writes: > --- 25,40 > fi > ]) > > ! # Prerequisites of lib/sigprocmask.h and lib/sigprocmask.c. > AC_DEFUN([gl_PREREQ_SIGPROCMASK], [ > + AC_CHECK_TYPES([sigset_t], > + [gl_cv_type_sigset_t=yes], [gl_cv_type_sigset_t=no], > + [#include > + /* Mingw

Re: hello-2.1.93 internationalization doesn't work

2006-10-17 Thread Bruno Haible
$ locale LANG=de_DE.UTF-8 LC_CTYPE="de_DE.UTF-8" LC_NUMERIC="de_DE.UTF-8" LC_TIME="de_DE.UTF-8" LC_COLLATE=POSIX LC_MONETARY="de_DE.UTF-8" LC_MESSAGES="de_DE.UTF-8" LC_PAPER="de_DE.UTF-8" LC_NAME="de_DE.UTF-8" LC_ADDRESS="de_DE.UTF-8" LC_TELEPHONE="de_DE.UTF-8" LC_MEASUREMENT="de_DE.UTF-8" LC_IDENT

Re: [bug-gnulib] clean-temp usage question

2006-10-17 Thread Bruno Haible
Eric Blake wrote: > Is it okay to apply this patch, to reduce make output clutter? Yes, please apply. Bruno

gettext.h: support for libraries

2006-10-17 Thread Bruno Haible
Hi, I added this support for libraries to gettext.h, in sync with GNU gettext. 2006-10-17 Bruno Haible <[EMAIL PROTECTED]> * lib/gettext.h (gettext, ngettext, pgettext, npgettext): Define differently if DEFAULT_TEXT_DOMAIN is set. diff -r -c3 --exclude='*.po*' --exclude='*.in

clean-temp tweak

2006-10-17 Thread Bruno Haible
This avoids a gcc warning about fwriteerror() being undeclared. 2006-10-16 Bruno Haible <[EMAIL PROTECTED]> * lib/clean-temp.c: Include fwriteerror.h. *** gnulib-20061012/lib/clean-temp.c2006-10-07 21:30:45.0 +0200 --- gnulib-20061012-modified/lib/clean-temp.c 2006-10-17

getndelim2.m4 and LIBOBJS

2006-10-17 Thread Bruno Haible
Hi, This undoes a change from 2003-10-23 that is not needed any more since 2005-08-02, since Simon rewrote the getline module to not depend on getndelim2 any more. The change is actually wrong now that gnulib-tool's redefinition of AC_LIBOBJ is unrelated to LIBOBJS. 2006-10-16 Bruno Haible <[EM

Re: [bug-gnulib] Re: new module 'sigprocmask'

2006-10-17 Thread Bruno Haible
Eric Blake wrote: > The mingw system header contains this snippet: > > #ifndef _SIGSET_T_ > #define _SIGSET_T_ > typedef int _sigset_t; > > #ifndef _NO_OLDNAMES > typedef _sigset_t sigset_t; > #endif > #endif/* Not _SIGSET_T_ */ > > It looks like you need to add a conf