Lines Matching refs:home
68 static char *checkhome(const char *home, const char *fname, bool dotscore)
75 c = curl_maprintf("%s" DIR_CHAR "%c%s", home, pref[i], &fname[1]);
77 c = curl_maprintf("%s" DIR_CHAR "%s", home, fname);
113 char *home = curl_getenv(conf_list[i].env);
114 if(home) {
119 if(!home[0]) {
120 curl_free(home);
124 char *c = curl_maprintf("%s%s", home, conf_list[i].append);
125 curl_free(home);
128 home = c;
134 curl_free(home);
140 path = checkhome(home, filename, dotscore ? dotscore - 1 : 0);
141 curl_free(home);
150 char *home = pw->pw_dir;
151 if(home && home[0])
152 return checkhome(home, fname, FALSE);