Denys Vlasenko
|
bc9bbeb2b8
libarchive: do not extract unsafe symlinks unless $EXTRACT_UNSAFE_SYMLINKS=1
|
7 anni fa |
Denys Vlasenko
|
98c50f93fe
cp: fix -i for POSIX mode. Closes 9106
|
8 anni fa |
Denys Vlasenko
|
ca003385f1
cp: make verbose cp show symlink copies too
|
8 anni fa |
Denys Vlasenko
|
877dedb825
cp: add -u/--update and --remove-destination
|
8 anni fa |
Denys Vlasenko
|
17f8418ea7
Add conditional support for -v / --verbose
|
10 anni fa |
Denys Vlasenko
|
aa4f9a2fd8
libbb/copy_file.c: use smallints instead of signed chars
|
14 anni fa |
Denys Vlasenko
|
0ef64bdb40
*: make GNU licensing statement forms more regular
|
14 anni fa |
Denys Vlasenko
|
0cd445f4d1
cosmetic fixes
|
15 anni fa |
Denys Vlasenko
|
a40f0624db
cp: fix -H handling
|
15 anni fa |
Denys Vlasenko
|
dcbfaba264
fix improper utimes usage
|
15 anni fa |
Denys Vlasenko
|
389cca4b9e
some non-gnu compilers can't have non-const struct initializers
|
15 anni fa |
Bernhard Reutner-Fischer
|
a307af1af6
use utimes() rather than obsolescent utime()
|
15 anni fa |
Denys Vlasenko
|
6331cf059c
*: use "can't" instead of "cannot"
|
15 anni fa |
Denys Vlasenko
|
6f58be0748
cp: make "non-POSIX" cp a bit more consistent
|
15 anni fa |
Denys Vlasenko
|
2d7b5bfa9b
cp: by popular demand, make it POSIX compliant (but less safe)
|
15 anni fa |
Denis Vlasenko
|
defc1ea340
*: introduce and use FAST_FUNC: regparm on i386, otherwise no-on
|
16 anni fa |
Denis Vlasenko
|
b9ad75fa60
copy_file: handle "cp /dev/foo file" (almost) compatibly to coreutils.
|
16 anni fa |
Denis Vlasenko
|
d5fe880a57
cp: add ENABLE_FEATURE_VERBOSE_CP_MESSAGE. Closes bug 1470
|
17 anni fa |
Denis Vlasenko
|
a9335eafcf
cp: make it a bit closer to POSIX, but still refuse to open and
|
17 anni fa |
Denis Vlasenko
|
fa05074eee
cp: make "cp file /dev/node" special case; explained in comments
|
17 anni fa |
Denis Vlasenko
|
0f214ecef0
cp: fix recursion check to not waste bytes remembering names of dirs
|
17 anni fa |
Denis Vlasenko
|
8a5fab6333
cp: detect and prevent infinite recursion
|
17 anni fa |
Denis Vlasenko
|
30bab71f7b
make copy_file() a bit easier to understand, and smaller
|
17 anni fa |
Denis Vlasenko
|
3d829627fb
cp: make POSIX-me-harder mode complain with a bit less insane message
|
17 anni fa |
Denis Vlasenko
|
7510384107
do not do utime() on links, it acts on link targets, and we don't want that.
|
17 anni fa |
Denis Vlasenko
|
51742f4bb0
style fixes. No code changes
|
17 anni fa |
Denis Vlasenko
|
50f7f446ec
bb_full_fd_action: remove potential xmalloc from NOFORK path
|
17 anni fa |
Denis Vlasenko
|
c86e052b81
fix accumulated whitespace and indentation damage
|
17 anni fa |
Denis Vlasenko
|
54d14ca1a2
copy_file: comment out one condition which is always false.
|
17 anni fa |
Denis Vlasenko
|
6ef06eeed4
stop using big static buffer for inode hash
|
17 anni fa |