Home | History | Annotate | only in /src/lib/libcompat/4.3
History log of /src/lib/libcompat/4.3
RevisionDateAuthorComments
 1.4 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.3 09-Oct-1997  lukem rcsid facism, WARNSify
 1.2 19-Jun-1997  mikel include <stdlib.h> for free() prototype
 1.1 06-May-1994  cgd branches: 1.1.1;
Initial revision
 1.1.1.1 06-May-1994  cgd update
 1.12 06-Jul-2005  drochner Move insque/remque/lsearch/lfind from libcompat to libc,
they are in XPG4-UNIX, XSH5.0, mentioned in SUSv3 etc.
Minimal update of the manpages. (more needed)
 1.11 16-Apr-2003  wiz branches: 1.11.6;
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.10 01-Oct-2002  wiz New sentence, new line. From Robert Elz.
 1.9 07-Feb-2002  ross Generate <>& symbolically.
 1.8 15-Jan-2002  wiz Drop a trailing empty line.
 1.7 02-Jul-1999  simonb More trailing white space.
 1.6 05-Feb-1998  perry add LIBRARY section to man page
 1.5 09-Oct-1997  lukem rcsid facism, WARNSify
 1.4 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.3 12-Mar-1994  jtc Instruct user to #include <search.h>.
Remque() has returned void for some time now.
 1.2 13-Aug-1993  brezak Correct copyright statements
 1.1 13-Aug-1993  brezak branches: 1.1.1;
