Subject: Re: man getopt_long bug
To: None <tech-userlevel@netbsd.org>
From: Julio Merino <jmmv@hispabsd.org>
List: tech-userlevel
Date: 06/03/2002 14:00:05
--sm4nu43k4a2Rpi4c
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Jun 03, 2002 at 01:41:24PM +0200, Martin Ma?ok wrote:
> NetBSD 1.6_BETA1
>=20
> man getopt_long
>=20
> substitute "struct options" with "struct option"

Here you have the patch. You should have sended this as a pr, I think.

Index: getopt_long.3
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /cvsroot/basesrc/lib/libc/stdlib/getopt_long.3,v
retrieving revision 1.7
diff -u -u -r1.7 getopt_long.3
--- getopt_long.3	2002/02/07 09:24:06	1.7
+++ getopt_long.3	2002/06/03 11:59:14
@@ -44,7 +44,7 @@
 .Sh SYNOPSIS
 .Fd #include \*[Lt]getopt.h\*[Gt]
 .Ft int
-.Fn getopt_long "int argc" "char * const *argv" "const char *optstring" "s=
truct options *long options" "int *index"
+.Fn getopt_long "int argc" "char * const *argv" "const char *optstring" "s=
truct option *long options" "int *index"
 .Sh DESCRIPTION
 The
 .Fn getopt_long

--=20
Of course it runs NetBSD - http://www.netbsd.org
HispaBSD member - http://www.hispabsd.org
Julio Merino <jmmv@hispabsd.org>

--sm4nu43k4a2Rpi4c
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (NetBSD)

iD4DBQE8+1pFzz00ZOPKycwRAiPaAJ47TJx63l21e0DBtJrhtcB5FPqzQACXYdLn
A6F3Ey+LFPOa+CImqaPEPg==
=QOto
-----END PGP SIGNATURE-----

--sm4nu43k4a2Rpi4c--