Denys Vlasenko
|
17f8418ea7
Add conditional support for -v / --verbose
|
vor 10 Jahren |
Denys Vlasenko
|
aa4f9a2fd8
libbb/copy_file.c: use smallints instead of signed chars
|
vor 14 Jahren |
Denys Vlasenko
|
0ef64bdb40
*: make GNU licensing statement forms more regular
|
vor 14 Jahren |
Denys Vlasenko
|
0cd445f4d1
cosmetic fixes
|
vor 15 Jahren |
Denys Vlasenko
|
a40f0624db
cp: fix -H handling
|
vor 15 Jahren |
Denys Vlasenko
|
dcbfaba264
fix improper utimes usage
|
vor 15 Jahren |
Denys Vlasenko
|
389cca4b9e
some non-gnu compilers can't have non-const struct initializers
|
vor 15 Jahren |
Bernhard Reutner-Fischer
|
a307af1af6
use utimes() rather than obsolescent utime()
|
vor 15 Jahren |
Denys Vlasenko
|
6331cf059c
*: use "can't" instead of "cannot"
|
vor 15 Jahren |
Denys Vlasenko
|
6f58be0748
cp: make "non-POSIX" cp a bit more consistent
|
vor 15 Jahren |
Denys Vlasenko
|
2d7b5bfa9b
cp: by popular demand, make it POSIX compliant (but less safe)
|
vor 15 Jahren |
Denis Vlasenko
|
defc1ea340
*: introduce and use FAST_FUNC: regparm on i386, otherwise no-on
|
vor 16 Jahren |
Denis Vlasenko
|
b9ad75fa60
copy_file: handle "cp /dev/foo file" (almost) compatibly to coreutils.
|
vor 16 Jahren |
Denis Vlasenko
|
d5fe880a57
cp: add ENABLE_FEATURE_VERBOSE_CP_MESSAGE. Closes bug 1470
|
vor 17 Jahren |
Denis Vlasenko
|
a9335eafcf
cp: make it a bit closer to POSIX, but still refuse to open and
|
vor 17 Jahren |
Denis Vlasenko
|
fa05074eee
cp: make "cp file /dev/node" special case; explained in comments
|
vor 17 Jahren |
Denis Vlasenko
|
0f214ecef0
cp: fix recursion check to not waste bytes remembering names of dirs
|
vor 17 Jahren |
Denis Vlasenko
|
8a5fab6333
cp: detect and prevent infinite recursion
|
vor 17 Jahren |
Denis Vlasenko
|
30bab71f7b
make copy_file() a bit easier to understand, and smaller
|
vor 17 Jahren |
Denis Vlasenko
|
3d829627fb
cp: make POSIX-me-harder mode complain with a bit less insane message
|
vor 17 Jahren |
Denis Vlasenko
|
7510384107
do not do utime() on links, it acts on link targets, and we don't want that.
|
vor 17 Jahren |
Denis Vlasenko
|
51742f4bb0
style fixes. No code changes
|
vor 17 Jahren |
Denis Vlasenko
|
50f7f446ec
bb_full_fd_action: remove potential xmalloc from NOFORK path
|
vor 17 Jahren |
Denis Vlasenko
|
c86e052b81
fix accumulated whitespace and indentation damage
|
vor 18 Jahren |
Denis Vlasenko
|
54d14ca1a2
copy_file: comment out one condition which is always false.
|
vor 18 Jahren |
Denis Vlasenko
|
6ef06eeed4
stop using big static buffer for inode hash
|
vor 18 Jahren |
Denis Vlasenko
|
39c651e909
introduce and use setfscreatecon_or_die
|
vor 18 Jahren |
Denis Vlasenko
|
49622d7846
selinux support by Yuichi Nakamura <ynakam@hitachisoft.jp> (HitachiSoft)
|
vor 18 Jahren |
Denis Vlasenko
|
6ca0444420
syslogd: fix "readpath bug" by using readlink instead
|
vor 18 Jahren |
Denis Vlasenko
|
f7996f3b70
Trailing whitespace removal over entire tree
|
vor 18 Jahren |