freebsd-skq/bin
jilles eb4e837132 cp: Remove fts sorting.
In an attempt to improve performance, cp reordered directories first
(although the comment says directories last). This is not effective with new
UFS layout policies.

The sorting reorders multiple arguments passed to cp, which may be
undesirable.

Additionally, the comparison function does not induce a total order. Per
POSIX, this causes undefined behaviour in qsort().

NetBSD removed the sorting in 2009.

On filesystems that return directory entries in hash/btree order, sorting by
d_fileno before statting improves performance on large directories. However,
this can only be implemented in fts(3).

PR:		53475
Reviewed by:	bde (in 2004)
MFC after:	1 week
2015-05-05 13:23:03 +00:00
..
cat Install d_align.{in,out} for the :align test 2015-01-05 20:38:47 +00:00
chflags Standardise chmod, chflags, chown and chgrp recursive symlink processing 2015-04-29 00:49:00 +00:00
chio use .Mt to mark up email addresses consistently (part1) 2014-06-20 09:40:43 +00:00
chmod Standardise chmod, chflags, chown and chgrp recursive symlink processing 2015-04-29 00:49:00 +00:00
cp cp: Remove fts sorting. 2015-05-05 13:23:03 +00:00
csh Fix build after r281550 when WITHOUT_ICONV is defined. 2015-04-16 07:17:00 +00:00
date Port date/bin/tests to ATF 2014-08-13 04:43:29 +00:00
dd bin/dd: revert 273734, as it fails on 32bit platforms 2014-10-27 17:39:37 +00:00
df Convert bin/ to LIBADD, reduce overlinking allow to build all components as 2014-11-25 11:15:40 +00:00
domainname Point users towards nisdomainname and rc.conf. 2013-04-22 17:55:12 +00:00
echo echo(1): Clarify portability and mention literal "--" handling. 2010-11-12 22:43:40 +00:00
ed mdoc: escape Re 2015-04-26 10:03:05 +00:00
expr Pet manlint 2015-04-26 10:38:26 +00:00
freebsd-version Don't include newvers.sh into freebsd-version. 2015-01-22 17:13:43 +00:00
getfacl Fix warnings found by -Wmising-variable-declarations. 2012-10-19 05:43:38 +00:00
hostname Mark usage() __dead2 2013-04-28 22:52:43 +00:00
kenv Constify parameters, no functional or binary change. 2013-05-15 18:38:28 +00:00
kill sh: Fix compiler warnings related to duplicate or missing declarations. 2015-03-01 21:46:55 +00:00
ln symlink(7): Mention chflagsat() (can take AT_SYMLINK_NOFOLLOW). 2015-02-16 12:56:55 +00:00
ls Convert bin/ to LIBADD, reduce overlinking allow to build all components as 2014-11-25 11:15:40 +00:00
mkdir Add missing static qualifiers 2013-04-27 21:59:43 +00:00
mv cp,mv: Use futimens() instead of utimensat() if possible. 2015-03-23 17:35:05 +00:00
pax Implement pax -O option to permit limiting a PAX archive to a single volume. 2015-03-18 05:48:05 +00:00
pkill Disguising stderr from jls generally considered harmful 2015-02-21 23:39:43 +00:00
ps Use 24h timestamps in the ps(1) STARTED column 2015-03-17 12:40:33 +00:00
pwait Use a different way to silence clang analyzer as done in r245494 by 2013-01-16 18:15:25 +00:00
pwd
rcp r* commands are not precious anymore 2015-03-04 22:01:44 +00:00
realpath Make `realpath'' behave like `realpath .''. 2011-06-21 19:34:57 +00:00
rm rm -rf can fail sometimes with an error from fts_read. Make it honor 2014-07-07 23:21:20 +00:00
rmail Convert bin/ to LIBADD, reduce overlinking allow to build all components as 2014-11-25 11:15:40 +00:00
rmdir Add a few examples. 2013-03-15 20:12:54 +00:00
setfacl use .Mt to mark up email addresses consistently (part1) 2014-06-20 09:40:43 +00:00
sh sh: Pass along SIGINT from a child if job control is enabled, even when not 2015-04-25 13:34:25 +00:00
sleep Integrate bin/sleep/tests from NetBSD into atf/kyua 2014-10-09 01:39:07 +00:00
stty stty: Mark usage() __dead2. 2012-07-15 21:12:22 +00:00
sync
test Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
tests Migrate tools/regression/bin/ tests to the new layout. 2013-12-11 04:09:17 +00:00
uuidgen Mention the upper hard limit for -n option. Patch slightly modified 2012-05-23 16:19:19 +00:00
Makefile Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
Makefile.inc Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00