mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-02 21:00:16 -05:00
Switch esc_tag and path formatting to a contiguous thread-local circular pool to eliminate stack bloat
Some checks failed
Some checks failed
This commit is contained in:
parent
aee71ad2d6
commit
96e20b3912
21 changed files with 283 additions and 260 deletions
|
|
@ -1314,12 +1314,12 @@ extern int FMT_MODE;
|
|||
/**
|
||||
* Format a file path for poll reference
|
||||
*/
|
||||
const char* fmt_poll(const struct snapraid_disk* disk, const char* str, char* buffer);
|
||||
const char* fmt_poll(const struct snapraid_disk* disk, const char* str);
|
||||
|
||||
/**
|
||||
* Format a path name for terminal reference
|
||||
*/
|
||||
const char* fmt_term(const struct snapraid_disk* disk, const char* str, char* buffer);
|
||||
const char* fmt_term(const struct snapraid_disk* disk, const char* str);
|
||||
|
||||
/**
|
||||
* Format a size adding suffix K/M/G/T
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue