On Fri, 16 Oct 2009 13:37:28 +0100
Alan Maguire <Alan.Maguire at Sun.COM> wrote:

> ...at:
> 
> http://zhadum.east.sun.com/export/ws/amaguire/nwam1-cr/webrev/

comments on the current implementation in case you don't like my other idea |:

strsep() might be easier then strtok_r().

Run over the string once counting spaces so you can allocate the right
length of argv and you can't ditch the realloc() logic.

numargs is a weird variable name for an index

          Michael

> 
> Thanks!
> 
> Alan
> _______________________________________________
> nwam-dev mailing list
> nwam-dev at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/nwam-dev

Reply via email to