diff options
author | miod <> | 2002-02-23 19:54:29 +0000 |
---|---|---|
committer | miod <> | 2002-02-23 19:54:29 +0000 |
commit | a3d41979f88fc8fca61c974a09d58e2dfb47d979 (patch) | |
tree | 7af0236003428fa00eff94ade09f160b72d26e06 | |
parent | 8aee9880ed625ae9cd5bcc9d1099c3af3d6f416a (diff) | |
download | openbsd-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.3 | 12 |
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 |
193 | function appeared in | 193 | function appeared in |
194 | .Bx 4.3 . | 194 | .Bx 4.3 . |
195 | .Sh CAVEATS | ||
196 | Some software use the very bad practice of affecting the return value of | ||
197 | .Fn getopt | ||
198 | to a | ||
199 | .Ft char | ||
200 | variable. | ||
201 | On platforms where | ||
202 | .Ft char | ||
203 | is unsigned by default, a comparison of this variable to \-1 to detect the | ||
204 | end of the argument list will never succeed. | ||
205 | .Sh BUGS | 195 | .Sh BUGS |
206 | The | 196 | The |
207 | .Fn getopt | 197 | .Fn getopt |