From fba1d2eff06b87f1ea35e69bf9c7e9812d3dc676 Mon Sep 17 00:00:00 2001 From: miod <> Date: Sat, 23 Feb 2002 19:54:29 +0000 Subject: [PATCH] deraadt@ objects to the caveat remark, so remove it. --- src/lib/libc/stdlib/getopt.3 | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/src/lib/libc/stdlib/getopt.3 b/src/lib/libc/stdlib/getopt.3 index 4f6fe974..083849f4 100644 --- a/src/lib/libc/stdlib/getopt.3 +++ b/src/lib/libc/stdlib/getopt.3 @@ -29,7 +29,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: getopt.3,v 1.15 2002/02/23 19:50:01 miod Exp $ +.\" $OpenBSD: getopt.3,v 1.16 2002/02/23 19:54:29 miod Exp $ .\" .Dd April 19, 1994 .Dt GETOPT 3 @@ -192,16 +192,6 @@ The .Fn getopt function appeared in .Bx 4.3 . -.Sh CAVEATS -Some software use the very bad practice of affecting the return value of -.Fn getopt -to a -.Ft char -variable. -On platforms where -.Ft char -is unsigned by default, a comparison of this variable to \-1 to detect the -end of the argument list will never succeed. .Sh BUGS The .Fn getopt