mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
5de3be1bee
Instead of allocating `MAXPATHLEN` buffer string at the beginning, allocate smaller (64 bytes) buffer, then resize it if needed. The allocating max size is safe but consumes more memory.