see if avoiding SIGPIPE fixes w32 target build
[debian/gzip] / debian / patches / sigpipe.diff
1 diff --git a/gzip.c b/gzip.c
2 index 38e1373..0d9f499 100644
3 --- a/gzip.c
4 +++ b/gzip.c
5 @@ -223,7 +223,9 @@ static int handled_sig[] =
6  #ifdef SIGHUP
7      , SIGHUP
8  #endif
9 +#ifdef SIGPIPE
10      , SIGPIPE
11 +#endif
12  #ifdef SIGTERM
13      , SIGTERM
14  #endif