-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Recursive ADDFOLDER dies with malloc error #35
Comments
Thanks for the detailed report! While I try to reproduce this, see if the 1.4.5 release helps. |
Curious. The 1.4.5 release worked, in that it did not crash with a malloc() error, but it did NOT add the contents into the image as expected:
This resulted in:
When I was expecting the "ADD"ed (local) directory to come along for the ride.
Open a separate issue for the ADDFOLDER behavior? |
I confirmed that the old (1.1x) Windows version exhibits the same behavior. While I agree with your expected result I am wary of changing the default behavior of the tool (i.e. it may break someone's script). You can achieve what you want with:
I am thinking we can either: make the help text more useful, add a flag to preserve the directory, or both? |
I was relocating the contents of a large image to a smaller image. I began by extracting the contents of the larger image recursively, which worked:
Then attempted to add this folder to the smaller image, but was greeted with a malloc() error:
I was able to successfully add the contents by using CREATEFOLDER and multiple ADDFILE operations, but it took much longer and much more effort than the recursive ADDFOLDER would have.
The text was updated successfully, but these errors were encountered: