[ds6-devel] nc6 long options

Mauro Tortonesi mauro@deepspace6.net
Sun Dec 29 19:15:18 2002


On Sun, 29 Dec 2002, Chris Leishman wrote:

>
> 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.

good.

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

because in the main trunk there are no files in the contrib directory. so
make was failing, as it was trying to enter in a subdirectory without a
makefile.

-- 
Aequam memento rebus in arduis servare mentem...

Mauro Tortonesi			mauro@deepspace6.net
				mauro@ferrara.linux.it
Deep Space 6 - IPv6 on Linux	http://www.deepspace6.net
Ferrara Linux Users Group	http://www.ferrara.linux.it


More information about the ds6-devel mailing list