X-Git-Url: https://git.wh0rd.org/?p=dump.git;a=blobdiff_plain;f=restore%2Ftape.c;h=754da610152cb9732c855c854209486f4466c3ff;hp=55519818bc61fc636029ee1c84a97c617aef7ac4;hb=08ebf8d7df645851cb5597fd7f755551655c5aa8;hpb=64598b73b9221273112bf95d3f84e13f698da4c2 diff --git a/restore/tape.c b/restore/tape.c index 5551981..754da61 100644 --- a/restore/tape.c +++ b/restore/tape.c @@ -45,7 +45,7 @@ #ifndef lint static const char rcsid[] = - "$Id: tape.c,v 1.6 1999/10/13 09:57:21 stelian Exp $"; + "$Id: tape.c,v 1.7 1999/11/05 22:02:19 tiniou Exp $"; #endif /* not lint */ #include @@ -579,7 +579,9 @@ extractfile(char *name) } if (linkit(lnkbuf, name, SYMLINK) == FAIL) return (FAIL); - (void) chown(name, luid, lgid); +#ifdef HAVE_LCHOWN + (void) lchown(name, luid, lgid); +#endif return (GOOD); }