| 313 | } |
| 314 | |
| 315 | static bool config_sync_descriptor(int descriptor) { |
| 316 | int result; |
| 317 | do { |
| 318 | result = fsync(descriptor); |
| 319 | } while (result != 0 && errno == EINTR); |
| 320 | return result == 0; |
| 321 | } |
| 322 | |
| 323 | static bool config_sync_parent_directory(const char *path) { |
| 324 | char directory[CBM_SZ_1K]; |
no outgoing calls
no test coverage detected