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