tarfile copy filename too

This commit is contained in:
2025-08-29 12:49:47 -05:00
parent b9410ec7cb
commit e159a02474

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();
}