1
0
mirror of git://git.suckless.org/sbase synced 2024-12-23 15:34:38 +00:00
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 Rename util/ to libutil/ 2014-11-17 16:48:34 +00:00
apathmax.c Use < 0 instead of == -1 2014-11-19 20:09:29 +00:00
concat.c Rename util/ to libutil/ 2014-11-17 16:48:34 +00:00
cp.c cp: Rename -d option to -P 2014-12-08 10:02:56 +00:00
crypt.c remove agetline 2014-11-18 21:05:28 +00:00
ealloc.c Rename util/ to libutil/ 2014-11-17 16:48:34 +00:00
enmasse.c Rename util/ to libutil/ 2014-11-17 16:48:34 +00:00
eprintf.c Rename util/ to libutil/ 2014-11-17 16:48:34 +00:00
eregcomp.c Rename util/ to libutil/ 2014-11-17 16:48:34 +00:00
estrtod.c Rename util/ to libutil/ 2014-11-17 16:48:34 +00:00
estrtol.c Rename util/ to libutil/ 2014-11-17 16:48:34 +00:00
fnck.c Use < 0 instead of == -1 2014-11-19 20:09:29 +00:00
getlines.c remove agetline 2014-11-18 21:05:28 +00:00
human.c Rename util/ to libutil/ 2014-11-17 16:48:34 +00:00
md5.c Rename util/ to libutil/ 2014-11-17 16:48:34 +00:00
mode.c Rename util/ to libutil/ 2014-11-17 16:48:34 +00:00
putword.c Rename util/ to libutil/ 2014-11-17 16:48:34 +00:00
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 Rename util/ to libutil/ 2014-11-17 16:48:34 +00:00
sha256.c Rename util/ to libutil/ 2014-11-17 16:48:34 +00:00
sha512.c Rename util/ to libutil/ 2014-11-17 16:48:34 +00:00
strcasestr.c Argh - include strings.h 2014-11-21 00:03:30 +00:00
strlcat.c Rename util/ to libutil/ 2014-11-17 16:48:34 +00:00
strlcpy.c Rename util/ to libutil/ 2014-11-17 16:48:34 +00:00