Machine independent version of insque/remque
 1.1.1.1 06-May-1994  cgd update
 1.11.6.1 04-Aug-2005  tron Pull up file removal (requested by drochner in ticket #632):
Move insque/remque/lsearch/lfind from libcompat to libc,
they are in XPG4-UNIX, XSH5.0, mentioned in SUSv3 etc.
Minimal update of the manpages. (more needed)
 1.9 06-Jul-2005  drochner Move insque/remque/lsearch/lfind from libcompat to libc,
they are in XPG4-UNIX, XSH5.0, mentioned in SUSv3 etc.
Minimal update of the manpages. (more needed)
 1.8 20-Sep-1999  lukem branches: 1.8.16;
back out the #ifdef _DIAGNOSTIC argument checks; too many people complained.
_DIAGASSERT() is still retained.
 1.7 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.6 02-Jul-1999  simonb More trailing white space.
 1.5 09-Oct-1997  lukem rcsid facism, WARNSify
 1.4 21-Oct-1993  jtc #include <search.h> to ensure that the public function declarations match
the implementation.
Use old-style function definitions so functions can be compiled with non-ansi
compilers.
Functions are specified to take void * arguments, so they must be cast to
a struct qelem * before they are used.
 1.3 26-Aug-1993  jtc Declare rcsid strings so they are stored in text segment.
 1.2 13-Aug-1993  brezak Correct copyright statements
 1.1 13-Aug-1993  brezak branches: 1.1.1;
Machine independent version of insque/remque
 1.1.1.1 06-May-1994  cgd update
 1.8.16.1 04-Aug-2005  tron Pull up file removal (requested by drochner in ticket #632):
Move insque/remque/lsearch/lfind from libcompat to libc,
they are in XPG4-UNIX, XSH5.0, mentioned in SUSv3 etc.
Minimal update of the manpages. (more needed)
 1.9 06-Jul-2005  drochner Move insque/remque/lsearch/lfind from libcompat to libc,
they are in XPG4-UNIX, XSH5.0, mentioned in SUSv3 etc.
Minimal update of the manpages. (more needed)
 1.8 07-Aug-2003  agc branches: 1.8.6;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.7 15-Jan-2002  wiz Punctuation nit.
 1.6 02-Jul-1999  simonb More trailing white space.
 1.5 29-Aug-1998  lukem first pass at fixing up capitalization of function names and
arguments; ensure that each is correct with respect to the
implementation, rather than being correct as per english.
 1.4 05-Feb-1998  perry add LIBRARY section to man page
 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 06-May-1994  cgd branches: 1.1.1;
Initial revision
 1.1.1.1 06-May-1994  cgd update
 1.8.6.1 04-Aug-2005  tron Pull up file removal (requested by drochner in ticket #632):
Move insque/remque/lsearch/lfind from libcompat to libc,
they are in XPG4-UNIX, XSH5.0, mentioned in SUSv3 etc.
Minimal update of the manpages. (more needed)
 1.9 06-Jul-2005  drochner Move insque/remque/lsearch/lfind from libcompat to libc,
they are in XPG4-UNIX, XSH5.0, mentioned in SUSv3 etc.
Minimal update of the manpages. (more needed)
 1.8 07-Aug-2003  agc branches: 1.8.6;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.7 20-Sep-1999  lukem back out the #ifdef _DIAGNOSTIC argument checks; too many people complained.
_DIAGASSERT() is still retained.
 1.6 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.5 04-May-1999  christos De-constify the code, and add const castaway lint comments.
 1.4 03-Feb-1998  perry remove obsolete register declarations
 1.3 09-Oct-1997  lukem rcsid facism, WARNSify
 1.2 05-Jun-1995  pk Prototypes (PR#1098).
 1.1 06-May-1994  cgd branches: 1.1.1;
Initial revision
 1.1.1.1 06-May-1994  cgd update
 1.8.6.1 04-Aug-2005  tron Pull up file removal (requested by drochner in ticket #632):
Move insque/remque/lsearch/lfind from libcompat to libc,
they are in XPG4-UNIX, XSH5.0, mentioned in SUSv3 etc.
Minimal update of the manpages. (more needed)
 1.13 04-Dec-2022  uwe Sections 2 and 3 have RETURN VALUES, not DIAGNOSTICS
 1.12 11-Aug-2015  dholland SEE ALSO re_format(7).
 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 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.9 01-Oct-2002  wiz New sentence, new line. From Robert Elz.
 1.8 07-Feb-2002  ross Generate <>& symbolically.
 1.7 15-Jan-2002  wiz Punctuation nit, sort SEE ALSO.
 1.6 02-Jul-1999  simonb More trailing white space.
 1.5 01-Jun-1998  kleink Prototypes have moved: change inclusion of <unistd.h> to <re_comp.h>.
 1.4 05-Feb-1998  perry add LIBRARY section to man page
 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 06-May-1994  cgd branches: 1.1.1;
Initial revision
 1.1.1.1 06-May-1994  cgd update
 1.12 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.11 20-Sep-1999  lukem back out the #ifdef _DIAGNOSTIC argument checks; too many people complained.
_DIAGASSERT() is still retained.
 1.10 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.9 04-May-1999  christos In lint redefine __compat_regerror to __compat43_regerror, to avoid clash
with the other __compat_regerror...
 1.8 01-Jun-1998  kleink Need <re_comp.h> for re_comp() and re_exec() prototypes.
 1.7 09-Oct-1997  lukem rcsid facism, WARNSify
 1.6 21-Mar-1996  jtc Handle null string in re_comp.
From Kazushi Jam Marukawa <kazusi-m@is.aist-nara.ac.jp> in PR 2196.
 1.5 05-Jun-1995  pk Prototypes (PR#1098).
 1.4 01-Feb-1994  jtc Since V8 regex routines have been moved to libcompat(), the BSD regex
routines must again be defined as wrappers around them.
 1.3 11-Nov-1993  jtc Layer re_comp() and re_exec() on top of the POSIX regular expression
routines, as the V8 regexp routines have been removed.
 1.2 01-Aug-1993  mycroft Add RCS identifiers.
 1.1 23-Mar-1993  nate From BSDI Mailing list. regex.c uses the regcomp routines to emulate
the regex routines.
 1.9 06-Jul-2005  drochner Move insque/remque/lsearch/lfind from libcompat to libc,
they are in XPG4-UNIX, XSH5.0, mentioned in SUSv3 etc.
Minimal update of the manpages. (more needed)
 1.8 20-Sep-1999  lukem branches: 1.8.16;
back out the #ifdef _DIAGNOSTIC argument checks; too many people complained.
_DIAGASSERT() is still retained.
 1.7 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.6 02-Jul-1999  simonb More trailing white space.
 1.5 09-Oct-1997  lukem rcsid facism, WARNSify
 1.4 21-Oct-1993  jtc #include <search.h> to ensure that the public function declarations match
the implementation.
Use old-style function definitions so functions can be compiled with non-ansi
compilers.
Functions are specified to take void * arguments, so they must be cast to
a struct qelem * before they are used.
 1.3 26-Aug-1993  jtc Declare rcsid strings so they are stored in text segment.
 1.2 13-Aug-1993  brezak Correct copyright statements
 1.1 13-Aug-1993  brezak branches: 1.1.1;
Machine independent version of insque/remque
 1.1.1.1 06-May-1994  cgd update
 1.8.16.1 04-Aug-2005  tron Pull up file removal (requested by drochner in ticket #632):
Move insque/remque/lsearch/lfind from libcompat to libc,
they are in XPG4-UNIX, XSH5.0, mentioned in SUSv3 etc.
Minimal update of the manpages. (more needed)
 1.13 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.12 14-May-2003  wiz setup -> set up.
 1.11 01-Oct-2002  wiz New sentence, new line. From Robert Elz.
 1.10 08-Aug-2002  soren Refer to rcmd(3) instead of the non-existing krcmd(3).
PR lib/12562 by Klaus Klein.
 1.9 02-Jul-1999  simonb More trailing white space.
 1.8 22-Mar-1999  garbled Last of the .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages. Wheee!
 1.7 14-Aug-1998  phil Add the correct type for the first parameter.
 1.6 28-Apr-1998  fair fix mdoc references
 1.5 28-Apr-1998  fair Change occurrences of "UNIX" to .Ux or .At as appropriate.
 1.4 05-Feb-1998  perry add LIBRARY section to man page
 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 06-May-1994  cgd branches: 1.1.1;
Initial revision
 1.1.1.1 06-May-1994  cgd update
 1.16 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.15 11-Nov-2002  thorpej Fix signed/unsigned comparison warnings, and shadow warnings.
 1.14 05-Nov-2001  lukem WARNS=2 fixes
 1.13 20-Sep-1999  lukem back out the #ifdef _DIAGNOSTIC argument checks; too many people complained.
_DIAGASSERT() is still retained.
 1.12 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.11 02-Jul-1999  simonb More trailing white space.
 1.10 09-May-1999  mycroft LP64 fixes. *sigh*
 1.9 04-May-1999  christos - KNF
- add NetBSD comment
- use warn instead of perror
- protect overflowing the stack on bad DNS records
- delint
 1.8 10-Aug-1998  perry bzero->memset, bcopy->memcpy, bcmp->memcmp
 1.7 19-Mar-1998  tv FTP uses ruserpass() differently from that in libcompat. Fix rexec to
recognize that the new ruserpass returns an int (but ignore it for now),
and ruserpass does not accept an acct pointer.
 1.6 09-Oct-1997  lukem rcsid facism, WARNSify
 1.5 23-Jan-1997  mrg - convert unsafe strcpy(), strcat() and sprintf() to the `n' versions.
- some KNF.
 1.4 05-Jun-1995  pk Prototypes (PR#1098).
 1.3 03-Jun-1995  mycroft Fill in sin_len.
 1.2 19-Oct-1994  cgd needs string.h
 1.1 06-May-1994  cgd branches: 1.1.1;
Initial revision
 1.1.1.1 06-May-1994  cgd update
 1.11 04-Oct-2024  rillig libc, libcompat: fix lint warning about "effectively discards 'const'"

lib/libc/time/zic.c(2810): warning: call to 'strchr' effectively
discards 'const' from argument [346]

lib/libcompat/4.3/ruserpass.c(145): warning: call to 'strchr'
effectively discards 'const' from argument [346]

No binary change.
 1.10 21-Oct-2003  fvdl branches: 1.10.108;
Don't use NULL to compare against an int.
 1.9 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.8 14-Sep-2000  msaitoh check LIBC_SCCS
 1.7 20-Sep-1999  lukem back out the #ifdef _DIAGNOSTIC argument checks; too many people complained.
_DIAGASSERT() is still retained.
 1.6 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.5 04-May-1999  christos - add a comparison to NULL in a conditional.
- cast third argument of strn*() to size_t
- s/FALL THROUGH/FALLTHROUGH/
 1.4 19-Aug-1998  thorpej Add some braces to make egcs happy.
 1.3 06-Jul-1998  mrg - use an array MAXHOSTNAMELEN+1 size to hold hostnames
- ensure hostname from gethostname() is nul-terminated in all cases
- minor KNF
- use MAXHOSTNAMELEN over various other values/defines
- be safe will buffers that hold hostnames
 1.2 19-Mar-1998  tv FTP uses ruserpass() differently from that in libcompat. Fix rexec to
recognize that the new ruserpass returns an int (but ignore it for now),
and ruserpass does not accept an acct pointer.
 1.1 19-Mar-1998  tv Add a ruserpass() function to make rexec happy. PR 901 (that's not a typo).
 1.10.108.1 02-Aug-2025  perseant Sync with HEAD

RSS XML Feed