| 306 | } |
| 307 | |
| 308 | static bool config_sync_descriptor(int descriptor) { |
| 309 | int result; |
| 310 | do { |
| 311 | result = fsync(descriptor); |
| 312 | } while (result != 0 && errno == EINTR); |
| 313 | return result == 0; |
| 314 | } |
| 315 | |
| 316 | static bool config_sync_parent_directory(const char *path) { |
| 317 | char directory[CBM_SZ_1K]; |
no outgoing calls
no test coverage detected