add: environ = newEnv;
context: copy_environ_to_heap_if_needed(void){	char **newEnv;	int32 i;	if (sCopied)		return B_OK;	newEnv = malloc((count_variables() + 1) * sizeof(char *));	if (newEnv == NULL)		return B_NO_MEMORY;	for (i = 0; environ[i]; i++) {		newEnv[i] = strdup(environ[i]);	}	newEnv[i] = NULL;		// null terminate the array	sCopied = true;	return B_OK;}