diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-04-19 07:28:40 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-04-19 07:28:40 +0000 |
commit | 3a5d1e4b775deee8c8731a97048b752a33b35922 (patch) | |
tree | 7bbe9ea483fb4bf2470f758d20fda1e621ce19bd /pack.c | |
parent | c635662d7fb56dcf743c6bb32755904bc2914098 (diff) | |
download | ruby-3a5d1e4b775deee8c8731a97048b752a33b35922.tar.gz |
pack/unpack M only handles LF line breaks [Feature #14352]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'pack.c')
-rw-r--r-- | pack.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -242,7 +242,8 @@ str_associated(VALUE str) * H | String | hex string (high nibble first) * h | String | hex string (low nibble first) * u | String | UU-encoded string - * M | String | quoted printable, MIME encoding (see RFC2045) + * M | String | quoted printable, MIME encoding (see also RFC2045) + * | | (text mode but input must use LF and output LF) * m | String | base64 encoded string (see RFC 2045, count is width) * | | (if count is 0, no line feed are added, see RFC 4648) * P | String | pointer to a structure (fixed-length string) |