| D | tool_findfile.c | 55 { "HOME", NULL, FALSE }, 63 { "HOME", "/.config", TRUE }, 68 static char *checkhome(const char *home, const char *fname, bool dotscore) in checkhome() argument 75 c = curl_maprintf("%s" DIR_CHAR "%c%s", home, pref[i], &fname[1]); in checkhome() 77 c = curl_maprintf("%s" DIR_CHAR "%s", home, fname); in checkhome() 113 char *home = curl_getenv(list[i].env); in findfile() local 114 if(home) { in findfile() 119 if(!home[0]) { in findfile() 120 curl_free(home); in findfile() 124 char *c = curl_maprintf("%s%s", home, list[i].append); in findfile() [all …]
|