millert
aa254a2609
Stash the environment pointer we get from realloc() instead of just
setting a flag. That way when we are called again we can be sure to realloc() the right thing, regardless of the current value of environ. When the stashed value != environ (or when we are called for the first time), copy the existing entries from environ and set environ to the new value. OK deraadt@, beck@, djm@ |
20 years ago | |
---|---|---|
src | Stash the environment pointer we get from realloc() instead of just | 20 years ago |