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