Home | History | Annotate | Download | only in gen
History log of /src/lib/libc/gen/confstr.c
RevisionDateAuthorComments
 1.13  25-Jun-2012  abs Update old-style definitions to ANSI, remove a couple of register
definitions along the way. Fixed gcc 4.1 build (thank you vax)
 1.12  03-Dec-2006  christos branches: 1.12.36;
PR/35170: Guy Harris: confstr() should return 0, not -1, on errors
 1.11  07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.10  22-Jan-2000  mycroft Delint.
Remove trailing ; from uses of __weak_alias(). The macro inserts this if
needed.
 1.9  12-Nov-1998  christos document the return value as (size_t)-1 instead of -1, and do the same in
the source to avoid lint warnings.
 1.8  21-Jul-1997  jtc If port provides __weak_alias(), provide an Standard C and POSIX pure
identifier namespace by renaming non standard functions and variables
such that they have a leading underscore. The library will use those
names internally. Weak aliases are used to provide the original names
to the API.

This is only the first part of this change. It is most of the functions
which are implemented in C for all NetBSD ports. Subsequent changes are
to add the same support to the remaining C files, to assembly files, and
to the automagically generated assembly source used for system calls.
When all of the above is done, ports with weak alias support should add
a definition for __weak_alias to <sys/cdefs.h>.
 1.7  13-Jul-1997  christos Fix RCSID's
 1.6  13-May-1995  jtc branches: 1.6.4;
#include appropriate header files to bring prototypes into scope
 1.5  25-Feb-1995  cgd clean up Id's on files previously imported...
 1.4  11-Jun-1994  jtc Replace my version of confstr() with 4.4 lite's, which gets its values
with sysctl().
 1.3  28-Jan-1994  jtc Fix spelling error in Copyright notice
 1.2  22-Dec-1993  jtc #include <string.h> to bring prototypes into scope.
 1.1  17-Nov-1993  jtc branches: 1.1.1;
If _CS_PATH is defined in <unistd.h>, the latest bash assumes that confstr()
will be present as well. Here is a quick implementation based on my online
copy of 1003.2 (D11.2). I'll confirm that nothing has been changed in the
final standard and write up a manual page soon.
 1.1.1.1  11-Jun-1994  jtc from 44lite
 1.6.4.1  19-Sep-1996  jtc snapshot namespace cleanup: gen
 1.12.36.1  30-Oct-2012  yamt sync with head

RSS XML Feed