History log of /netbsd-src/lib/libc/stdlib/getsubopt.c (Results 1 – 10 of 10)
Revision Date Author Comments
# 48875230 30-Aug-2018 christos <christos@NetBSD.org>

Allow being compiled as a tool.


# 9e66e6d7 25-Jun-2012 abs <abs@NetBSD.org>

Update old-style definitions to ANSI, remove a couple of register
definitions along the way. Fixed gcc 4.1 build (thank you vax)


# f379d2c8 09-May-2004 kleink <kleink@NetBSD.org>

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 mor

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.

show more ...


# eb7c1594 07-Aug-2003 agc <agc@NetBSD.org>

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.


# d8962612 20-Sep-1999 lukem <lukem@NetBSD.org>

back out the #ifdef _DIAGNOSTIC argument checks; too many people complained.
_DIAGASSERT() is still retained.


# b48252f3 16-Sep-1999 lukem <lukem@NetBSD.org>

* 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 attemp

* 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

show more ...


# c8bafd62 03-Feb-1998 perry <perry@NetBSD.org>

remove obsolete register declarations


# 163c89fb 31-Jan-1998 thorpej <thorpej@NetBSD.org>

Pull in <string.h> to get strcmp() prototype.


# edf59acc 31-Jan-1998 thorpej <thorpej@NetBSD.org>

RCS ID police, and add explicit return value to getsubopt().


# 78ef0c30 30-Jan-1998 perry <perry@NetBSD.org>

import lite-2