Menu

#36 put_next_entry broke backwards compatibility in rev 1.45

open
nobody
None
5
2012-07-18
2010-08-18
No

In revision 1.45, put_next_entry was modified to allow setting the comment-field, among other things. This was done in a backwards-incompatible way:

http://rubyzip.cvs.sourceforge.net/viewvc/rubyzip/rubyzip/lib/zip/zip.rb?r1=1.44&r2=1.45

Ruby does not have keyword arguments like Python, so inserting a new parameter in the middle (as this change did) will break existing code.

This effectively breaks all code which specifies the "level" parameter.

Discussion

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.