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