[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-recutils] Re: recutils 1.1 and portability
From: |
Bruno Haible |
Subject: |
[bug-recutils] Re: recutils 1.1 and portability |
Date: |
Tue, 21 Dec 2010 04:41:18 +0100 |
User-agent: |
KMail/1.9.9 |
Hello José,
> The 'z' size modifier is not supported in asprintf() on
> Cygwin 1.5.x and BeOS. You need the 'vasnprintf-posix' module instead.
> The gnulib doc about this module was missing; I've added it now.
>
> The vasnprintf-posix module is now imported in git.
The 'vasnprintf-posix' and 'vasprintf' modules together are not sufficient:
On a platform where vasprintf() exists but does not support %zu, gnulib will
arrange for vasnprintf() to be compiled and to support %zu but will not do
anything about %zu in vasprintf(). Whereas if you ask for the 'vasprintf-posix'
module, gnulib will arrange for vasprintf() to support %zu (which normally
will make it use vasnprintf(), but that's just an implementation detail).
Bruno