aboutsummaryrefslogtreecommitdiffstats
path: root/pack.c
diff options
context:
space:
mode:
authorJeremy Evans <code@jeremyevans.net>2019-07-09 21:33:01 -0700
committerJeremy Evans <code@jeremyevans.net>2019-07-22 12:06:41 -0700
commit2f6cc00338826dbaa439a18e4b4f7a19c1f5987a (patch)
tree2700997c49c4ab29b99d516e4dcce03dc32997f0 /pack.c
parent9f9a6dbc1491fa9407bf3da70646dc8636c566f5 (diff)
downloadruby-2f6cc00338826dbaa439a18e4b4f7a19c1f5987a.tar.gz
Fix documentation for Array#pack m directive count specifier [ci skip]
Fixes [Bug #10025]
Diffstat (limited to 'pack.c')
-rw-r--r--pack.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/pack.c b/pack.c
index 3305ccaa1e..e43e43777e 100644
--- a/pack.c
+++ b/pack.c
@@ -286,8 +286,10 @@ VALUE_to_float(VALUE obj)
* u | String | UU-encoded string
* 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)
+ * m | String | base64 encoded string (see RFC 2045)
* | | (if count is 0, no line feed are added, see RFC 4648)
+ * | | (count specifies input bytes between each LF,
+ * | | rounded down to nearest multiple of 3)
* P | String | pointer to a structure (fixed-length string)
* p | String | pointer to a null-terminated string
*