summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormiod <>2002-02-23 19:54:29 +0000
committermiod <>2002-02-23 19:54:29 +0000
commita3d41979f88fc8fca61c974a09d58e2dfb47d979 (patch)
tree7af0236003428fa00eff94ade09f160b72d26e06
parent8aee9880ed625ae9cd5bcc9d1099c3af3d6f416a (diff)
downloadopenbsd-a3d41979f88fc8fca61c974a09d58e2dfb47d979.tar.gz
openbsd-a3d41979f88fc8fca61c974a09d58e2dfb47d979.tar.bz2
openbsd-a3d41979f88fc8fca61c974a09d58e2dfb47d979.zip
deraadt@ objects to the caveat remark, so remove it.
-rw-r--r--src/lib/libc/stdlib/getopt.312
1 files changed, 1 insertions, 11 deletions
diff --git a/src/lib/libc/stdlib/getopt.3 b/src/lib/libc/stdlib/getopt.3
index 4f6fe9749b..083849f42c 100644
--- a/src/lib/libc/stdlib/getopt.3
+++ b/src/lib/libc/stdlib/getopt.3
@@ -29,7 +29,7 @@
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE. 30.\" SUCH DAMAGE.
31.\" 31.\"
32.\" $OpenBSD: getopt.3,v 1.15 2002/02/23 19:50:01 miod Exp $ 32.\" $OpenBSD: getopt.3,v 1.16 2002/02/23 19:54:29 miod Exp $
33.\" 33.\"
34.Dd April 19, 1994 34.Dd April 19, 1994
35.Dt GETOPT 3 35.Dt GETOPT 3
@@ -192,16 +192,6 @@ The
192.Fn getopt 192.Fn getopt
193function appeared in 193function appeared in
194.Bx 4.3 . 194.Bx 4.3 .
195.Sh CAVEATS
196Some software use the very bad practice of affecting the return value of
197.Fn getopt
198to a
199.Ft char
200variable.
201On platforms where
202.Ft char
203is unsigned by default, a comparison of this variable to \-1 to detect the
204end of the argument list will never succeed.
205.Sh BUGS 195.Sh BUGS
206The 196The
207.Fn getopt 197.Fn getopt