"Nelson H. F. Beebe" <[EMAIL PROTECTED]> 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  <[EMAIL PROTECTED]>

        * 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


Reply via email to