| 35 | /* ── Local helpers ──────────────────────────────────────────────── */ |
| 36 | |
| 37 | static void ri_write_text(const char *dir, const char *name, const char *content) { |
| 38 | char path[700]; |
| 39 | snprintf(path, sizeof(path), "%s/%s", dir, name); |
| 40 | FILE *f = fopen(path, "wb"); |
| 41 | if (f) { |
| 42 | fputs(content, f); |
| 43 | fclose(f); |
| 44 | } |
| 45 | } |
| 46 | |
| 47 | /* Write a comment-only python file padded well past `bytes`. The file is never |
| 48 | * parsed (the size cap rejects it before extraction), so its content only needs |
no outgoing calls
no test coverage detected