Lines Matching refs:script_env
186 char **script_env; /* Env. variable values for scripts */ variable
322 script_env = NULL;
1649 char **newenv = realloc(script_env, new_n * sizeof(char *));
1654 script_env = newenv;
1657 script_env[pos] = newstring;
1658 script_env[pos + 1] = NULL;
1666 free(script_env[pos] - 1);
1667 while ((script_env[pos] = script_env[pos + 1]) != NULL)
1772 for (i = 0; (p = script_env[i]) != NULL; i++) { in update_script_environment()
1784 script_env[i] = newstring; in update_script_environment()
1879 execve(prog, args, script_env);
2079 if (script_env != 0) {
2080 for (i = 0; (p = script_env[i]) != 0; ++i) {
2087 script_env[i] = newstring;
2101 script_env = malloc(16 * sizeof(char *));
2102 if (script_env == 0) {
2133 if (script_env == 0)
2135 for (i = 0; (p = script_env[i]) != 0; ++i) {
2197 if (script_env == NULL) in update_db_entry()
2200 for (i = 0; (p = script_env[i]) != 0; ++i) in update_db_entry()
2206 for (i = 0; (p = script_env[i]) != 0; ++i) in update_db_entry()
2265 for (i = 0; (p = script_env[i]) != 0; ++i) in cleanup_db()