diff options
author | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-06-24 21:27:36 +0000 |
---|---|---|
committer | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-06-24 21:27:36 +0000 |
commit | 4770916a61dec6fc83755a98d17acb330529dd21 (patch) | |
tree | 2b8f914ab92544031b385a2ced99df20577263b7 /shell | |
parent | 2eec02166cba005bf2f07238b9273e7c0adeeb20 (diff) | |
download | busybox-w32-4770916a61dec6fc83755a98d17acb330529dd21.tar.gz busybox-w32-4770916a61dec6fc83755a98d17acb330529dd21.tar.bz2 busybox-w32-4770916a61dec6fc83755a98d17acb330529dd21.zip |
The logic to make cp -d or -P treat things like regular files should only
trigger for symlinks, not for device nodes. This should fix "cp -a /dev ."
to work as expected (when run by root, anyway).
While I was there, cleanup headers and make an #ifdef go away...
git-svn-id: svn://busybox.net/trunk/busybox@15501 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'shell')
0 files changed, 0 insertions, 0 deletions