Home | History | Annotate | Download | only in stdlib
History log of /src/lib/libc/stdlib/getsubopt.c
RevisionDateAuthorComments
 1.10  30-Aug-2018  christos Allow being compiled as a tool.
 1.9  25-Jun-2012  abs branches: 1.9.30; 1.9.32;
Update old-style definitions to ANSI, remove a couple of register
definitions along the way. Fixed gcc 4.1 build (thank you vax)
 1.8  09-May-2004  kleink branches: 1.8.50;
There are two instances of getsubopt.c, one in gen, which came by the
ways of 386BSD, and one in stdlib, which is from Lite-2. The former was
picked up by the build process and has seen a little more maintenance
while the latter's location is "right", so bring the latter up to par
with the former and dispose of the (now) latter.

Reported by David A. Holland in PR lib/25160, which is worded in a
far less mind-boggling fashion than the above.
 1.7  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.6  20-Sep-1999  lukem back out the #ifdef _DIAGNOSTIC argument checks; too many people complained.
_DIAGASSERT() is still retained.
 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  03-Feb-1998  perry remove obsolete register declarations
 1.3  31-Jan-1998  thorpej Pull in <string.h> to get strcmp() prototype.
 1.2  31-Jan-1998  thorpej RCS ID police, and add explicit return value to getsubopt().
 1.1  30-Jan-1998  perry branches: 1.1.1;
Initial revision
 1.1.1.1  30-Jan-1998  perry import lite-2
 1.8.50.1  30-Oct-2012  yamt sync with head
 1.9.32.1  10-Jun-2019  christos Sync with HEAD
 1.9.30.1  06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)

RSS XML Feed