| 295 | } |
| 296 | |
| 297 | static void write_to_child(int out, const unsigned char *buf, ssize_t len, const char *prog_name) |
| 298 | { |
| 299 | if (write_in_full(out, buf, len) < 0) |
| 300 | die("unable to write to '%s'", prog_name); |
| 301 | } |
| 302 | |
| 303 | /* |
| 304 | * This is basically strbuf_read(), except that if we |
no test coverage detected