On 22 Feb 2017 18:43, Ulf Hermann wrote:
> > sorry, but i don't know what you're talking about. you don't read the
> > gnulib code/modules directly, you just run gnulib-tool and tell it which
> > modules to import. it does all the rest for you.
> >
> > you want asprintf ? then add it to the list.
> > modules=(
> > asprintf
> > glob
> > vasprintf
> > ...whatever else you want...
> > )
> > gnulib-tool --import "${modules[@]}"
>
> I see. Some of the functions are not available from gnulib, though. In
> particular, GNU-style basename abd GNU-style strerror_r. There might be more.
you're probably looking at the raw module list.
you'll want to look at the full documentation instead:
https://www.gnu.org/software/gnulib/MODULES.html
basename() is in the dirname module
you're correct that GNU strerror_r is not handled by gnulib.
that doesn't look like it's too hard to deal with, but it is
something that'd have to be considered.
-mike
signature.asc
Description: Digital signature
