commit | c983274565a3443177ba1a68aab23a61ae70d5ea | [log] [tgz] |
---|---|---|
author | Rob Landley <rob@landley.net> | Sat Jun 24 21:27:36 2006 +0000 |
committer | Rob Landley <rob@landley.net> | Sat Jun 24 21:27:36 2006 +0000 |
tree | 2b8f914ab92544031b385a2ced99df20577263b7 | |
parent | 5d9c42aadc7a526faa58bc94b9bdb650595f9d24 [diff] |
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...