/[packages]/cauldron/gzip/current/SOURCES/gzip-1.3.10-zgreppipe.patch
ViewVC logotype

Contents of /cauldron/gzip/current/SOURCES/gzip-1.3.10-zgreppipe.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 270 - (show annotations) (download)
Fri Jan 7 19:33:46 2011 UTC (13 years, 3 months ago) by tmb
File size: 451 byte(s)
imported package gzip
1 --- gzip-1.3.10/zgrep.in.pom 2006-12-30 04:01:51.000000000 +0100
2 +++ gzip-1.3.10/zgrep.in 2007-02-06 10:54:33.000000000 +0100
3 @@ -146,7 +146,7 @@
4
5 exec 3>&1
6 res=0
7 -
8 +trap break SIGPIPE
9 for i
10 do
11 # Fail if gzip or grep (or sed) fails.
12 @@ -190,5 +190,8 @@
13 r=$?
14 test "$gzip_status" -eq 0 || test "$gzip_status" -eq 2 || r=2
15 test $res -lt $r && res=$r
16 + # SIGPIPE + 128
17 + test "$r" -eq 141 && exit $res
18 done
19 +trap - SIGPIPE
20 exit $res

  ViewVC Help
Powered by ViewVC 1.1.30