Home | History | Annotate | Download | only in libutil
History log of /src/lib/libutil/login_tty.c
RevisionDateAuthorComments
 1.13  16-Sep-2011  plunky NULL does not need a cast, here
 1.12  09-Feb-2008  dholland Use STDIN_FILENO and friends instead of magic constants 0/1/2.
Suggested by the patches in PR bin/36551 from Greg A. Woods.
 1.11  07-Aug-2003  agc branches: 1.11.22;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.10  05-Jul-2000  ad - __RCSID() police.
- ANSIfy.
- Miscellaneous style changes.
- Shutup lint(1) in one or two cases.
 1.9  20-Sep-1999  lukem back out the #ifdef _DIAGNOSTIC argument checks; too many people complained.
_DIAGASSERT() is still retained.
 1.8  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.7  11-Jan-1999  kleink 2 -> STDERR_FILENO
 1.6  29-Jun-1997  christos - RCSID police
- Add ttymsg.3
 1.5  15-May-1996  jtc Minor reorganization of libutil, including the addition of passward
locking and editing functions.
From Greg Hudson <ghudson@MIT.EDU>
 1.4  05-Jun-1995  pk Prototypes (PR#1100).
 1.3  04-May-1994  cgd minor cleanup; kill unnecessary casts
 1.2  01-Aug-1993  mycroft Add RCS identifiers.
 1.1  21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2  22-Jan-1998  perry import lite-2 onto vendor branch
 1.1.1.1  21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.11.22.1  23-Mar-2008  matt sync with HEAD

RSS XML Feed