freebsd-src/bin
Warner Losh 3e7e3b5bdf cp: Don't warn for chflags() failing with EOPNOTSUPP if flags == 0
From NetBSD's utils.c 1.5 importing importing BSDI change, with light
formatting changes:
    Author: cgd <cgd@NetBSD.org>
    Date:   Wed Feb 26 14:40:51 1997 +0000

    Patch from BSDI (via Keith Bostic):
    >NFS doesn't support chflags; ignore errors unless there's reason
    >to believe we're losing bits.  (Note, this still won't be right
    >if the server supports flags and we were trying to *remove* flags
    >on a file that we copied, i.e., that we didn't create.)

    CVS Info: utils.c 1.6

Obtained from:		NetBSD
Sponsored by:		Netflix

Differential Revision:	https://reviews.freebsd.org/D42674
2023-12-07 13:36:44 -07:00
..
cat bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
chflags Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
chio Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
chmod Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
cp cp: Don't warn for chflags() failing with EOPNOTSUPP if flags == 0 2023-12-07 13:36:44 -07:00
cpuset Use proper convention for relative path linking 2023-08-18 04:20:32 -07:00
csh bin: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
date bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
dd bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
df Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
domainname Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
echo Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
ed bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
expr Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
freebsd-version Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
getfacl bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
hostname Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07: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 Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
ls bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
mkdir Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
mv Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
nproc nproc.1: Fix "first appeared in" details 2023-06-02 18:53:55 +02:00
pax bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07: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: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
sh bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
sleep Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07: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 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06: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