Date: Wed, 18 Dec 1996 21:53:20 -0800 (PST) From: imp@village.org To: freebsd-gnats-submit@freebsd.org Subject: bin/2247: getopt should return -1 rather than EOF Message-ID: <199612190553.VAA01969@freefall.freebsd.org> Resent-Message-ID: <199612190600.WAA02217@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 2247 >Category: bin >Synopsis: getopt should return -1 rather than EOF >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Dec 18 22:00:01 PST 1996 >Last-Modified: >Originator: Warner Losh >Organization: The Village >Release: FreeBSD -current as of Dec 18, 1996 >Environment: n/a >Description: The POSIX standard states that getopt should return -1 when it reaches the end of the args. Earlier versions stated EOF explicitly. Although the constants are the same, we should go through the tree at some point and fix this. >How-To-Repeat: >Fix: Merge lite-2 :-). It does this correctly. >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612190553.VAA01969>