1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-31 13:07:46 +00:00

unlink: Simplify, remove unsafe, move to core

This makes it no longer possible to pass multiple filenames, but every
other implementation I tried (GNU, busybox, FreeBSD, sbase) also
forbids that so I think it's for the best.
This commit is contained in:
Jan Verbeek 2021-08-28 00:38:00 +02:00
parent 92a1f1422e
commit b7d697753c
5 changed files with 42 additions and 100 deletions

View file

@ -98,6 +98,7 @@ feat_common_core = [
"touch",
"unexpand",
"uniq",
"unlink",
"wc",
"yes",
]
@ -182,7 +183,6 @@ feat_require_unix = [
"timeout",
"tty",
"uname",
"unlink",
]
# "feat_require_unix_utmpx" == set of utilities requiring unix utmp/utmpx support
# * ref: <https://wiki.musl-libc.org/faq.html#Q:-Why-is-the-utmp/wtmp-functionality-only-implemented-as-stubs?>