Home | History | Annotate | Download | only in libutil
History log of /src/lib/libutil/ttyaction.c
RevisionDateAuthorComments
 1.19  28-Apr-2008  martin branches: 1.19.8;
Remove clause 3 and 4 from TNF licenses
 1.18  27-Aug-2005  elad branches: 1.18.18;
Lint warnings.
 1.17  11-Dec-2004  christos WARNS=3; fix cast-qual issues.
 1.16  29-Mar-2004  wiz Use pid_t for pids. From Jeff Ito in PR 24854.
 1.15  19-Dec-2000  cgd __CONCAT does token pasting, not string concatnation. if something like:
__CONCAT("PATH=",_PATH_STDPATH);
actually works to concantate strings, it's because the preprocessor expands
it into "PATH=""whatever _PATH_STDPATH is" as separate strings, and then
ANSI string concatenation is performed on that. It's more straightforward
to just use ANSI string concatenation directly, and newer GCCs complain
(rightly) about mis-use of token pasting.
 1.14  05-Jul-2000  ad - __RCSID() police.
- ANSIfy.
- Miscellaneous style changes.
- Shutup lint(1) in one or two cases.
 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  11-Jan-1999  kleink strtok() -> strtok_r() to avoid side-effects.
 1.10  09-Dec-1998  christos Delint
 1.9  26-Jul-1998  mycroft const poisoning.
 1.8  31-Jul-1997  jtc Fix files using old TNF copyright notice
 1.7  20-Jun-1997  mikel include <fnmatch.h> for fnmatch() prototype
use __CONCAT() to generate pathenv
 1.6  09-May-1997  mycroft Pull in err.h for prototypes.
 1.5  29-Nov-1996  gwr Use _exit after exec failure (not exit).
 1.4  22-Nov-1996  gwr Use snprintf instead of sprintf.
 1.3  18-Nov-1996  gwr Correct lengths used to build environment strings. (Fixes PR#2948)
 1.2  14-Nov-1996  gwr Allow the ttyname parameter of ttyaction() to be the full pathname of
the device, because that is what getty and login have handy. The
"/dev/" part is skipped before scanning the /etc/ttyaction file.
 1.1  14-Nov-1996  gwr Add ttyaction.3 and ttyaction.c
 1.18.18.1  18-May-2008  yamt sync with head.
 1.19.8.2  28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.19.8.1  28-Apr-2008  martin file ttyaction.c was added on branch christos-time_t on 2008-04-28 20:23:04 +0000

RSS XML Feed