| 55 | return fclose(f) == 0 && ok; |
| 56 | } |
| 57 | static bool pc_source_write(pc_fixture_t *f, const char *leaf, const char *text) { |
| 58 | char path[1024]; |
| 59 | return pc_path(path, sizeof(path), f->repo, leaf) && pc_write(path, text); |
| 60 | } |
| 61 | static bool pc_copy(const char *from, const char *to) { |
| 62 | FILE *a = cbm_fopen(from, "rb"), *b = cbm_fopen(to, "wb"); |
| 63 | bool ok = a && b; |
no test coverage detected