(re_protect): Remove unnecessary call to geteuid.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 31 May 2005 06:15:48 +0000 (06:15 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 31 May 2005 06:15:48 +0000 (06:15 +0000)
commit1b3bf65c5173c1e7a34e3ea323a67254fb95e3f8
treecf7d2979099e81faffb9bb13ba9236c4a11a0069
parentd8ce6bf1434748af09cdf17620d7585eae23fd6f
(re_protect): Remove unnecessary call to geteuid.
Use chown_failure_ok rather than our own code.
(cp_options_init): Use chown_privileges rather than getuid.
src/cp.c