[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gzip-1.3.11 build feedback
From: |
Paul Eggert |
Subject: |
Re: gzip-1.3.11 build feedback |
Date: |
Thu, 08 Feb 2007 14:56:47 -0800 |
User-agent: |
Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) |
"Nelson H. F. Beebe" <address@hidden> writes:
> On both systems, after making that one-character change, "make
> check" reports "Test succeeded.".
Thanks for checking. I also verified that a similar problem exists
on Solaris 10 ksh. I installed the patch, as follows:
2007-02-08 Paul Eggert <address@hidden>
* zdiff.in: Don't use '((' in a shell script, as it's not portable
to some ksh implementations, e.g., Solaris 10 ksh M-11/16/88i.
Problem reported by Nelson H. F. Beebe in
<http://lists.gnu.org/archive/html/bug-gzip/2007-02/msg00005.html>.
--- zdiff.in 5 Feb 2007 20:54:26 -0000 1.9
+++ zdiff.in 8 Feb 2007 22:54:57 -0000
@@ -103,7 +103,7 @@ elif test $# -eq 2; then
gzip_status=$(
exec 4>&1
(gzip -cdfq -- "$1" 4>&-; echo $? >&4) 3>&- |
- ((gzip -cdfq -- "$2" 4>&-; echo $? >&4) 3>&- 5<&-
</dev/null |
+ ( (gzip -cdfq -- "$2" 4>&-; echo $? >&4) 3>&- 5<&-
</dev/null |
eval "$cmp" /dev/fd/5 -) 5<&0
)
case $gzip_status in