Array#pack does not implement 'p' and 'P' formats
-------------------------------------------------
Key: JRUBY-6109
URL: https://jira.codehaus.org/browse/JRUBY-6109
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Affects Versions: JRuby 1.6.4, JRuby 1.7
Environment: JRUBY_OPTS=--1.9, Mac OS X 10.7.
Reporter: Martin Harriman
Priority: Minor
Array#pack produces a zero-length string for a p or P format:
["Hello, world!"].pack("p").size is zero,
[nil].pack["P"].size is also zero.
This shows up as a failure in rubyspec (core/array/pack/p_spec.rb).
--
This message is automatically generated by JIRA.
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