Only update owner (via lchown) when dealing with symbolic links.
authormillert <millert@openbsd.org>
Mon, 24 Feb 1997 20:43:27 +0000 (20:43 +0000)
committermillert <millert@openbsd.org>
Mon, 24 Feb 1997 20:43:27 +0000 (20:43 +0000)
commita7f40264f0cf2ab09a8deba4bb3128ecca0b44ce
treebddbb56e7ac721942745eee1fea2b24ad4fda564
parentb286b0b35f810d1dc7fc28eac905c6a235c89cfc
Only update owner (via lchown) when dealing with symbolic links.
Fixes core dump problem with ``-p'' and symbolic links.  Noted by
Carsten Hammer <chammer@post.uni-bielefeld.de>.
bin/cp/utils.c