S_ISDIR
if (r == -1 || !S_ISDIR(to_stat.st_mode)) {
if (S_ISDIR(tmp_stat.st_mode) && (Rflag || rflag))
if (!S_ISDIR(to_stat.st_mode))
if (S_ISDIR(curr->fts_statp->st_mode))
if (!S_ISDIR(curr->fts_statp->st_mode) &&
S_ISDIR(to_stat.st_mode)) {
} else if (!S_ISDIR(to_stat.st_mode))
if (stat(ptr = a, &stb) == 0 && S_ISDIR(stb.st_mode)) \
#define isdir(d) (S_ISDIR(d.st_mode))
(dir_ok && S_ISDIR(stbuf.st_mode))));
i = S_ISDIR(stb.st_mode);
S_ISDIR(statb.st_mode))
return stat(opnd1, &b1) == 0 && S_ISDIR(b1.st_mode);
else if (S_ISDIR(statb.st_mode))
xp[-1] == '/' && !S_ISDIR(lstatb.st_mode) &&
stat_check() < 0 || !S_ISDIR(statb.st_mode)))
(S_ISDIR(lstatb.st_mode) ||
S_ISDIR(statb.st_mode)))) {
err = S_ISDIR(statb.st_mode) ? EISDIR : EACCES;
stat(s, &statb) == 0 && S_ISDIR(statb.st_mode))
if (!S_ISDIR(sb.st_mode))
if (S_ISDIR(sb.st_mode)) {
if (isdir || (!statf(source, &sb) && S_ISDIR(sb.st_mode))) {
if (f_type || (f_typedir && S_ISDIR(sp->st_mode)))
if (f_type || (f_typedir && S_ISDIR(sp->st_mode)))
if (!S_ISDIR(sb.st_mode)) {
if (r == -1 || !S_ISDIR(to_stat.st_mode)) {
if (S_ISDIR(tmp_stat.st_mode))
if (!S_ISDIR(to_stat.st_mode))
if (S_ISDIR(curr->fts_statp->st_mode))
if (!S_ISDIR(curr->fts_statp->st_mode) &&
S_ISDIR(to_stat.st_mode)) {
} else if (!S_ISDIR(to_stat.st_mode))
if (stat(argv[argc - 1], &sb) || !S_ISDIR(sb.st_mode)) {
if (S_ISDIR(fsb.st_mode)) {
if ((S_ISDIR(sb.st_mode)) ? rmdir(to) : unlink(to)) {
if (S_ISDIR(arsb.st_mode)) {
if (!S_ISDIR(sb.st_mode)) {
if (S_ISDIR(sb.st_mode)) {
if (S_ISDIR(sb.st_mode)) {
if (S_ISDIR(sb.st_mode)) {
} else if (!S_ISDIR(sb.st_mode)) {
if (S_ISDIR(sb.st_mode) && !dflag) {
else if (S_ISDIR(sb.st_mode))
return S_ISDIR(sbuf.st_mode);
if (stat(pwd->pw_dir, &sb) == -1 || !S_ISDIR(sb.st_mode) ||
if (S_ISDIR(sbp->st_mode)) {
pathend[-1] != SEP) && (S_ISDIR(sb.st_mode) ||
S_ISDIR(sb.st_mode)))) {
if (!S_ISDIR(sb.st_mode)) {
if (S_ISDIR(st.st_mode))
#ifndef S_ISDIR
&& S_ISDIR(sb.st_mode)) {
&& (S_ISDIR(sb->st_mode)
} else if (!(S_ISDIR(statbuf.st_mode))) {
if (S_ISDIR(stbuf.st_mode))
if (!S_ISDIR(st.st_mode)) {
} else if (!S_ISDIR(st.st_mode))
if (!S_ISDIR(sb.st_mode) && strchr(path, '/') != NULL &&
if (!S_ISDIR(sb.st_mode) && !S_ISREG(sb.st_mode))
if (S_ISDIR(st.st_mode)) {
if (lstat(dirp, &sb) == -1 || !S_ISDIR(sb.st_mode))
(!S_ISDIR(sb.st_mode) && !S_ISREG(sb.st_mode)))
(!S_ISDIR(stb.st_mode) && !S_ISREG(stb.st_mode)) ||
if (!S_ISDIR(st.st_mode) && !S_ISBLK(st.st_mode))
return (S_ISDIR(st.st_mode));
if (S_ISDIR(st.st_mode)) {
} else if (!S_ISDIR(sb.st_mode)) {
if (stat(path, &st) == -1 || !S_ISDIR(st.st_mode)) {
if (stat(path, &st) == -1 || !S_ISDIR(st.st_mode)) {
if (stat(path, &st) == -1 || !S_ISDIR(st.st_mode)) {
if (!S_ISDIR(sb.st_mode)) {
if (stat(s, &sbuf) == 0 && S_ISDIR(sbuf.st_mode))
if (!S_ISDIR(st.st_mode)) {
if (S_ISDIR(sb.st_mode))
else if (!S_ISDIR(st.st_mode))
if (!S_ISDIR(st.st_mode))
if (S_ISDIR(st.st_mode))
if (S_ISDIR(st.st_mode))
(l == -1 || (l == 0 && !S_ISDIR(st.st_mode)))) {
S_ISDIR(st.st_mode)))) {
if (stat(CVS_PATH_CVSDIR, &st) == -1 || !S_ISDIR(st.st_mode)) {
if (S_ISDIR(st.st_mode))
if (gotstdin && (S_ISDIR(stb1.st_mode) || S_ISDIR(stb2.st_mode)))
if (S_ISDIR(stb1.st_mode) && S_ISDIR(stb2.st_mode)) {
if (S_ISDIR(stb1.st_mode)) {
if (S_ISDIR(stb2.st_mode)) {
if (S_ISDIR(stb1.st_mode) && S_ISDIR(stb2.st_mode)) {
if (!S_ISREG(stb1.st_mode) && !S_ISDIR(stb1.st_mode))
else if (!S_ISREG(stb2.st_mode) && !S_ISDIR(stb2.st_mode))
if (S_ISDIR(stb1.st_mode) != S_ISDIR(stb2.st_mode))
return (S_ISDIR(stb1.st_mode) ? D_MISMATCH1 : D_MISMATCH2);
if (!S_ISDIR(mode) && !S_ISLNK(mode)) {
if (S_ISDIR(entry->fts_statp->st_mode)) {
if (S_ISDIR(entry->fts_statp->st_mode)) {
if (S_ISDIR(filestat.st_mode) && depth == max_depth)
if (S_ISDIR(filestat.st_mode)) {
if (S_ISDIR(sb.st_mode)) {
isdir = (r >= 0 && S_ISDIR(statbuf.st_mode));
if (!(S_ISDIR(ts.st_mode)))
if (!(S_ISDIR(fs.st_mode)))
if (S_ISDIR(sb.st_mode)) {
return(S_ISDIR(sbuf.st_mode));
if (S_ISDIR(st.st_mode)) {
else if (S_ISDIR(sb.st_mode) == 0)
} else if (!finished && ishere && S_ISDIR(sb.st_mode)) {
if (!ishere || !S_ISDIR(sb.st_mode)) {
if (S_ISDIR(statbuf.st_mode)) {
if (S_ISDIR(statbuf.st_mode)) {
if (S_ISDIR(statbuf.st_mode)) {
if (S_ISDIR(statbuf.st_mode))
if (S_ISDIR(statbuf.st_mode))
S_ISDIR(sb.st_mode) && !bkupleavetmp(fn)) {
!S_ISDIR(sb.st_mode)) {
return S_ISDIR(st.st_mode);
} else if (!S_ISDIR(sb.st_mode)) {
if (stat(fullname, &filestat) == 0 && S_ISDIR(filestat.st_mode)) {
if (stat(rcsdir, &sb) == 0 && S_ISDIR(sb.st_mode))
if (S_ISDIR(st->st_mode)) {
isadir = S_ISDIR(s.st_mode);
if (S_ISDIR(stb.st_mode)) {
if (!S_ISDIR(stb.st_mode)) {
if (stat(path, &stb) == 0 && S_ISDIR(stb.st_mode)) {
if (S_ISDIR(stb.st_mode)) {
if ((stat(target, &statbuff) == 0) && S_ISDIR(statbuff.st_mode)) {
if (S_ISDIR(stb.st_mode)) {
if (!S_ISDIR(stb.st_mode)) {
if (S_ISDIR(st.st_mode)) {
if (rules_match(argv[i], S_ISDIR(st.st_mode)) == -1) {
assert(S_ISDIR(wfl[0].st.mode));
assert(S_ISDIR(wfl[i].st.mode));
flag = S_ISDIR(fl[i].st.mode) ? AT_REMOVEDIR : 0;
if (!S_ISDIR(fl[i].st.mode))
} else if (!S_ISDIR(st.st_mode)) {
!S_ISDIR(ent->fts_statp->st_mode))
if (!S_ISDIR(sb.st_mode)) {
} else if (S_ISDIR(fl[idx].st.mode)) {
if (S_ISDIR(u->fl[i].st.mode))
if (S_ISDIR(st.st_mode) &&
if (S_ISDIR(st.st_mode) &&
if (S_ISDIR(st.st_mode) &&
if (S_ISDIR(st.st_mode) &&
assert(S_ISDIR(f->st.mode));
if (rc != -1 && !S_ISDIR(st.st_mode)) {
assert(S_ISDIR(f->st.mode));
if (!S_ISDIR(st.st_mode)) {
if (S_ISDIR(st.st_mode) &&
if (S_ISDIR(u->fl[u->idx].st.mode))
if (fstat(fd, &sb) == -1 || S_ISDIR(sb.st_mode))
if (!S_ISDIR(sb.st_mode)) {
src_is_dir = S_ISDIR(st.st_mode);
dst_is_dir = r == 0 && S_ISDIR(st.st_mode);
if (stat(targ, &stb) == 0 && S_ISDIR(stb.st_mode))
if (!S_ISDIR(stb.st_mode)) {
if (S_ISDIR(stb.st_mode))
if (!S_ISDIR(st.st_mode))
if (!S_ISDIR(dirattrib->perm)) {
if (S_ISDIR(a->perm)) {
if (!S_ISDIR(sb.st_mode)) {
if (!S_ISDIR(dirattrib.perm)) {
if (S_ISDIR(sb.st_mode)) {
if (!S_ISDIR(dirattrib->perm)) {
if (!S_ISDIR(newdir.perm)) {
if (S_ISDIR(a->perm)) {
return S_ISDIR(a.perm);
if (fudge_stat(s, &sb) == 0 && S_ISDIR(sb.st_mode)) {
if (!S_ISDIR(aa.perm)) {
return S_ISDIR(sb.st_mode);
S_ISDIR(g.gl_statv[0]->st_mode)) {
(S_ISDIR(sb.st_mode) == 0))
if (!S_ISDIR(sb.st_mode)
&& S_ISDIR(sb.st_mode)
if (!S_ISDIR(sb.st_mode)) {
!stat(cmd.argv[0]->bp, &sb) && S_ISDIR(sb.st_mode)) {
if (argc == 1 && !stat(cmd.argv[0]->bp, &sb) && S_ISDIR(sb.st_mode)) {
if (S_ISREG(sbuf.st_mode) || S_ISDIR(sbuf.st_mode))
if (!no_target && S_ISDIR(to_sb.st_mode)) {
if (!S_ISDIR(sb.st_mode)) {
if (stat(aml_dumpfile, &st) == 0 && S_ISDIR(st.st_mode))
} else if (!S_ISDIR(st.st_mode))
if (stat(srcdir, &st) != 0 || !S_ISDIR(st.st_mode))
return S_ISDIR(buf.st_mode);
if (S_ISDIR(subst.st_mode)) {
if (S_ISDIR(st.st_mode)) {
if ((stat(fw, &st) != 0) || !S_ISDIR(st.st_mode))
if ((stat(dst, &st) != 0) || !S_ISDIR(st.st_mode)) {
if (!S_ISDIR(sb.st_mode))
if (!S_ISDIR(sb.st_mode))
if (S_ISDIR(statb.st_mode)) {
if ((S_ISDIR(root->type)) && (root->name[0] == '.')
if (!S_ISDIR(iterator->type) ||
if (S_ISDIR(iterator->type)) {
if (S_ISDIR(cn->node->type)) {
if (S_ISDIR(child->node->type)) {
if (S_ISDIR(child->node->type))
temp, sizeof temp, !(S_ISDIR(newnode->node->type)));
if (S_ISDIR(newnode->node->type))
if (!(S_ISDIR(node->type)))
assert (! S_ISDIR(cur->type));
if (S_ISDIR(DIP(dp, mode))) {
if (S_ISDIR(cur->type) &&
S_ISDIR(stbuf.st_mode)) {
if (S_ISDIR(cur->type)) {
if (!S_ISDIR(p->fts_statp->st_mode))
if (iflag || S_ISDIR(p->fts_statp->st_mode))
if (!dflag || (dflag && S_ISDIR(p->fts_statp->st_mode))) {
if (S_ISDIR((*a)->fts_statp->st_mode)) {
if (!S_ISDIR((*b)->fts_statp->st_mode))
} else if (S_ISDIR((*b)->fts_statp->st_mode))
if ((S_ISDIR(p->fts_statp->st_mode)
if(S_ISDIR(st.st_mode)) {
else if (!S_ISDIR(sb.st_mode)) {
if (!S_ISDIR(sb.st_mode)) {
if(S_ISDIR(buf.st_mode)) {
if(!(S_ISDIR(buf.st_mode))) {
if (!S_ISDIR(st.st_mode)) {
if (!((stat(map_path, &finfo) == 0) && S_ISDIR(finfo.st_mode))) {
S_ISDIR(finfo.st_mode));
if (!((stat(domain_path, &finfo) == 0) && S_ISDIR(finfo.st_mode)))
S_ISDIR(finfo.st_mode));
S_ISDIR(finfo.st_mode));
S_ISDIR(finfo.st_mode));
if (!((stat(map_path, &finfo) == 0) && S_ISDIR(finfo.st_mode))) {