History log of /seL4-test-master/projects/musllibc/src/env/setenv.c
Revision Date Author Comments
# 4405702a 07-Oct-2013 Szabolcs Nagy <nsz@port70.net>

remove errno setting from setenv, malloc sets it correctly on oom


# 54378703 04-Oct-2013 Rich Felker <dalias@aerifal.cx>

fix failure to check malloc result in setenv


# 649af9f7 28-Jul-2011 Rich Felker <dalias@aerifal.cx>

fix for setenv bogus var argument handling

thanks to mikachu

per POSIX:

The setenv() function shall fail if:

[EINVAL] The name argument is a null pointer, points to an empty
string, or points to a string containing an '=' character.


# 0b44a031 11-Feb-2011 Rich Felker <dalias@aerifal.cx>

initial check-in, version 0.5.0