sbase/libutil
Michael Forney e14e0becce cp: Rename -d option to -P
The -d option is a GNU extension and is equivalent to its "-P
--preserve=links" options.

Since we don't implement the --preserve=links functionality anyway (it
means preserve hard links between files), just call it -P, which is
specified by POSIX.

Additionally, there is no need to check for cp_Pflag again before
copying the symlink itself because the only way the mode in the stat
will indicate a symlink is if we used lstat (which we only do if -P is
specified).
2014-12-08 10:02:56 +00:00
..
agetcwd.c
apathmax.c Use < 0 instead of == -1 2014-11-19 20:09:29 +00:00
concat.c
cp.c cp: Rename -d option to -P 2014-12-08 10:02:56 +00:00
crypt.c
ealloc.c
enmasse.c
eprintf.c
eregcomp.c
estrtod.c
estrtol.c
fnck.c Use < 0 instead of == -1 2014-11-19 20:09:29 +00:00
getlines.c
human.c
md5.c
mode.c
putword.c
recurse.c Use < 0 instead of == -1 2014-11-19 20:09:29 +00:00
rm.c Use < 0 instead of == -1 2014-11-19 20:09:29 +00:00
sha1.c
sha256.c
sha512.c
strcasestr.c Argh - include strings.h 2014-11-21 00:03:30 +00:00
strlcat.c
strlcpy.c