version 1.142, 2002/06/26 13:49:26 |
version 1.143, 2002/06/30 21:54:16 |
|
|
if (!options.use_login) { |
if (!options.use_login) { |
while (custom_environment) { |
while (custom_environment) { |
struct envstring *ce = custom_environment; |
struct envstring *ce = custom_environment; |
char *s = ce->s; |
char *str = ce->s; |
|
|
for (i = 0; s[i] != '=' && s[i]; i++) |
for (i = 0; str[i] != '=' && str[i]; i++) |
; |
; |
if (s[i] == '=') { |
if (str[i] == '=') { |
s[i] = 0; |
str[i] = 0; |
child_set_env(&env, &envsize, s, s + i + 1); |
child_set_env(&env, &envsize, str, str + i + 1); |
} |
} |
custom_environment = ce->next; |
custom_environment = ce->next; |
xfree(ce->s); |
xfree(ce->s); |