Lines Matching defs:dotscore
68 static char *checkhome(const char *home, const char *fname, bool dotscore)
72 for(i = 0; i < (dotscore ? 2 : 1); i++) {
74 if(dotscore)
95 * If 'dotscore' is TRUE, then check for the file first with a leading dot
102 char *findfile(const char *fname, int dotscore)
107 DEBUGASSERT((dotscore != 1) || (fname[0] == '.'));
131 if(!dotscore || xdg) {
138 dotscore = 0; /* disable it for this check */
140 path = checkhome(home, filename, dotscore ? dotscore - 1 : 0);