freebsd-dev/bin
Bruce Evans 7658fd20d7 Don't strip off the last slash in the pathname "/". cp used to
stat the pathname "" in order to decide that the pathname "/" is
a directory.  This caused `cp kernel /' to fail if the kernel has
the POSIX behaviour of not allowing the pathname "" to be an alias
for ".".  It presumably also caused `cp /etc/motd /' to fail in
the unlikely event that "." is not stat'able.

Be more careful about concatenating pathnames: don't check that
the pathname fits until prefixes have been discarded (the check
was too strict).  Print the final pathname in error messages.
Terminate the target directory name properly for error messages.
Don't add a slash between components if there is already a slash.
1994-12-30 13:12:12 +00:00
..
cat Added $Id$ 1994-09-24 02:59:15 +00:00
chflags Document the arch flag. It has always worked in 2.0. 1994-12-27 16:49:08 +00:00
chmod Added $Id$ 1994-09-24 02:59:15 +00:00
cp Don't strip off the last slash in the pathname "/". cp used to 1994-12-30 13:12:12 +00:00
csh Added $Id$ 1994-09-24 02:59:15 +00:00
date Obtained from: partly from 386BSD-0.1.2.4 1994-12-26 12:59:28 +00:00
dd Added $Id$ 1994-09-24 02:59:15 +00:00
df Added $Id$ 1994-09-24 02:59:15 +00:00
domainname Actually implement this correctly. 1994-09-26 02:14:27 +00:00
echo Added $Id$ 1994-09-24 02:59:15 +00:00
ed src/bin/ed will never build DES encumbered ed again. That is the job 1994-12-18 15:15:10 +00:00
expr Added $Id$ 1994-09-24 02:59:15 +00:00
hostname Added $Id$ 1994-09-24 02:59:15 +00:00
kill Added $Id$ 1994-09-24 02:59:15 +00:00
ln Use lstat() instead of stat() for checking if the final source file exists, 1994-12-06 18:50:44 +00:00
ls Make ls recognize the COLUMNS environmental variable, even 1994-12-18 19:00:01 +00:00
mkdir Added $Id$ 1994-09-24 02:59:15 +00:00
mv Added $Id$ 1994-09-24 02:59:15 +00:00
pax Added $Id$ 1994-09-24 02:59:15 +00:00
ps Re-apply an old patchkit days fix of mine for mempages: 1994-11-24 13:13:55 +00:00
pwd Added $Id$ 1994-09-24 02:59:15 +00:00
rcp Add DISTRIBUTION=krb for Kerberos case. 1994-11-20 23:18:15 +00:00
rm Added $Id$ 1994-09-24 02:59:15 +00:00
rmail Added $Id$ 1994-09-24 02:59:15 +00:00
rmdir Added $Id$ 1994-09-24 02:59:15 +00:00
sh Obtained from: partly from 1.1.5 1994-12-26 13:02:05 +00:00
sleep Added $Id$ 1994-09-24 02:59:15 +00:00
stty Added $Id$ 1994-09-24 02:59:15 +00:00
sync Added $Id$ 1994-09-24 02:59:15 +00:00
test Fix group permissions check for group list size > 1 1994-11-05 20:48:06 +00:00
Makefile Added domainname. 1994-09-18 21:25:26 +00:00
Makefile.inc WHOOPS! Put that back! Sorry, wrong Makefile.inc! 1994-08-08 19:30:03 +00:00