NetBSD-Bugs archive

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

Re: lib/55350: NetBSD does not have getopt_long_only(3)



On Fri, Jun 05, 2020 at 05:29:11PM -0700, Chris Hanson wrote:
> On Jun 5, 2020, at 5:24 PM, Joerg Sonnenberger <joerg%bec.de@localhost> wrote:
> > 
> > On Fri, Jun 05, 2020 at 04:16:37PM -0700, Jason Thorpe wrote:
> >> 
> >>> On Jun 5, 2020, at 3:20 PM, Kamil Rytarowski <kamil%netbsd.org@localhost> wrote:
> >>> 
> >>> Last time I worked on it, there was a decision to not implement it.
> >> 
> >> If it's for broader compatibility, why would we not provide it?  Seems ridiculous.
> > 
> > It's only used by certain GNU programs with a horrible inconsistent CLI.
> > Using it can be considered a huge bug in the program. It really
> > shouldn't be added.
> 
> Not just GNU programs; I encountered the lack of this building SoapyDSR.
> 
> Is it reasonable to demand these programs change in order to run? FreeBSD and macOS don’t seem to think so.

Have you read what was said about it earlier? It's really completely
f**ked up. In most cases, just -Dgetopt_long_only=getopt_long works well
enough.

Joerg


Home | Main Index | Thread Index | Old Index