mirror of
https://github.com/mhx/dwarfs.git
synced 2025-09-10 04:50:31 -04:00
Adjust max name length again
This commit is contained in:
parent
c09891b34f
commit
a80a068c6d
@ -352,7 +352,9 @@ void check_string_tables(global_metadata::Meta const* meta) {
|
||||
}
|
||||
}
|
||||
|
||||
constexpr size_t max_name_len = 2048;
|
||||
// max name length is usually 255, but fsst compression, in the worst
|
||||
// case, will use 2 bytes per input byte...
|
||||
constexpr size_t max_name_len = 512;
|
||||
constexpr size_t max_symlink_len = 4096;
|
||||
|
||||
if (auto cn = meta->compact_names()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user