Trever L. Adams
trever at middleearth.sapphiresunday.org
Wed Oct 12 12:48:49 UTC 2016
On 10/12/2016 06:13 AM, Volker Lendecke wrote:
> A while ago I've created lib/util/strv.[ch] after the glibc argv_*
> routines. glibc has envz_* routines, that are based upon the argv
> ones. Just for consistency, can we create something on top of the
> strv.[ch] ones, modeled after the envz_* routines from glibc? The one
> thing that is missing is turning making an envz formatted blob into an
> array of char * pointers suitable for execle. I did not find a good
> glibc routine for that.
> Nothing spectacularly fancy, but we already have "struct string_list"
> (which I would like to get rid of), we have the strv things, and adding
> yet another string-list like abstraction is something I would like to
> Just my 2ct.
Thank you. I see your point and agree with you.
I will rework this. Would it be appropriate to add a function
strv_to_env to the strv file?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 872 bytes
Desc: OpenPGP digital signature
More information about the samba-technical