Searched refs:mstat (Results 1 – 1 of 1) sorted by relevance
401 struct stat mstat; in make_dir_with_options() local402 if (lstat(options.target.c_str(), &mstat) != 0) { in make_dir_with_options()409 if (lstat(options.target.c_str(), &mstat) != 0) { in make_dir_with_options()413 if (!S_ISDIR(mstat.st_mode)) { in make_dir_with_options()416 bool needs_chmod = (mstat.st_mode & ~S_IFMT) != options.mode; in make_dir_with_options()417 if ((options.uid != static_cast<uid_t>(-1) && options.uid != mstat.st_uid) || in make_dir_with_options()418 (options.gid != static_cast<gid_t>(-1) && options.gid != mstat.st_gid)) { in make_dir_with_options()