* Ported to Linux's Second Extended File System as part of the
* dump and restore backup suit
* Remy Card <card@Linux.EU.Org>, 1994-1997
- * Stelian Pop <pop@cybercable.fr>, 1999
- *
+ * Stelian Pop <pop@cybercable.fr>, 1999
*/
/*
*/
#ifndef lint
-#if 0
-static char sccsid[] = "@(#)tape.c 8.9 (Berkeley) 5/1/95";
-#endif
static const char rcsid[] =
- "$Id: tape.c,v 1.4 1999/10/11 13:08:10 stelian Exp $";
+ "$Id: tape.c,v 1.7 1999/11/05 22:02:19 tiniou Exp $";
#endif /* not lint */
#include <sys/param.h>
}
if (linkit(lnkbuf, name, SYMLINK) == FAIL)
return (FAIL);
- (void) chown(name, luid, lgid);
+#ifdef HAVE_LCHOWN
+ (void) lchown(name, luid, lgid);
+#endif
return (GOOD);
}