Reuse the same sbuf for every file, clearing the buffer each time.
modified libpkg/packing.c
@@ -121,20 +121,20 @@ packing_append_tree(struct packing *pack, const char *treepath, const char *newr
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -146,6 +146,7 @@ packing_append_tree(struct packing *pack, const char *treepath, const char *newr
|
|
|
|
|
|
| + | |
|
|
|
|
|