diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-01-17 05:41:01 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-01-17 05:41:01 +0000 |
commit | b25ad0daaa3bdcce819e3c830883472282f21c2c (patch) | |
tree | d5ee5cac0889ae160dd5665d46626ebdb161b205 /ChangeLog | |
parent | 361d51a7ee5965c343d7b7003939a9a21309c76b (diff) | |
download | ruby-b25ad0daaa3bdcce819e3c830883472282f21c2c.tar.gz |
option.c: make error messages consistent
* ext/socket/option.c (check_size): extract a macro to check
binary data size, with a consistent message.
* ext/socket/option.c (sockopt_byte): fix error message,
sizeof(int) differs from sizeof(unsigned char) in general.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,11 @@ +Sun Jan 17 14:40:22 2016 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * ext/socket/option.c (check_size): extract a macro to check + binary data size, with a consistent message. + + * ext/socket/option.c (sockopt_byte): fix error message, + sizeof(int) differs from sizeof(unsigned char) in general. + Sat Jan 16 21:16:21 2016 Nobuyoshi Nakada <nobu@ruby-lang.org> * parse.y (xstring): reset heredoc indent after dedenting, |