Date: Wed, 23 Feb 2022 18:59:16 +0000 From: bugzilla-noreply@freebsd.org To: standards@FreeBSD.org Subject: [Bug 199466] cp(1) should accept -P without -R as well per POSIX.1-2008 or like GNU cp Message-ID: <bug-199466-99-hhHcsCWkC5@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-199466-99@https.bugs.freebsd.org/bugzilla/> References: <bug-199466-99@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D199466 --- Comment #3 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D97e13037915c22162f199461f56951793= d669f57 commit 97e13037915c22162f199461f56951793d669f57 Author: Cameron Katri <me@cameronkatri.com> AuthorDate: 2022-02-23 18:55:13 +0000 Commit: Kyle Evans <kevans@FreeBSD.org> CommitDate: 2022-02-23 18:55:13 +0000 cp: Make -P work without -R as per POSIX According to POSIX, cp should allow the `-P` flag to work whether `-R` is specified or not. Currently, the `-P` option only works along with `-R`. PR: 199466 Reviewed by: kevans Differential Revision: https://reviews.freebsd.org/D30012 bin/cp/cp.1 | 16 ++++++++++++---- bin/cp/cp.c | 13 ++++++++----- bin/cp/tests/cp_test.sh | 11 +++++++++++ 3 files changed, 31 insertions(+), 9 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-199466-99-hhHcsCWkC5>