… | … | ||
---|---|---|---|
408 | static void | 408 | static void |
409 | s_epipe_drain (s_epipe *epp) | 409 | s_epipe_drain (s_epipe *epp) |
410 | { | 410 | { |
411 | char buf [9]; | 411 | char buf [9]; |
412 | 412 | ||
413 | fprintf (stderr, "drain\n");//D | ||
414 | #ifdef _WIN32 | 413 | #ifdef _WIN32 |
415 | recv (epp->fd [0], buf, sizeof (buf), 0); | 414 | recv (epp->fd [0], buf, sizeof (buf), 0); |
416 | #else | 415 | #else |
417 | read (epp->fd [0], buf, sizeof (buf)); | 416 | read (epp->fd [0], buf, sizeof (buf)); |
418 | #endif | 417 | #endif |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |