X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;ds=sidebyside;f=restore%2Ftape.c;h=ba772a72fff19d0ea652052c04231ec43170c2c3;hb=a95c4c36f95b3a959bf31d5d9aa9528f7e12ab99;hp=754da610152cb9732c855c854209486f4466c3ff;hpb=dc8d1876884d2589a5ab5edf5d9d677dd8def9b7;p=dump.git diff --git a/restore/tape.c b/restore/tape.c index 754da61..ba772a7 100644 --- a/restore/tape.c +++ b/restore/tape.c @@ -45,7 +45,7 @@ #ifndef lint static const char rcsid[] = - "$Id: tape.c,v 1.7 1999/11/05 22:02:19 tiniou Exp $"; + "$Id: tape.c,v 1.8 1999/11/11 16:14:01 tiniou Exp $"; #endif /* not lint */ #include @@ -566,9 +566,11 @@ extractfile(char *name) return (genliteraldir(name, curfile.ino)); case IFLNK: - { uid_t luid = curfile.dip->di_uid; + { +#ifdef HAVE_LCHOWN + uid_t luid = curfile.dip->di_uid; gid_t lgid = curfile.dip->di_gid; - +#endif lnkbuf[0] = '\0'; pathlen = 0; getfile(xtrlnkfile, xtrlnkskip);