[1.9] Array#pack does not support 'm0' format ---------------------------------------------
Key: JRUBY-4741 URL: http://jira.codehaus.org/browse/JRUBY-4741 Project: JRuby Issue Type: Improvement Components: Core Classes/Modules Affects Versions: JRuby 1.5.0.RC1 Environment: any Reporter: Hiroshi Nakamura Attachments: 0001-Added-m0-Array-pack-format-in-1.9.patch {noformat} 0% ruby -e 'p ["\0"].pack("m")' "AA==\n" 0% ruby -e 'p ["\0"].pack("m0")' "AA==\n" 0% ruby19 -e 'p ["\0"].pack("m")' "AA==\n" 0% ruby19 -e 'p ["\0"].pack("m0")' "AA==" # <<< new pack format >>> 0% bin/jruby -e 'p ["\0"].pack("m")' "AA==\n" 0% bin/jruby -e 'p ["\0"].pack("m0")' "AA==\n" 0% bin/jruby --1.9 -e 'p ["\0"].pack("m")' "AA==\n" 0% bin/jruby --1.9 -e 'p ["\0"].pack("m0")' "AA==\n" # <<< should be "AA==" (no last LF) >>> {noformat} JRUBY-4717 requires this feature. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email