.conf => this is a config file that can set limits/resources
| 326 | // *.conf => this is a config file that can set limits/resources |
| 327 | // |
| 328 | bool SetConfigFile(const std::string& name) |
| 329 | { |
| 330 | if (name.size() < 5) |
| 331 | return false; |
| 332 | |
| 333 | if (name.compare(name.size() - 5, 5, ".conf") == 0) { |
| 334 | ConfigFile = name; |
| 335 | return true; |
| 336 | } |
| 337 | |
| 338 | return false; |
| 339 | } |
| 340 | |
| 341 | // |
| 342 | // Give error and exit with failure code. |
no test coverage detected