[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 (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:

# undef flockfile
# define flockfile(x) ((void) 0)
# undef funlockfile
# define funlockfile(x) ((void) 0)

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]