Lines Matching refs:dirname
196 static char *dirname, matchname[FILNAMSIZ];
218 G.dirname = ".";
225 if ((G.dirname = (char *)malloc(G.dirnamelen+1)) == (char *)NULL) {
232 strncpy(G.dirname, wildspec, G.dirnamelen);
233 G.dirname[G.dirnamelen] = '\0'; /* terminate for strcpy below */
237 if ((G.wild_dir = (zvoid *)opendir(G.dirname)) != (zvoid *)NULL) {
249 strcpy(G.matchname, G.dirname);
261 FnFilter1(G.dirname)));
274 free(G.dirname);
279 * successfully (in a previous call), so dirname has been copied into
290 /* strcpy(G.matchname, G.dirname); */
302 free(G.dirname);