Remove use of str_list_make_v3

Volker Lendecke Volker.Lendecke at SerNet.DE
Thu May 14 21:06:38 GMT 2009


On Fri, May 15, 2009 at 03:24:32AM +1000, Andrew Bartlett wrote:
> Here I attach a patch to use str_list_make_shell(), which *should* be
> equivilant to str_list_make_v3(), with the exception that like
> str_list_make(), it returns an empty (not NULL) list for a "" or NULL
> argument.  I've adjusted password.c and map_username.c to cope with
> this.  (Need to check and understand the loadparam behaviour).

Looking at str_list_make_shell() it uses strcspn() to figure
out the separators, whereas str_list_make_v3 uses
strchr_m(). Are they equivalent?

Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20090514/4054b6b5/attachment.bin


More information about the samba-technical mailing list