diff options
Diffstat (limited to 'contrib/tar/src')
-rw-r--r-- | contrib/tar/src/extract.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/tar/src/extract.c b/contrib/tar/src/extract.c index 2a3f9bf..e5f5ea6 100644 --- a/contrib/tar/src/extract.c +++ b/contrib/tar/src/extract.c @@ -19,6 +19,8 @@ with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* $FreeBSD$ */ + #include "system.h" #include <quotearg.h> @@ -110,8 +112,10 @@ void extr_init (void) { we_are_root = geteuid () == 0; +#ifndef __FreeBSD__ same_permissions_option += we_are_root; same_owner_option += we_are_root; +#endif xalloc_fail_func = extract_finish; /* Option -p clears the kernel umask, so it does not affect proper |