History log of /dflybsd-src/lib/libc/stdlib/getopt_long.c (Results 1 – 17 of 17)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: v6.4.0, v6.4.0rc1, v6.5.0, v6.2.2, v6.2.1, v6.3.0, v6.0.1, v6.0.0, v6.0.0rc1, v6.1.0, v5.8.3, v5.8.2, v5.8.1, v5.8.0, v5.9.0, v5.8.0rc1, v5.6.3, v5.6.2, v5.6.1, v5.6.0, v5.6.0rc1, v5.7.0, v5.4.3, v5.4.2, v5.4.1, v5.4.0, v5.5.0, v5.4.0rc1, v5.2.2, v5.2.1, v5.2.0, v5.3.0, v5.2.0rc, v5.0.2, v5.0.1, v5.0.0, v5.0.0rc2, v5.1.0, v5.0.0rc1, v4.8.1, v4.8.0, v4.6.2, v4.9.0, v4.8.0rc, v4.6.1, v4.6.0, v4.6.0rc2, v4.6.0rc, v4.7.0, v4.4.3, v4.4.2, v4.4.1, v4.4.0, v4.5.0, v4.4.0rc, v4.2.4, v4.3.1, v4.2.3, v4.2.1, v4.2.0, v4.0.6, v4.3.0, v4.2.0rc, v4.0.5, v4.0.4, v4.0.3, v4.0.2, v4.0.1, v4.0.0, v4.0.0rc3, v4.0.0rc2, v4.0.0rc, v4.1.0, v3.8.2, v3.8.1, v3.6.3, v3.8.0, v3.8.0rc2, v3.9.0, v3.8.0rc, v3.6.2, v3.6.1, v3.6.0, v3.7.1, v3.6.0rc, v3.4.3, v3.4.2, v3.4.1, v3.4.0, v3.4.0rc, v3.5.0, v3.2.2, v3.2.1, v3.2.0, v3.3.0, v3.0.3, v3.0.2, v3.0.1, v3.1.0, v3.0.0
# 86d7f5d3 26-Nov-2011 John Marino <draco@marino.st>

Initial import of binutils 2.22 on the new vendor branch

Future versions of binutils will also reside on this branch rather
than continuing to create new binutils branches for each new version.


Revision tags: v2.12.0, v2.13.0, v2.10.1, v2.11.0, v2.10.0, v2.9.1, v2.8.2, v2.8.1, v2.8.0, v2.9.0, v2.6.3, v2.7.3, v2.6.2, v2.7.2, v2.7.1, v2.6.1, v2.7.0, v2.6.0, v2.5.1, v2.4.1, v2.5.0, v2.4.0, v2.3.2, v2.3.1, v2.2.1
# e28f12ac 07-Apr-2009 Matthew Dillon <dillon@apollo.backplane.com>

Merge branch 'master' of ssh://crater.dragonflybsd.org/repository/git/dragonfly


Revision tags: v2.2.0, v2.3.0
# 5d0641a4 19-Jan-2009 Peter Avalos <pavalos@theshell.com>

Sync libc/stdlib with FreeBSD (ignoring jemalloc, pts, and gdtoa):

-Add a64l(), l64a(), and l64a_r() XSI extentions. These functions
convert between a 32-bit integer and a radix-64 ASCII string.

-

Sync libc/stdlib with FreeBSD (ignoring jemalloc, pts, and gdtoa):

-Add a64l(), l64a(), and l64a_r() XSI extentions. These functions
convert between a 32-bit integer and a radix-64 ASCII string.

-Replace some syscalls with libc version.

-Remove advertising clause.

-alloca() cannot check if the allocation is valid; mention the
consequences.

-Include some verbage about not calling exit() from functions registered
by atexit().

-Use pthread mutexes where possible instead of libc spinlocks.

-Significantly reduce the memory leak as noted in the BUGS section of
setenv(3) by tracking the size of the memory allocated instead of using
strlen() on the current value.

-Prefer setenv() instead of putenv().

-Convert *env() calls to POSIX:
-unsetenv returns an int.
-putenv takes a char * instead of const char *.
-putenv no longer makes a copy of the input string.
-errno is set appropriately. Exceptions involve bad environ
variable and internal initialization code. These both set errno
to EFAULT.

-Make getopt_long() more GNU compatible and sync up with OpenBSD's
version.

-POSIX clearly states that getsubopt() should be declared in <stdlib.h>
not in <unistd.h>

