freebsd-dev/bin
Guido van Rooij f3761deee3 When the P flag is set (i.e. Overwrite regular files before deleting them),
do only unlink the file if we could indeed overwrite the file.
Old behaviour: rm -P /tmp/foo (foo mode 0444) would NOT overwrite foo,
but still delete it (with a warning: rm: foo: Permission denied)
New behaviour: Just the EPERM warning, but no deletion

Reviewed by:	bde
2003-11-10 09:40:18 +00:00
..
cat We have to hide copyright[] for gcc33. :-( 2003-04-30 17:40:28 +00:00
chflags mdoc(7) police: Fix document date. 2003-05-16 21:18:01 +00:00
chio Quiet warnings about copyright[]. 2003-05-01 16:58:57 +00:00
chmod Remove the code for parsing octal modes, since setmode(3) already 2003-10-31 13:20:09 +00:00
cp pass -1 to setfile in cp.c 2003-06-30 06:16:06 +00:00
csh Temporarily turn off -Werror for these components. 2003-07-11 05:24:32 +00:00
date Check for write errors; report and exit with error value. 2003-10-04 07:16:40 +00:00
dd Get this area compiling with the highest WARNS= that it works with. 2003-06-13 07:04:02 +00:00
df Be a little bit more correct WRT counting numbers vs. integer numbers. 2003-09-13 20:46:58 +00:00
domainname Quiet warnings about copyright[]. 2003-05-01 16:58:57 +00:00
echo - Check and report write(2) errors. 2003-10-11 20:34:43 +00:00
ed Don't check for the existance of src/crypto/ for building items that 2003-07-24 18:30:25 +00:00
expr Get this area compiling with the highest WARNS= that it works with. 2003-06-13 07:04:02 +00:00
getfacl Grammar. 2003-02-23 01:43:45 +00:00
hostname Quiet warnings about copyright[]. 2003-05-01 16:58:57 +00:00
kenv Get this area compiling with the highest WARNS= that it works with. 2003-06-13 07:04:02 +00:00
kill Quiet warnings about copyright[]. 2003-05-01 16:58:57 +00:00
ln Quiet warnings about copyright[]. 2003-05-01 16:58:57 +00:00
ls Handle realloc() failure correctly. 2003-10-16 07:07:20 +00:00
mkdir Quiet warnings about copyright[]. 2003-05-01 16:58:57 +00:00
mv Centralize _PATH_* definitions. 2003-05-05 22:49:23 +00:00
pax Get this area compiling with the highest WARNS= that it works with. 2003-06-13 07:04:02 +00:00
ps mdoc(7): Use the new feature of the .In macro. 2003-09-08 19:57:22 +00:00
pwd Rename a local variable in order to avoid collision with standard 'log' 2003-06-30 17:05:40 +00:00
rcp Turn malloc+snprintf into asnprintf. 2003-10-14 20:42:13 +00:00
realpath realpath(3) should use PATH_MAX instead of MAXPATHLEN according to POSIX. 2003-01-15 21:22:55 +00:00
rm When the P flag is set (i.e. Overwrite regular files before deleting them), 2003-11-10 09:40:18 +00:00
rmail Remove MAINTAINER= lines from individual Makefiles in favor of the 2003-07-07 03:54:04 +00:00
rmdir Quiet warnings about copyright[]. 2003-05-01 16:58:57 +00:00
setfacl Add additional documentation to setfacl(1) regarding the behavior of 2003-08-07 14:52:17 +00:00
sh Do not assume there is only a space between #define and the macro name 2003-09-13 06:59:22 +00:00
sleep Fix warnings. This is now WARNS=9, std=c99 clean in i386. 2003-05-03 10:14:26 +00:00
stty Fix format warning. This is WARNS=9, std=c99 clean on i386. 2003-05-03 10:16:51 +00:00
sync Quiet warnings about copyright[]. 2003-05-01 16:58:57 +00:00
test Don't escape names in MLINKS: this won't work with bsd.man.mk,v 1.53. 2003-09-07 12:52:17 +00:00
uuidgen Erase whitspace at EOL. 2003-05-22 13:10:32 +00:00
Makefile chflags(1) repo copied, usr.bin->bin. 2003-02-18 19:51:59 +00:00
Makefile.inc Style. 2003-11-02 06:47:39 +00:00