Lines Matching refs:directory
89 char *directory; member
189 static void add_exclude(const char *directory) in add_exclude() argument
194 if (directory == NULL || directory[0] != '/') { in add_exclude()
195 bb_error_msg_and_die("full path required for exclude: %s", directory); in add_exclude()
197 if (lstat(directory, &sb)) { in add_exclude()
198 bb_error_msg("directory \"%s\" not found, ignoring", directory); in add_exclude()
203 directory, sb.st_mode); in add_exclude()
210 len = strlen(directory); in add_exclude()
211 while (len > 1 && directory[len - 1] == '/') { in add_exclude()
214 excludeArray[excludeCtr].directory = xstrndup(directory, len); in add_exclude()
222 if (strncmp(file, excludeArray[i].directory, in exclude()