1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* ext/readline/readline.c: parenthesize macro arguments.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2011-03-23 12:09:57 +00:00
parent 9b66922d7f
commit a3f7076690
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Wed Mar 23 21:09:29 2011 Tanaka Akira <akr@fsij.org>
* ext/readline/readline.c: parenthesize macro arguments.
Wed Mar 23 08:07:33 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* numeric.c (flo_round): fix inaccurate results.

View file

@ -75,7 +75,7 @@ static char **readline_attempted_completion_function(const char *text,
#define OutputStringValue(str) do {\
SafeStringValue(str);\
str = rb_str_conv_enc(str, rb_enc_get(str), rb_locale_encoding());\
(str) = rb_str_conv_enc((str), rb_enc_get(str), rb_locale_encoding());\
} while (0)\