libarchive-ruby icon indicating copy to clipboard operation
libarchive-ruby copied to clipboard

terminate called after throwing an instance of 'std::length_error'

Open ghost opened this issue 10 years ago • 0 comments

terminate called after throwing an instance of 'std::length_error' what(): basic_string::append Aborted

How to reproduce:

require 'archive' archive = Archive.new('test.tar.xz') files_to_add = Dir['*/']

The above works

now add it

archive << files_to_add

^^^ leads to the above error; perhaps the error message can be improved as well?

ghost avatar Mar 14 '15 14:03 ghost