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)
The following reply was made to PR lib/55350; it has been noted by GNATS.
From: Christos Zoulas <christos%zoulas.com@localhost>
To: Jason Thorpe <thorpej%me.com@localhost>
Cc: gnats-bugs%netbsd.org@localhost,
lib-bug-people%netbsd.org@localhost,
gnats-admin%netbsd.org@localhost,
netbsd-bugs%netbsd.org@localhost,
cmhanson%eschatologist.net@localhost
Subject: Re: lib/55350: NetBSD does not have getopt_long_only(3)
Date: Fri, 5 Jun 2020 19:19:06 -0400
--Apple-Mail=_19A97EBC-6523-401F-A129-51186B2C87E9
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=us-ascii
I am torn on that one... It is an ugly interface... I am all for =
compatibility but one can just do #define getopt_option_long_only =
getopt_option_long with the only functional difference that -long-option =
does not work and needs to be entered as --long-option.
christos
> On Jun 5, 2020, at 7:16 PM, Jason Thorpe <thorpej%me.com@localhost> wrote:
>=20
>=20
>> On Jun 5, 2020, at 3:20 PM, Kamil Rytarowski <kamil%netbsd.org@localhost> =
wrote:
>>=20
>> Last time I worked on it, there was a decision to not implement it.
>=20
> If it's for broader compatibility, why would we not provide it? Seems =
ridiculous.
>=20
> -- thorpej
--Apple-Mail=_19A97EBC-6523-401F-A129-51186B2C87E9
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename=signature.asc
Content-Type: application/pgp-signature;
name=signature.asc
Content-Description: Message signed with OpenPGP
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org
iF0EARECAB0WIQS+BJlbqPkO0MDBdsRxESqxbLM7OgUCXtrS6gAKCRBxESqxbLM7
OjrDAJ9/dcJ62z1czwuzf6C2VwJXAyC1CwCg6/AbWTVdWXK8FvSZmh5Po7Nn0b0=
=4waE
-----END PGP SIGNATURE-----
--Apple-Mail=_19A97EBC-6523-401F-A129-51186B2C87E9--
Home |
Main Index |
Thread Index |
Old Index