mingw and isnanl

2007-06-11 Thread Eric Blake
gnulib's test-isnanl currently dies on mingw, so we need to update the configure test to account for the brokenness of the native isnanl. fpclassify on mingw is documented to return only these five values: #define FP_NAN 0x0100 #define FP_NORMAL 0x0400 #define FP_INFINITE (FP_N

Re: prepare vasnprintf for Unicode strings

2007-06-11 Thread Bruno Haible
Eric Blake wrote: > > + static const uint8_t u8_null_string[] = > > + { '(', 'N', 'U', 'L', 'L', 0 }; > > Typo. Missing ')'. copy-n-pasted twice more. Oops, fixed. Thanks. > > + uint16_t conversion; /* d i o u x X f e E g G c s p n U % but not C S */ > > what about a A F? Add

Re: prepare vasnprintf for Unicode strings

2007-06-11 Thread Daniel Jacobowitz
On Mon, Jun 11, 2007 at 03:08:53AM +0200, Bruno Haible wrote: > The snprintfv code has not been migrating to gnulib (yet? dormant project?), > so I have no other choice than using gnulib's vasnprintf.c as code base. I ran out of time to work on it - I can't promise I'll get back to it. I do want t

Re: prepare vasnprintf for Unicode strings

2007-06-11 Thread Eric Blake
Bruno Haible clisp.org> writes: > > The Unicode string I/O - essentially a *printf directive 'U' that accepts > Unicode strings as arguments, but also the ability to produce Unicode strings > rather than char* strings - requires some modifications to the vasnprintf > code. Hmm - cygwin (and I a