ruby-changes:50458
From: nobu <ko1@a...>
Date: Mon, 26 Feb 2018 17:37:15 +0900 (JST)
Subject: [ruby-changes:50458] nobu:r62585 (trunk): Makefile.in: fix portability issue
nobu 2018-02-26 17:37:02 +0900 (Mon, 26 Feb 2018) New Revision: 62585 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=62585 Log: Makefile.in: fix portability issue * Makefile.in (mjit_config.h): Alternative value with $@ and printf without argument are not portable, could fail on some platforms. Modified files: trunk/Makefile.in Index: Makefile.in =================================================================== --- Makefile.in (revision 62584) +++ Makefile.in (revision 62585) @@ -546,7 +546,7 @@ mjit_config.h: https://github.com/ruby/ruby/blob/trunk/Makefile.in#L546 @{ \ quote() { \ printf "#define $$1"; shift; \ - printf $${1+' "%s"'$$sep} $${@-" /**/"}; \ + $${1+printf} $${1+' "%s"'$$sep} $${1+"$$@"}; \ echo; \ }; \ test "$(Q)" = @ || set -x; \ -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/