1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 04:27:45 +00:00

LibArchive: Support writing paths up to 255 characters

The POSIX.1-1988 limit was 100, but with the ustar prefix field it's 255
(kinda).
This commit is contained in:
Peter Elliott 2022-10-24 20:47:07 -06:00 committed by Linus Groh
parent 9ae36e2035
commit 612a3324d7
3 changed files with 22 additions and 2 deletions

View file

@ -130,6 +130,8 @@ public:
bool content_is_like_extended_header() const;
void set_filename_and_prefix(StringView filename);
private:
char m_filename[100] { 0 };
char m_mode[8] { 0 };