Move rc_env_filter and rc_env_config out of librc and into rc

This commit is contained in:
Roy Marples
2007-10-08 11:07:39 +00:00
parent 9d18c195d7
commit e7dab9bb91
9 changed files with 313 additions and 312 deletions

View File

@ -1046,8 +1046,8 @@ int runscript (int argc, char **argv)
if ((softlevel = rc_xstrdup (getenv ("RC_SOFTLEVEL"))) == NULL) {
/* Ensure our environment is pure
Also, add our configuration to it */
tmplist = rc_env_config ();
env = rc_env_filter ();
tmplist = env_config ();
env = env_filter ();
rc_strlist_join (&env, tmplist);
rc_strlist_free (tmplist);
tmplist = NULL;