freebsd-dev/bin/cp
Bryan Drewery 7ea2450f42 Implement '-s' to copy as symlink, similar to the current -l link(2) handling.
This is also implemented in at least GNU coreutils cp.

While here also improve the '-l' handling to not open(2) the source file as
it does not actually need the descriptor.

Sponsored by:	EMC / Isilon Storage Division
2015-06-07 06:30:25 +00:00
..
cp.1 Implement '-s' to copy as symlink, similar to the current -l link(2) handling. 2015-06-07 06:30:25 +00:00
cp.c Implement '-s' to copy as symlink, similar to the current -l link(2) handling. 2015-06-07 06:30:25 +00:00
extern.h Implement '-s' to copy as symlink, similar to the current -l link(2) handling. 2015-06-07 06:30:25 +00:00
Makefile Make 'struct acl' larger, as required to support NFSv4 ACLs. Provide 2009-05-22 15:56:43 +00:00
utils.c Implement '-s' to copy as symlink, similar to the current -l link(2) handling. 2015-06-07 06:30:25 +00:00