| 4257 | } |
| 4258 | |
| 4259 | Status SystemTools::SetPermissions(char const* file, mode_t mode, |
| 4260 | bool honor_umask) |
| 4261 | { |
| 4262 | if (!file) { |
| 4263 | return Status::POSIX(EINVAL); |
| 4264 | } |
| 4265 | return SystemTools::SetPermissions(std::string(file), mode, honor_umask); |
| 4266 | } |
| 4267 | |
| 4268 | Status SystemTools::SetPermissions(std::string const& file, mode_t mode, |
| 4269 | bool honor_umask) |
no test coverage detected