History log of /openbsd-src/lib/libc/stdlib/getenv.c (Results 1 – 13 of 13)
Revision Date Author Comments
# 2c55ebb0 10-Jul-2024 jca <jca@openbsd.org>

Zap warning against __findenv usage, it is not exported by libc

The comment probably made sense before guenther restricted the symbols
exported by libc in 2015.


# e4224292 13-Mar-2016 guenther <guenther@openbsd.org>

environ and __progname are not declared in a public header; declare them
in libc's hidden/stdlib.h instead of in each .c file that needs one

ok deraadt@ gsoares@ mpi@


# 0d943ef0 13-Sep-2015 guenther <guenther@openbsd.org>

Wrap <stdlib.h> so that calls go direct and the symbols not in the
C standard are all weak.
Apply __{BEGIN,END}_HIDDEN_DECLS to gdtoa{,imp}.h, hiding the
arch-specific __strtorx, __ULtox_D2A, __strto

Wrap <stdlib.h> so that calls go direct and the symbols not in the
C standard are all weak.
Apply __{BEGIN,END}_HIDDEN_DECLS to gdtoa{,imp}.h, hiding the
arch-specific __strtorx, __ULtox_D2A, __strtorQ, __ULtoQ_D2A symbols.

show more ...


# 00a0724b 23-Aug-2010 millert <millert@openbsd.org>

Check for duplicate variables in the environment when setting a value
via setenv() or putenv(). OK miod@


# 471b62ee 03-Jun-2009 millert <millert@openbsd.org>

Make putenv(), setenv() and unsetenv() standards compliant. The
standard explicitly disallows passing setenv a name with a '=' in
it but historic BSD behavior is to allow this but to ignore the '='

Make putenv(), setenv() and unsetenv() standards compliant. The
standard explicitly disallows passing setenv a name with a '=' in
it but historic BSD behavior is to allow this but to ignore the '='
and anything after it.

show more ...


# c2c925de 08-Aug-2005 espie <espie@openbsd.org>

zap remaining rcsid.

Kill old files that are no longer compiled.

okay theo


# d8bc04e4 30-Mar-2005 pat <pat@openbsd.org>

ansi + de-register

ok otto deraadt


# 6580fee3 02-Jun-2003 millert <millert@openbsd.org>

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999. Proofed by myself and Theo.


# 0bf9f082 10-Dec-2002 mickey <mickey@openbsd.org>

use proper __findenv() prototype; millert@ ok


# 21234557 16-Jul-1998 deraadt <deraadt@openbsd.org>

change to lite2 getenv(); getenv(NULL) now returns NULL


# e9b2b68c 19-Aug-1996 tholo <tholo@openbsd.org>

Fix RCS ids
Make sure everything uses {SYS,}LIBC_SCCS properly


# d6b09060 25-Mar-1996 tholo <tholo@openbsd.org>

Add prototypes for internal functions
Change inline to __inline


# df930be7 18-Oct-1995 deraadt <deraadt@openbsd.org>

initial import of NetBSD tree