I think if this code is short, self-contained, and BSD licensed, like DM says, then that fits our needs. And sticking it under /utilities, where it won't get put into the library, will eliminate unnecessary code/bloat in the library.
--Chris Troy A. Griffitts wrote: > I think I would like to conclude this thread with deciding that we are > not willing to introduce a dependency to iterate simple program args. > Thank you all for the suggestion. > > -Troy. > > > > DM Smith wrote: >> How about this implementation, as it is pretty short: >> >> Header: >> http://www.mirbsd.org/cvs.cgi/src/include/getopt.h?rev=1.1.1.1;content-type=text%2Fplain >> >> Code: >> http://www.mirbsd.org/cvs.cgi/src/lib/libc/stdlib/getopt_long.c?rev=1.1.1.3;content-type=text%2Fplain >> http://www.mirbsd.org/cvs.cgi/src/lib/libc/stdlib/getsubopt.c?rev=1.3;content-type=text%2Fplain >> >> It is a BSD license that is compatible with GPL (some BSD are not) and >> it is self contained in one file. >> >> -- DM _______________________________________________ sword-devel mailing list: [email protected] http://www.crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page
