A threaded rm(1) - use at your own peril
Go to file
Érico Nogueira 5fcae83d95 Fix stack size to work on more (all?) platforms.
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
2021-09-18 16:51:10 -03:00
.gitignore Initial commit. 2021-05-17 23:29:05 -03:00
Makefile Update Makefile. 2021-09-18 16:08:44 -03:00
erm.c Stop using ftw. 2021-09-18 11:23:56 -03:00
erm.h Stop using ftw. 2021-09-18 11:23:56 -03:00
remove.c Fix stack size to work on more (all?) platforms. 2021-09-18 16:51:10 -03:00