Lines Matching refs:directory
15 char *directory;
115 static void add_exclude(const char *const directory)
120 if (directory == NULL || directory[0] != '/') {
121 bb_error_msg_and_die("full path required for exclude: %s", directory);
124 if (lstat(directory, &sb)) {
125 bb_error_msg("directory \"%s\" not found, ignoring", directory);
129 bb_error_msg("\"%s\" is not a directory: mode %o, ignoring",
130 directory, sb.st_mode);
137 len = strlen(directory);
138 while (len > 1 && directory[len - 1] == '/') {
141 excludeArray[excludeCtr].directory = xstrndup(directory, len);
149 if (strncmp(file, excludeArray[i].directory,
208 /* ensure trailing slash of directory name */
392 * the directory traversal.