Cygwin: pipe: handle signals explicitely in raw_write
commit7f3c22532577ae0a926e8eb8ad63787c9841abbf
authorCorinna Vinschen <corinna@vinschen.de>
Sun, 18 Aug 2024 19:40:51 +0000 (18 21:40 +0200)
committerCorinna Vinschen <corinna@vinschen.de>
Sun, 18 Aug 2024 19:40:51 +0000 (18 21:40 +0200)
treebafa7012f987bf3f23cc4e77c8fbde1046281303
parentb2e05e03df85ba84f11e10445663fb23ebd21e23
Cygwin: pipe: handle signals explicitely in raw_write

The simple cygwait call in fhandler_pipe_fifo::raw_write doesn't
take the SA_RESTART setting into account. Move handling the
signal into raw_write.

Fixes: 4b25687ea3ee2 ("Cygwin: fhandler_pipe: add raw_read and raw_write")
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
winsup/cygwin/fhandler/pipe.cc