+
+ if (glob(path, GLOB_TILDE, NULL, &incstack[incstackp].matches) != 0 ||
+ incstack[incstackp].matches.gl_pathc == 0)
+ {
+ plog(LLV_DEBUG, LOCATION, NULL,
+ "glob found no matches for path\n");
+ return 0;
+ }
+ incstack[incstackp].matchon = 0;
+ incstack[incstackp].prevstate = YY_CURRENT_BUFFER;
+
+nextmatch:
+ if (incstack[incstackp].matchon >= incstack[incstackp].matches.gl_pathc) return -1;
+ filepath = incstack[incstackp].matches.gl_pathv[incstack[incstackp].matchon];
+ incstack[incstackp].matchon++;
+ incstackp++;
+
+ if (yycf_set_buffer(filepath) != 0)
+ {
+ incstackp--;
+ goto nextmatch;
+ }