[augeas-devel] Re: getting augeas 0.5.3 to compile on Solaris

David Lutterkort lutter at redhat.com
Mon Oct 26 12:56:05 UTC 2009


On Wed, 2009-10-21 at 15:49 +0200, Dan Bode wrote:
> 4. Add the following code to src/lens.c 
> 
>        char *stpncpy(char *dest, const char *src, size_t n) {
>          char *d = dest;
>          while (d-dest < n && *src)
>            *d++ = *src++;
>          return d;
>        }

This is needed for 0.5.3 - the next release won't need that step
anymore, since the gnulib folks agreed to relicense their stpncpy so
that it can be used by augeas.

David





More information about the augeas-devel mailing list