gnulib translation handling documentation (was Re: Request for translations: man-db-2.5.1-pre1.pot)

2008-01-02 Thread Colin Watson
On Thu, Jan 03, 2008 at 12:36:38AM +0100, Bruno Haible wrote: > Hello Colin and Benno, > > Bruno, is the scheme I outlined in the quoted text above a > > reasonable way to handle translations of gnulib strings in a client > > package? > > Yes, absolutely. Excellent. > > I'm trying to avoid havin

Re: commit to gnulib.texi

2008-01-02 Thread Bruno Haible
Hello Karl, > > http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=b463b61cfbce5128bbec87be04104535349fdec8 > > It contains a grammatical mistake. > > I do not see it. Please tell me. I mean the second hunk, the s/his/per/ in lines 380 and 382 of doc/maintain.texi. Apologies i

Re: Re: memmem issues

2008-01-02 Thread Bruno Haible
Paul Eggert wrote: > section 6.2.6.1: > ... > Here again, the intent is that memcmp(&x, &y, sizeof (T)) compares all > the bits in the underlying representation. The only way to do that > portably is via "unsigned char *". OK. Here's a proposed patch for the memmem function. Bruno

Re: About missing inverse hyperbolic function

2008-01-02 Thread Bruno Haible
Hello, Bastien Roucaries wrote: > I need for my program to use asinh acosh and atanh. For now I used to define > > it if missing using > #define asinh(x) log(x+sqrt(x*x+1)) > #define acosh(x) log(x+sqrt(x-1.0)*sqrt(x+1.0)) > #define atanh(x) (0.5*log(x+1)-0.5*log(1-x)) > > How can I create a g

Re: commit to gnulib.texi

2008-01-02 Thread Karl Berry
I mean the second hunk, the s/his/per/ in lines 380 and 382 of doc/maintain.texi. Apologies if it's a kind of English that I don't understand. Ah. It's not a mistake, or rather, one might say, it's an intentional mistake. rms explains in the Preface node, e.g., http://www.gnu.org/prep/m

[resend] About missing inverse hyperbolic function

2008-01-02 Thread Bastien ROUCARIES
(resend using good mail address, sorry) Hi, I need for my program to use asinh acosh and atanh. For now I used to define it if missing using #define asinh(x) log(x+sqrt(x*x+1)) #define acosh(x) log(x+sqrt(x-1.0)*sqrt(x+1.0)) #define atanh(x) (0.5*log(x+1)-0.5*log(1-x)) How can I create a gnuli

About missing inverse hyperbolic function

2008-01-02 Thread Bastien ROUCARIES
Hi, I need for my program to use asinh acosh and atanh. For now I used to define it if missing using #define asinh(x) log(x+sqrt(x*x+1)) #define acosh(x) log(x+sqrt(x-1.0)*sqrt(x+1.0)) #define atanh(x) (0.5*log(x+1)-0.5*log(1-x)) How can I create a gnulib module in order to do that? Regards Ba

test-memmem takes waaay too long

2008-01-02 Thread Ralf Wildenhues
Hello, and a Happy New Year, quoting memmem.m4: AC_CACHE_CHECK([whether memmem works], [gl_cv_func_memmem_works], [AC_RUN_IFELSE([AC_LANG_PROGRAM([#include ], [return !memmem ("a", 1, NULL, 0);])], [gl_cv_func_memmem_works=yes], [gl_cv_func_memmem_works=no], [d

Re: lib/progname.c

2008-01-02 Thread Ralf Wildenhues
[ Cc:ing bug-libtool ] Hello Bruno, Paul, all, * Bruno Haible wrote on Sat, Dec 29, 2007 at 05:36:01PM CET: > Paul Eggert wrote: > > I do have a bit of trouble reading the code, though. > > It doesn't seem to match the comment: e.g., it strips a leading "lt-" > > even when there's no "/.libs/". >

Re: [patch] (but not for gnulib) squash git diff spurious exit code 1

2008-01-02 Thread Thien-Thi Nguyen
() Jim Meyering <[EMAIL PROTECTED]> () Fri, 28 Dec 2007 22:41:37 +0100 I've adapted your patch to apply to the trunk. New one below. It looks like you may want to adjust it further, so that "git diff-index..." with neither --stat option also exits successfully. Do you feel like