freebsd-src/bin
Dag-Erling Smørgrav dd286b0dc1 cp: Improved conformance when copying directories.
* When copying a directory, if the destination exists and is not a
  directory, we would previously emit an error message and exit.  The
  correct behavior according to POSIX is to emit an error message and
  continue without descending further into the source directory.

* When copying a directory, if the destination does not exist and we
  fail to create it, we would previously emit an error message and
  exit.  The correct behavior according to POSIX is to emit an error
  message and continue.  Whether to descend further into the source
  directory is explicitly left unspecified; GNU cp does not, which
  seems to me to be the safer and less surprising option, so let's not
  either.

MFC after:	1 week
Sponsored by:	Klara, Inc.
Reviewed by:	kevans
Differential Revision:	https://reviews.freebsd.org/D44577
2024-04-01 19:29:31 +02:00
..
cat cat: fix cap_rights_init usage 2024-02-14 19:37:54 -05:00
chflags chflags(1): obey siginfo request on chflagsat(2) failure 2024-01-30 22:21:55 +02:00
chio chio(8): Fix typo in the copyright section 2024-02-13 12:38:27 +08:00
chmod Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
cp cp: Improved conformance when copying directories. 2024-04-01 19:29:31 +02:00
cpuset Use proper convention for relative path linking 2023-08-18 04:20:32 -07:00
csh csh: Use HOST_CC when compiling hostprog used by csh build 2024-03-27 18:21:50 -04:00
date date(1): Grammar fixes 2024-02-13 19:00:59 +08:00
dd bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
df df(1): Fix grammar 2024-02-13 18:31:05 +08:00
domainname domainname(1): Grammar fix 2024-02-13 19:13:33 +08:00
echo Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
ed ed(1): Fix grammar in comment 2024-02-13 17:55:54 +08:00
expr Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
freebsd-version bsdinstall: rename "Live CD" to "Live System" 2023-12-29 15:24:25 -05:00
getfacl bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
hostname tests: Fixing incomplete atf_skip if missing jail condition 2024-02-23 13:08:09 +01:00
kenv bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
kill Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
ln ln: Add a test case for ln -sfF. 2024-03-27 11:03:56 +01:00
ls ls.1: Mention CLICOLOR environment variable 2024-02-21 11:54:58 +01:00
mkdir Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
mv mv: Improve comment 2023-12-26 10:24:22 -07:00
nproc nproc.1: Fix "first appeared in" details 2023-06-02 18:53:55 +02:00
pax pax(1): Grammar fix in file_subs.c 2024-02-13 15:09:32 +08:00
pkill bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
ps bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
pwait pwait.1: add missing prompt and command in examples 2023-11-27 10:59:52 -06:00
pwd Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
realpath bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
rm Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
rmail bin: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
rmdir Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
setfacl bin/setfacl: remove unreachable break after usage() 2024-01-03 12:05:50 -07:00
sh sh(1): Grammar fix in jobs.c 2024-02-13 14:13:08 +08:00
sleep sleep: Overhaul. 2024-03-25 16:59:02 +01:00
stty bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
sync Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
test bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
tests Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
timeout bin/timeout: remove unreachable break after usage() 2024-01-03 12:05:50 -07:00
uuidgen bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
Makefile bin: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
Makefile.inc bin: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00