History log of /netbsd-src/lib/libc/gen/getusershell.c (Results 1 – 25 of 29)
Revision Date Author Comments
# c5e820ca 13-Mar-2012 christos <christos@NetBSD.org>

PR/45989: Martin Husemann: lint invocation does include -w only on i386

- turn lint -w for all the platforms after fixing the lint warnings.
- add _DIAGASSERTS() for casts that would assign values t

PR/45989: Martin Husemann: lint invocation does include -w only on i386

- turn lint -w for all the platforms after fixing the lint warnings.
- add _DIAGASSERTS() for casts that would assign values to types that
would not fit.
- change types, add casts
- change into ansii prototypes
- turn on _DIAGNOSTIC for libc (during current, to be eliminated for release
builds)

approved by core@

show more ...


# 9292cfb2 15-Oct-2011 christos <christos@NetBSD.org>

close on exec fixes:
- open + fcntl -> open O_CLOEXEC
- configuration database file descriptors that can stay open are now opened
fopen(db, "re")


# ce099b40 28-Apr-2008 martin <martin@NetBSD.org>

Remove clause 3 and 4 from TNF licenses


# ce2c90c7 15-Oct-2006 christos <christos@NetBSD.org>

fix incomplete initializers


# 03256c6e 29-Nov-2005 christos <christos@NetBSD.org>

WARNS=4


# a3045235 28-Feb-2005 lukem <lukem@NetBSD.org>

Overhaul the use of nsdispatch(3) by public APIs so that the back-end
methods use va_list in a manner that is directly related to the public API.

This makes it much easier to write dynamic nsswitch

Overhaul the use of nsdispatch(3) by public APIs so that the back-end
methods use va_list in a manner that is directly related to the public API.

This makes it much easier to write dynamic nsswitch backends for the
getusershell(3) (et al) functions.

Per my proposal on tech-userlevel in September 2004.

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.


# 077b67ef 26-May-2002 wiz <wiz@NetBSD.org>

__STDC__ is always defined on NetBSD.


# 7daefc5a 07-Jul-2000 itohy <itohy@NetBSD.org>

Passing "char" values to ctype(3) functions is problematic.
If an argument of a ctype function is outside "unsigned char"
and if it is not EOF, the behavior is undefined.

The isascii(3) is the sole

Passing "char" values to ctype(3) functions is problematic.
If an argument of a ctype function is outside "unsigned char"
and if it is not EOF, the behavior is undefined.

The isascii(3) is the sole exception of above and it was used to
be used to check a value was valid for other ctype functions in
ancient systems. On modern systems, the ctype functions take
all values of "unsigned char", and this check is obsolete and
even wrong for non-ASCII systems. However, we leave the isascii()
untouched for now, so as not to change the current behavior.

show more ...


# 60549036 22-Jan-2000 mycroft <mycroft@NetBSD.org>

Delint.
Remove trailing ; from uses of __weak_alias(). The macro inserts this if
needed.


# 56a2dec5 28-Nov-1999 lukem <lukem@NetBSD.org>

* check the error return of sl_init() and sl_add()
* minor KNF


# 73e9ef01 18-Apr-1999 lukem <lukem@NetBSD.org>

specifically include stdarg/varargs.h


# 147dea10 25-Jan-1999 lukem <lukem@NetBSD.org>

convert from hes_*() -> hesiod_*()


# 78427083 20-Jan-1999 christos <christos@NetBSD.org>

- avoid unitialized warning.
- remove unreachable code.
- add ARGSUSED
- linted for const castaway.


# b247a8ec 19-Jan-1999 lukem <lukem@NetBSD.org>

* `passwd' defaults to `compat', and `passwd_compat' defaults to `nis'
* constify ns_dtab defs


# 6a471ed8 19-Jan-1999 lukem <lukem@NetBSD.org>

convert to new nsdispatch(3)


# 0eb8645e 16-Jan-1999 lukem <lukem@NetBSD.org>

pull nsswitch up to main branch


# 2c89343c 13-Nov-1998 christos <christos@NetBSD.org>

delint


# 40941d96 13-Nov-1998 christos <christos@NetBSD.org>

delint


# 131e7470 27-Jul-1998 mycroft <mycroft@NetBSD.org>

Make these compile without __AUDIT__.


# 4024f736 26-Jul-1998 mycroft <mycroft@NetBSD.org>

const poisoning.


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

remove obsolete register declarations


# 43fa6fe3 21-Jul-1997 jtc <jtc@NetBSD.org>

If port provides __weak_alias(), provide an Standard C and POSIX pure
identifier namespace by renaming non standard functions and variables
such that they have a leading underscore. The library will

If port provides __weak_alias(), provide an Standard C and POSIX pure
identifier namespace by renaming non standard functions and variables
such that they have a leading underscore. The library will use those
names internally. Weak aliases are used to provide the original names
to the API.

This is only the first part of this change. It is most of the functions
which are implemented in C for all NetBSD ports. Subsequent changes are
to add the same support to the remaining C files, to assembly files, and
to the automagically generated assembly source used for system calls.
When all of the above is done, ports with weak alias support should add
a definition for __weak_alias to <sys/cdefs.h>.

show more ...


# 26cc2d4f 13-Jul-1997 christos <christos@NetBSD.org>

Fix RCSID's


# b585e843 27-Feb-1995 cgd <cgd@NetBSD.org>

update from Lite, with local changes. fix Ids, etc.


12