https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228448
--- Comment #2 from [email protected] --- A commit references this bug: Author: emaste Date: Wed Sep 12 19:41:17 UTC 2018 New revision: 338620 URL: https://svnweb.freebsd.org/changeset/base/338620 Log: Fix unlink(1) for files starting with - Restore the original behavior of unlink(1), passing the provided filename directly to unlink(2), handling the first argument being "--" correctly. This fixes "unlink -foo", broken in r97533. PR: 228448 Submitted by: Brennan Vincent <[email protected]> (original version) Submitted by: Yuri Pankov Reported by: Brennan Vincent <[email protected]> Reviewed by: emaste, kevans, vangyzen, 0mp Approved by: re (delphij) Differential Revision: https://reviews.freebsd.org/D17132 Changes: head/bin/rm/Makefile head/bin/rm/rm.1 head/bin/rm/rm.c head/bin/rm/tests/ head/bin/rm/tests/Makefile head/bin/rm/tests/Makefile.depend head/bin/rm/tests/rm_test.sh head/etc/mtree/BSD.tests.dist -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "[email protected]"
