Searched refs:home_env (Results 1 – 2 of 2) sorted by relevance
199 char *home_env = 0; in profile_open_file() local218 home_env = getenv("HOME"); in profile_open_file()220 if (home_env == NULL) { in profile_open_file()228 home_env = pw->pw_dir; in profile_open_file()231 if (home_env) in profile_open_file()232 len += strlen(home_env); in profile_open_file()237 if (home_env) { in profile_open_file()238 strcpy(expanded_filename, home_env); in profile_open_file()
463 char home_env[PATH_MAX]; in restore_env() local466 (void) snprintf(home_env, sizeof (home_env), "HOME=%s", in restore_env()468 (void) putenv(home_env); in restore_env()