aboutsummaryrefslogtreecommitdiffstats
path: root/pack.c
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-04-19 07:28:40 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-04-19 07:28:40 +0000
commit3a5d1e4b775deee8c8731a97048b752a33b35922 (patch)
tree7bbe9ea483fb4bf2470f758d20fda1e621ce19bd /pack.c
parentc635662d7fb56dcf743c6bb32755904bc2914098 (diff)
downloadruby-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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pack.c b/pack.c
index 3413ec6c56..93577a9280 100644
--- a/pack.c
+++ b/pack.c
@@ -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)