mirror of https://github.com/ericonr/erm.git
Érico Nogueira
5fcae83d95
Use PTHREAD_STACK_MIN where available. This required some changes to work on musl: - the removal of an intermediary buffer with PATH_MAX bytes. This was an optimization, since it avoided usage of a *printf function and halved the amount of copying being done - stop using scandir, since qsort uses a lot of stack. This is partially a performance improvement: avoided calling qsort multiple times and allocating the result list, but it locks the queue mutex for a longer time |
||
---|---|---|
.gitignore | ||
Makefile | ||
erm.c | ||
erm.h | ||
remove.c |