CVSROOT: /cvs Module name: src Changes by: [email protected] 2016/04/25 15:36:04
Modified files:
lib/libc/stdlib: setenv.c
Log message:
Allow setenv(3) and putenv(3) to operate on a NULL environ pointer.
The getenv(3) and unsetenv(3) functions already support this.
This will make it easier to emulate the glibc clearenv() function in ports.
Based on a diff from and OK jca@
