[augeas-devel] Initial Ustr attempt

David Lutterkort dlutter at redhat.com
Fri Jun 13 18:29:44 UTC 2008


On Fri, 2008-06-13 at 13:45 -0400, James Antill wrote:
> This is an initial attempt to use Ustr[1] in augeas instead of "struct
> string" ... it's mostly the least amount of work possible to do a port,
> however I also converted make_regexp() from (char *) to (Ustr *) because
> of the way that consumed the externally allocated data.

My first question is: is ustr widely enough available ? Including
platforms like OS/X and FreeBSD ? If not, is it possible to pull ustr
into the source tree on those platforms, similar to how gnulib is being
pulled in ?

Also, there probably needs to be some change in autoconf that checks for
ustr and/or a flag to pull in ustr on platforms where it's not readily
available.

David





More information about the augeas-devel mailing list