[ds6-devel] nc6 long options

Chris Leishman chris@leishman.org
Sun Dec 29 18:46:29 2002


On Sunday, December 29, 2002, at 08:30 PM, Mauro Tortonesi wrote:
<snip>
> i would first try to use the default getopt_long and alloca installed 
> on
> the system, and then, if they aren't supported by the system, fall 
> back to
> the implementation provided with nc6.
>
> i have seen that you did this with alloca, but your code seems to make
> always use of the getopt_long function supplied with nc6. is there a
> particular reason (maybe a bad portability for getopt_long on non-linux
> systems?) for this?

With the getopt files, if it detects a system getopt these files 
compile to nothing and the system one is used.  Not sure why they chose 
to do it that way, but thats what they seem to do it in all the 
examples I've seen.

BTW - why did you remove contrib from the Makefile.am subdirs?

Regards,
Chris



More information about the ds6-devel mailing list