tarfile copy filename too

This commit is contained in:
2025-08-29 12:49:47 -05:00
parent 97c011c529
commit 2800ce2943

View File

@@ -40,6 +40,7 @@ class tarball {
// Seemingly, stringstream is non-copyable.
tarfile() {}
tarfile(const tarfile& other) {
filename = other.filename;
contents.str("");
contents << other.contents.str();
}