Untitled
public text v1 · immutable#ifdef HAVE_CLEARENV
if (clearenv() != 0) {
sys_err(LOG_ERR, __FILE__, __LINE__, errno,
"clearenv() did not return 0!");
exit(0);
}
#else
extern char **environ;
environ[0] = NULL;
if (environ[0] != NULL) {
sys_err(LOG_ERR, __FILE__, __LINE__, errno,
"he doesn't know what he's doing!!!");
exit(0);
}
#endif