-Use size_t to avoid overflow when sorting arrays larger than 2 GB in
heapsort() and qsort().

-Add new implementations of insque() and remque() which conform to
IEEE Std 1003.1-2001.

-Add qsort_r() for functions that need to be reentrant.

-Improve radixsort()'s preformance when sorting strings with common
prefixes.

-Use 'uint32_t' instead of 'long' when a 32-bit integer is intended in
random(3).

-Rearrange <stdlib.h> in a more logical order based on visibility.

-Move getsubopt()'s prototype to <stdlib.h> (standards).

-Make an internal _getprogname() that is used only inside
libc. For libc, getprogname(3) is a weak symbol in case a
function of the same name is defined in userland.

show more ...


Revision tags: v2.1.1, v2.0.1
# a2b8c067 20-Nov-2005 Sascha Wildner <swildner@dragonflybsd.org>

- Ansify function definitions.

- Fix some warnings.

- In function definitions, move the type on a line of its own.

- Perform some style(9) cleanup.

- Remove (void) casts for discarded return valu

- Ansify function definitions.

- Fix some warnings.

- In function definitions, move the type on a line of its own.

- Perform some style(9) cleanup.

- Remove (void) casts for discarded return values.

- Remove parameter names from function prototypes.

In-collaboration-with: Alexey Slynko <slynko@tronet.ru>

show more ...


# 32a7b49a 21-Apr-2005 Joerg Sonnenberger <joerg@dragonflybsd.org>

Complete Citrus import. Import message catalog implement from
NetBSD. Remove external visible rune interface.

Obtained-from: Project Citrus / NetBSD


# 6cc517f2 14-Mar-2005 Joerg Sonnenberger <joerg@dragonflybsd.org>

Back out switch to getopt_long implementation of getopt, it breaks
too much. This will be done (more carefully) later.


# e66f201f 14-Mar-2005 Joerg Sonnenberger <joerg@dragonflybsd.org>

Correctly return -1 for "-" as argument as required by SUS.
Fix a typo where specifying a single invalid short option could
result in an infinite loop.


# 836e2a29 13-Mar-2005 Joerg Sonnenberger <joerg@dragonflybsd.org>

Use getopt_long's getopt implementation.


# 6cb1bb24 28-Feb-2005 Joerg Sonnenberger <joerg@dragonflybsd.org>

Define __DECONST here for the sake of FreeBSD.


# f76844ff 28-Feb-2005 Joerg Sonnenberger <joerg@dragonflybsd.org>

Use __DECONST for the linted interface violations.


# 2186fbc1 12-Jan-2005 Joerg Sonnenberger <joerg@dragonflybsd.org>

Correctly reset place in getopt_long_only the next time it is used.
Remove unused retval in getopt wrapper.


# a3fea3cf 10-Jan-2005 Joerg Sonnenberger <joerg@dragonflybsd.org>

Better diagnostic for getopt_long_only.


# c892a7a1 10-Jan-2005 Joerg Sonnenberger <joerg@dragonflybsd.org>

Fix two small bugs in getopt_long_only handling:
- a short option followed by a long option is parsed as that
(inspired by OpenBSD)
- the place variable has to be reset after long option parsing fa

Fix two small bugs in getopt_long_only handling:
- a short option followed by a long option is parsed as that
(inspired by OpenBSD)
- the place variable has to be reset after long option parsing failed

show more ...


# 6fb80e22 10-Jan-2005 Joerg Sonnenberger <joerg@dragonflybsd.org>

Add support for getopt_long_only. It allows using long options with a single
dash by prefering them over aggregated short options.


# 9e4b0859 10-Jan-2005 Joerg Sonnenberger <joerg@dragonflybsd.org>

Move the handling of '--' as argument into getopt_internal. Add a parameter
to getopt_internal and getopt_internal_short to activate support for long
options. Disable the special 'W' handling for get

Move the handling of '--' as argument into getopt_internal. Add a parameter
to getopt_internal and getopt_internal_short to activate support for long
options. Disable the special 'W' handling for getopt(). Correctly handle
long option like arguments ('--l') as arguments '-' and 'l'.

show more ...


# ca92595e 10-Jan-2005 Joerg Sonnenberger <joerg@dragonflybsd.org>

Move short option parsing into its own function. Constify the local char *
pointer.


# 984168ec 31-Jan-2004 Joerg Sonnenberger <joerg@dragonflybsd.org>

Add getopt_long from NetBSD