diff options
| author | Paul Eggert | 2016-01-24 17:27:52 -0800 |
|---|---|---|
| committer | Paul Eggert | 2016-01-24 17:29:01 -0800 |
| commit | 6475f9265ecf21a8d49bc3ac0dc66010c9ec6b05 (patch) | |
| tree | 63a676fa6aa05757206bc5fbd519895e5624dc65 /lib-src | |
| parent | 2f505ff7928a513ad7f30b9b7074e0d6d1436378 (diff) | |
| download | emacs-6475f9265ecf21a8d49bc3ac0dc66010c9ec6b05.tar.gz emacs-6475f9265ecf21a8d49bc3ac0dc66010c9ec6b05.zip | |
Port "$@" to OpenIndiana ksh93
In http://lists.gnu.org/archive/html/bug-autoconf/2015-12/msg00000.html
Pavel Raiskup reports that ${1+"$@"} runs afoul of a bug in /bin/sh
(derived from ksh 93t+ 2010-03-05). ${1+"$@"} works around an ancient
bug in long-dead shells, so remove the workaround.
* admin/check-doc-strings, configure.ac, lib-src/rcs2log:
Use plain "$@" rather than ${1+"$@"}.
Diffstat (limited to 'lib-src')
| -rwxr-xr-x | lib-src/rcs2log | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib-src/rcs2log b/lib-src/rcs2log index 73213c5a37b..ff4d470a21a 100755 --- a/lib-src/rcs2log +++ b/lib-src/rcs2log | |||
| @@ -403,8 +403,8 @@ case $rlogfile in | |||
| 403 | esac | 403 | esac |
| 404 | 404 | ||
| 405 | case $datearg in | 405 | case $datearg in |
| 406 | ?*) $rlog $rlog_options "$datearg" ${1+"$@"} >$rlogfile;; | 406 | ?*) $rlog $rlog_options "$datearg" "$@" >$rlogfile;; |
| 407 | '') $rlog $rlog_options ${1+"$@"} >$rlogfile;; | 407 | '') $rlog $rlog_options "$@" >$rlogfile;; |
| 408 | esac || exit;; | 408 | esac || exit;; |
| 409 | esac | 409 | esac |
| 410 | 410 | ||