Home | History | Annotate | only in /src/lib/libcompat/4.4
History log of /src/lib/libcompat/4.4
RevisionDateAuthorComments
 1.13 22-Mar-2010  joerg Use .In instead of .Ar Pa for headers.
 1.12 01-Apr-2005  christos Use getpwuid_r, KNF. From John Nemeth, many thanks.
 1.11 07-Aug-2003  agc branches: 1.11.6;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.10 27-Jun-2003  wiz End sentence with a dot.
 1.9 16-Apr-2003  wiz Use
.In header.h
instead of
.Fd #include \*[Lt]header.h\*[Gt]
Much easier to read and write, and supported by groff for ages.
Okayed by ross.
 1.8 07-Feb-2002  ross Generate <>& symbolically.
 1.7 15-Jan-2002  wiz Drop an unnecessary .Pp.
 1.6 02-Jul-1999  simonb More trailing white space.
 1.5 05-Feb-1998  perry add LIBRARY section to man page
 1.4 16-Oct-1997  christos Moved by repository magick...
put in their description that they are obsolete and name by what function
if appropriate.
 1.3 09-Oct-1997  lukem rcsid facism, WARNSify
 1.2 13-Jan-1995  jtc Changed formatting of manpage cross references to use .Xr macro.
Changed all libcompat manpages so that they clearly state that the
documented interface is availiable from libcompat.
(Fixes PR #703)
 1.1 19-May-1994  jtc Move our cuserid(3) manpage to libcompat, since the cuserid() function
now lives there.
 1.11.6.1 09-Jul-2005  tron Pull up revision 1.12 (requested by lukem in ticket #535):
Use getpwuid_r, KNF. From John Nemeth, many thanks.
 1.8 19-Apr-2005  lukem getpw*_r() may return 0 and set pwd==NULL
 1.7 01-Apr-2005  christos Use getpwuid_r, KNF. From John Nemeth, many thanks.
 1.6 07-Aug-2003  agc branches: 1.6.6;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.5 16-Sep-1999  lukem * use _DIAGASSERT() to check pointer arguments against NULL and file
descriptors against -1 (as appropriate).
* add actual checks which to detect stuff that would trigger_DIAGASSERT(),
and attempt to return a sane error condition.
* knf some code
* remove some `register' decls.

the first two items result in the addition of code similar to the
following in various functions:

_DIAGASSERT(path != NULL)
#ifdef _DIAGNOSTIC
if (path == NULL) {
errno = EFAULT;
return (-1);
}
#endif
 1.4 26-Jul-1998  mycroft Copy into a local buffer rather than using the getpw*() buffer.
 1.3 03-Feb-1998  perry remove obsolete register declarations
 1.2 09-Oct-1997  lukem rcsid facism, WARNSify
 1.1 06-May-1994  cgd branches: 1.1.1;
Initial revision
 1.1.1.1 06-May-1994  cgd update
 1.6.6.2 09-Jul-2005  tron Pull up revision 1.8 (requested by lukem in ticket #535):
getpw*_r() may return 0 and set pwd==NULL
 1.6.6.1 09-Jul-2005  tron Pull up revision 1.7 (requested by lukem in ticket #535):
Use getpwuid_r, KNF. From John Nemeth, many thanks.
 1.10 20-Oct-1997  christos Moved timezone, swapon and getdirentries back to libc.
 1.9 16-Oct-1997  christos Moved by repository magick...
put in their description that they are obsolete and name by what function
if appropriate.
 1.8 10-Oct-1997  fvdl Add new getdents() syscall, provide compat code for old getdirentries.
 1.7 12-Oct-1995  jtc Manpage fixes from Jochen Pohl. Aligns the prototypes in the SYNOPSIS
section with the actual function declarations. See PR #1589 for details.
 1.6 27-Feb-1995  cgd merge with lite, keeping most local changes. clean up Ids
 1.5 29-Nov-1993  jtc Use "Er" for argument to -width in the lists in the ERROR sections --- so
the formatting is consistant.
 1.4 29-Nov-1993  jtc Format ERROR values like all the other manual pages.
 1.3 25-Nov-1993  jtc Clean up manpages:
Use .Fn rather than .Nm macro in HISTORY and STANDARDS sections.
Use .At and .St macros instead of spelling out "Version 6 UNIX",
"IEEE 1003.1-1988 (POSIX)", etc.
 1.2 01-Aug-1993  mycroft Add RCS indentifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 27-Feb-1995  cgd from Lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.2 20-Oct-1997  christos Moved timezone, swapon and getdirentries back to libc.
 1.1 10-Oct-1997  fvdl Add new getdents() syscall, provide compat code for old getdirentries.
 1.10 20-Oct-1997  christos Moved timezone, swapon and getdirentries back to libc.
 1.9 16-Oct-1997  christos Moved by repository magick...
put in their description that they are obsolete and name by what function
if appropriate.
 1.8 12-Jun-1997  mrg bring mrg-vm-swap2 onto mainilne.
 1.7 27-Feb-1995  cgd merge with lite, keeping most local changes. clean up Ids
 1.6 22-Apr-1994  jtc Remove description of EINVAL, "The pathname contains a character with the
high-order bit set", as this error is obsolete.

Eventually we may want to add code to some of the "optional" filesystems
(msdosfs, etc.) that checks for illegal characters. At that time it would
be appropriate to reintroduce this error with appropriate text. Perhaps
"The pathname contains a character that is not valid for filesystem type".
 1.5 19-Apr-1994  jtc Use symbolic names {NAME_MAX} & {PATH_MAX} instead of 255 and 1023 in
description of ENAMETOOLONG error.
 1.4 29-Nov-1993  jtc Use "Er" for argument to -width in the lists in the ERROR sections --- so
the formatting is consistant.
 1.3 25-Nov-1993  jtc Clean up manpages:
Use .Fn rather than .Nm macro in HISTORY and STANDARDS sections.
Use .At and .St macros instead of spelling out "Version 6 UNIX",
"IEEE 1003.1-1988 (POSIX)", etc.
 1.2 01-Aug-1993  mycroft Add RCS indentifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 27-Feb-1995  cgd from Lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.4 20-Oct-1997  christos Moved timezone, swapon and getdirentries back to libc.
 1.3 10-Oct-1997  mrg remove advertising clause from all my licenses.
 1.2 13-Jul-1997  christos Fix RCSID's
 1.1 12-Jun-1997  mrg move swapon() stub here
 1.7 20-Oct-1997  christos Moved timezone, swapon and getdirentries back to libc.
 1.6 16-Oct-1997  christos Moved by repository magick...
put in their description that they are obsolete and name by what function
if appropriate.
 1.5 29-May-1997  cgd Fix broken uses of Dd. Both the mdoc and mdoc.samples pages agree:
.Dd is supposed to be invoked like:
.Dd month day, year
e.g. ".Dd January 25, 1989", rather than:
.Dd "month day, year"
which is what these pages did.
 1.4 27-Feb-1995  cgd merge with 4.4-Lite, keeping local changes. clean up Ids
 1.3 10-Jan-1994  jtc Fix spelling errors.
 1.2 30-Jul-1993  mycroft Add RCS identifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 25-Feb-1995  cgd from lite, with minor name rearrangement to fit.
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.10 20-Oct-1997  christos Moved timezone, swapon and getdirentries back to libc.
 1.9 16-Oct-1997  christos Remove namespace cruft and add a prototype for tztab
 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 Include "extern.h" to get prototype for _tztab
Fix gcc warnings.
Fix RCSID's
 1.6 23-Jan-1997  mrg - convert unsafe strcpy(), strcat() and sprintf() to the `n' versions.
- some KNF.
 1.5 27-Feb-1995  cgd branches: 1.5.4;
merge with 4.4-Lite, keeping local changes. clean up Ids
 1.4 24-Nov-1993  jtc Change C library functions to use strchr() and strrchr() instead of index()
and rindex(). This will allow (strict {ANSI, POSIX, XOPEN}) applications
to redefine index() and rindex() without effecting the library internals.
 1.3 26-Aug-1993  jtc Declare rcsid strings so they are stored in text segment.
 1.2 30-Jul-1993  mycroft Add even more RCS frobs.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 25-Feb-1995  cgd from lite, with minor name rearrangement to fit.
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.5.4.1 19-Sep-1996  jtc snapshot namespace cleanup: gen

RSS XML Feed