Re: unistdio

2007-02-26 Thread Paolo Bonzini
and (B) the printf I spent all weekend working on merging? So far, it's unrelated. snprintfv lets me define my own handler for %U or similar, but I don't see how to produce UTF-16 or UTF-32 strings with snprintfv, and how to take UTF-16 or UTF-32 strings as arguments without dirty casting. L

Re: link-warning a build-aux file?

2007-02-26 Thread Simon Josefsson
Bruno Haible <[EMAIL PROTECTED]> writes: > Hi Simon, > >> Hi! Do we need to put link-warning.h in build-aux/? Since it is a C >> header file, having it in the lib/ directory seems cleaner to me. > > The file is not included by the C compiler. It's used by some Makefile rules > that don't involve

unistdio (was: Re: new module 'printf-frexpl')

2007-02-26 Thread Bruno Haible
Daniel Jacobowitz wrote: > Could you tell me a little bit about unistdio It's a set of *printf functions for Unicode strings, part of a Unicode string library that I presented here: [1]. Its include file unistdio.h is appended. > and how it interacts with (A) the printf we already have, The inte

Re: printf-frexp and the radix of floating point numbers

2007-02-26 Thread Bruno Haible
Paul Eggert wrote: > > Do they lack the C99 printf 'a' and 'A' conversion?) > > It depends on the compiler and version. For example, SAS/C 7.50 > (April 2004) has 'a' and 'A', but SAS/C 7.00 (April 2001) does not. OK, a mainframe system with a 6 year old compiler - that's enough of a niche marke

Re: recommended copyright stanza?

2007-02-26 Thread Paul Eggert
Eric Blake <[EMAIL PROTECTED]> writes: > Is this something that should be documented in gnulib, or pushed upstream > into http://www.gnu.org/prep/maintain/maintain.html#Copyright-Notices? The latter, I'd say. Please write to [EMAIL PROTECTED] and propose a patch to maintain.texi in context-diff

Re: Reconciliation of libsnprintfv vs. autogen

2007-02-26 Thread Daniel Jacobowitz
On Mon, Feb 26, 2007 at 05:38:55PM +0100, Paolo Bonzini wrote: > > >In the autogen sources it appears to be named SNV_ASSERT_FCN. In the > >libsnprintfv repository, it's named SNV_ASSERT_FMT - just grep for it. > >Which one should it be? Can't have half and half. > > FCN seems more meaningful.

Re: Reconciliation of libsnprintfv vs. autogen

2007-02-26 Thread Paolo Bonzini
In the autogen sources it appears to be named SNV_ASSERT_FCN. In the libsnprintfv repository, it's named SNV_ASSERT_FMT - just grep for it. Which one should it be? Can't have half and half. FCN seems more meaningful. Paolo

Re: Reconciliation of libsnprintfv vs. autogen

2007-02-26 Thread Daniel Jacobowitz
On Mon, Feb 26, 2007 at 08:21:15AM -0800, Bruce Korb wrote: > > #define PRINTF_ERROR(pi, str) \ > >-printf_error(pi, __FILE__, __LINE__, SNV_ASSERT_FMT, str); > >+printf_error(pi, __FILE__, __LINE__, SNV_ASSERT_FCN, str); > > > >That's not defined anywhere. > > It is a function nam

Re: Reconciliation of libsnprintfv vs. autogen

2007-02-26 Thread Bruce Korb
On 2/25/07, Daniel Jacobowitz <[EMAIL PROTECTED]> wrote: Thanks. Unfortunately you've backed two things I've done over the last several days. * snprintfv/custom.c: #include (conditionally) runetype.h before wchar.h * snprintfv/format.c: ditto That's handled in compat.h

Re: new module 'printf-frexpl'

2007-02-26 Thread Daniel Jacobowitz
On Mon, Feb 26, 2007 at 03:59:24PM +0100, Bruno Haible wrote: > Paolo Bonzini asked: > > > Similarly to 'printf-frexp', here is the corresponding module for > > > 'long double'. > > > > What's the difference from frexpl and why can't we obsolete that one? > > You see it by looking into the USE_FR

Re: new module 'printf-frexpl'

2007-02-26 Thread Bruno Haible
Paolo Bonzini asked: > > Similarly to 'printf-frexp', here is the corresponding module for > > 'long double'. > > What's the difference from frexpl and why can't we obsolete that one? You see it by looking into the USE_FREXP_LDEXP branch of lib/printf-frexp.c: - The normalization is different (

recommended copyright stanza?

2007-02-26 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Libtool was just patched to change a lot of copyright license stanzas as follows: | You should have received a copy of the GNU General Public License | -along with GNU Libtool; if not, write to the Free Software | -Foundation, Inc., 51 Franklin Stree

Re: wchar.h

2007-02-26 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Bruno Haible on 2/25/2007 7:05 PM: >> 2007-02-25 Eric Blake <[EMAIL PROTECTED]> >> >> * m4/wchar.m4 (gl_WCHAR_H): Check for runetype.h. >> * lib/wchar_.h [HAVE_RUNETYPE_H]: Include it when needed for Mac >> OS/X. > > Befo

Re: Reconciliation of libsnprintfv vs. autogen

2007-02-26 Thread Daniel Jacobowitz
On Mon, Feb 26, 2007 at 04:58:49AM +0100, Ralf Wildenhues wrote: > * Daniel Jacobowitz wrote on Mon, Feb 26, 2007 at 01:29:53AM CET: > > > > That's from standalone libsnprintfv DLL support, which we're > > obsoleting as we fold it into gnulib. It doesn't work quite right > > anyway, since none of

Re: new module 'printf-frexpl'

2007-02-26 Thread Paolo Bonzini
Bruno Haible wrote: Similarly to 'printf-frexp', here is the corresponding module for 'long double'. What's the difference from frexpl and why can't we obsolete that one? Paolo