[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: snprintfv for gnulib?
From: |
Paolo Bonzini |
Subject: |
Re: snprintfv for gnulib? |
Date: |
Fri, 23 Feb 2007 13:36:05 +0100 |
User-agent: |
Thunderbird 1.5.0.9 (Macintosh/20061207) |
- The unlocked I/O module isn't actually what snprintfv wants. It
needs flockfile and unlocked-io.h defines that to nothing. All it
really wants is an autoconf check for unlocked IO.
Yes, the same thing that gnulib does in getdelim:
#if !HAVE_FLOCKFILE
# undef flockfile
# define flockfile(x) ((void) 0)
#endif
#if !HAVE_FUNLOCKFILE
# undef funlockfile
# define funlockfile(x) ((void) 0)
#endif
We can just duplicate the code for now and put it in the todo list.
- I don't know how to make one gnulib module override another yet, but
I'm sure we can work something out for the dynamic loading support -
perhaps check an indicator #define for the optional module.
Same idea I had.
I will work on gnulib-izing snprintfv first. Are there any particular
platforms you would recommend compiling for? Otherwise I'll default
to Linux and mingw32.
Yeah, I can help testing it on MacOS. Thank you very much.
Paolo
- Re: snprintfv, (continued)
- Re: snprintfv, Paolo Bonzini, 2007/02/20
- Re: Printf for gnulib?, Daniel Jacobowitz, 2007/02/19
- Re: snprintfv for gnulib?, Bruce Korb, 2007/02/19
- Re: snprintfv for gnulib?, Gary V. Vaughan, 2007/02/19
- Re: snprintfv for gnulib?, Paolo Bonzini, 2007/02/20
- Re: snprintfv for gnulib?, Gary V. Vaughan, 2007/02/20
- Re: snprintfv for gnulib?, Daniel Jacobowitz, 2007/02/22
- Re: snprintfv for gnulib?, Gary V. Vaughan, 2007/02/22
- Re: snprintfv for gnulib?, Paolo Bonzini, 2007/02/28
- Re: snprintfv for gnulib?, Daniel Jacobowitz, 2007/02/23
- Re: snprintfv for gnulib?,
Paolo Bonzini <=
- Re: snprintfv for gnulib?, Gary V. Vaughan, 2007/02/23
- Re: snprintfv for gnulib?, Bruce Korb, 2007/02/23
- Re: snprintfv for gnulib?, Bruno Haible, 2007/02/23
- Reconciliation of libsnprintfv vs. autogen, Bruce Korb, 2007/02/25
- Re: Reconciliation of libsnprintfv vs. autogen, Bruno Haible, 2007/02/25
- Re: Reconciliation of libsnprintfv vs. autogen, Bruce Korb, 2007/02/25
- Re: Reconciliation of libsnprintfv vs. autogen, Larry Jones, 2007/02/25
- Re: Reconciliation of libsnprintfv vs. autogen, Bruce Korb, 2007/02/25
- Re: Reconciliation of libsnprintfv vs. autogen, Larry Jones, 2007/02/26
- Re: Reconciliation of libsnprintfv vs. autogen, Paul Eggert, 2007/02/26