History log of /openbsd-current/lib/libc/gen/setprogname.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: OPENBSD_6_2_BASE
# 1.6 17-Sep-2017 otto

__progname has type char *, we cannot change its type without causing
havoc all over the place. So add some casts to silence the compiler.
ok deraadt@ guenther@


Revision tags: OPENBSD_6_0_BASE OPENBSD_6_1_BASE
# 1.5 13-Mar-2016 guenther

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@


Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE
# 1.4 12-Nov-2013 deraadt

pull in missing includes (math.h, unistd.h, stdlib.h) needed for
prototypes


Revision tags: OPENBSD_5_4_BASE
# 1.3 01-Jun-2013 tedu

string.h defines null for us


# 1.2 31-May-2013 tedu

fixie


# 1.1 31-May-2013 ajacoutot

Add getprogname() and setprogname() to ease slackers^porters' work.
Man page adapted from FreeBSD and NetBSD.

Bump libc minor now (there will be more upcoming changes).

input from tedu@
get it in deraadt@