Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sbin/gpt (Christos Zoulas) writes:

> Yes, doesn't libcompat provide our getopt()? Or are you trying to compile
> this standalone?

It does, but from what I understand, we replace only getopt_long()
unconditionnally and use the host's getopt() if the optind variable can
be linked against.

Confirmed on a Linux host in <tooldir>/lib:

$ nm libnbcompat.a | grep getopt
0000000000000098 T __nbcompat_getopt_long

I agree it would be nicer to use always our getopt().


Home | Main Index | Thread Index | Old Index