2017-02-10 12:10:47 UTC
/* This function is used by 'setenv' and 'putenv'. The difference between
the two functions is that for the former must create a new string which
is then placed in the environment, while the argument of 'putenv'
must be used directly. This is all complicated by the fact that we try
to reuse values once generated for a 'setenv' call since we can never
free the strings. */
__add_to_environ (const char *name, const char *value, const char *combined,
However, I can't see that this function is called anywhere else
(specifically, not in putenv.c), nor that it ever did (but maybe it's
In short, could the text "and 'putenv'" be removed or clarified, please?