A threaded rm(1) - use at your own peril
Go to file
Érico Nogueira 90693c6d04 Fix build on older glibc versions.
_POSIX_C_SOURCE is necessary for getopt(3), and _DEFAULT_SOURCE is
necessary for the d_type enumerations in struct dirent.

Since we are here, use the C11 standard explicitly.

These fixes only allow us to build with glibc>=2.28, which is when the
<threads.h> header was added [1], necessary to access the thread_local
macro.

[1] https://stackoverflow.com/a/22875599
2023-07-26 10:17:48 -03:00
.gitignore Initial commit. 2021-05-17 23:29:05 -03:00
Makefile Fix build on older glibc versions. 2023-07-26 10:17:48 -03:00
erm.c Close stdin on program launch. 2022-06-12 22:59:17 -03:00
erm.h Improve error handling and error messages. 2022-01-21 15:45:34 -03:00
remove.c Add directory file descriptor caching as well. 2022-06-12 23:14:31 -03:00