Zsh performs field splitting on `${1+"$@"}'; m4sh mostly insulates us from this
fact with `alias -g '${1+"$@"}'='"$@"''. However, this alias is not used if the
parameter expansion is part of a larger word, such as `"foo"${1+"$@"}'. This
patches func_echo to avoid the problem, fixing quote.test on Mac OS X 10.1.
2007-05-04 Noah Misch <[EMAIL PROTECTED]>
* libltdl/config/general.m4sh (func_echo): Use $* instead of ${1+"$@"}.
diff -urpX dontdiff lt-bootstrap/libltdl/config/general.m4sh
lt-echozsh/libltdl/config/general.m4sh
--- lt-bootstrap/libltdl/config/general.m4sh 2007-03-25 07:12:42.000000000
-0500
+++ lt-echozsh/libltdl/config/general.m4sh 2007-05-04 11:07:01.000000000
-0400
@@ -129,7 +129,7 @@ opt_verbose=false
# name if it has been set yet.
func_echo ()
{
- $ECHO "$progname${mode+: }$mode: "${1+"$@"}
+ $ECHO "$progname${mode+: }$mode: $*"
}
# func_verbose arg...