History log of /freebsd-10.0-release/lib/libc/stdlib/getopt_long.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 259065 07-Dec-2013 gjb

- Copy stable/10 (r259064) to releng/10.0 as part of the
10.0-RELEASE cycle.
- Update __FreeBSD_version [1]
- Set branch name to -RC1

[1] 10.0-CURRENT __FreeBSD_version value ended at '55', so
start releng/10.0 at '100' so the branch is started with
a value ending in zero.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 236936 11-Jun-2012 delphij

Switch from 4-clause to 2-clause BSD license. (OpenBSD r1.22)
No functional change.

Obtained from: NetBSD via OpenBSD


# 162574 23-Sep-2006 ache

Keep compatible parts in sync with OpenBSD v1.21, add some comments.
No functional changes.


# 162557 22-Sep-2006 ache

Remove code #ifndef'ed in prev. commit to stay in sync with OpenBSD
v1.21 which just do that.


# 162555 22-Sep-2006 ache

Be more GNU compatible:
don't be greedy on the GNU "::" extension when arg separated by whitespace
and POSIX_CORRECTLY is set. From POSIX point of view this is unclear
situation, so minimal assumption looks right.


# 131710 06-Jul-2004 ache

Keep it sync with OpenBSD:
An optional argument cannot start with '-', even if permutation is
disabled.

Obtained from: OpenBSD getopt_long.c v1.17


# 127734 01-Apr-2004 ache

Simplify one condition in prev. commit:
short_too already assumes FLAG_LONGONLY


# 127733 01-Apr-2004 ache

Fix parsing of ambiguous options, whole loop must be processed


# 126692 06-Mar-2004 ache

Make GNU-compatible following case:
single '-' in command line and '-' (non-first) in options


# 126535 03-Mar-2004 ache

Make return code in noarg case GNU-compatible


# 126518 03-Mar-2004 ache

Be more GNU-compatible in diagnostics


# 126452 01-Mar-2004 ache

Improve GNU compatibility in several places, use internal GNU_COMPATIBLE
define for it.
Don't catch POSIXLY_CORRECT env. into static variable, it can be changed
on the fly by program.
Use P1003.2 standartized illoptchar[]


# 126438 01-Mar-2004 ache

Change "-"-started options when POSIX_CORRECTLY is set handling
in favour of GNU instead of NetBSD, because configure's use us and
expect GNU.


# 126189 24-Feb-2004 ache

Add getopt_long_only() from OpenBSD and other OpenBSD cleanups

PR: 63173
Submitted by: Marius Strobl <marius@alchemy.franken.de>


# 126039 20-Feb-2004 ru

Unbreak the upgrade path from 4.9 after removal of GNU getopt and
<gnuregex.h>.


# 105299 16-Oct-2002 alfred

de-__P()


# 104128 29-Sep-2002 eric

Add getopt_long(3).

Obtained from: NetBSD
Sponsored by: Apple