View | Details | Raw Unified | Return to bug 19973
Collapse All | Expand All

(-)dirs.c (-1 / +1 lines)
Lines 631-638 Link Here
631
			cp = myname(ep);
631
			cp = myname(ep);
632
			(void) chown(cp, node.uid, node.gid);
632
			(void) chown(cp, node.uid, node.gid);
633
			(void) chmod(cp, node.mode);
633
			(void) chmod(cp, node.mode);
634
			(void) chflags(cp, node.flags);
635
			utimes(cp, node.timep);
634
			utimes(cp, node.timep);
635
			(void) chflags(cp, node.flags);
636
			ep->e_flags &= ~NEW;
636
			ep->e_flags &= ~NEW;
637
		}
637
		}
638
	}
638
	}
(-)tape.c (-3 / +3 lines)
Lines 581-589 Link Here
581
		}
581
		}
582
		(void) chown(name, curfile.dip->di_uid, curfile.dip->di_gid);
582
		(void) chown(name, curfile.dip->di_uid, curfile.dip->di_gid);
583
		(void) chmod(name, mode);
583
		(void) chmod(name, mode);
584
		utimes(name, timep);
584
		(void) chflags(name, flags);
585
		(void) chflags(name, flags);
585
		skipfile();
586
		skipfile();
586
		utimes(name, timep);
587
		return (GOOD);
587
		return (GOOD);
588
588
589
	case IFCHR:
589
	case IFCHR:
Lines 603-611 Link Here
603
		}
603
		}
604
		(void) chown(name, curfile.dip->di_uid, curfile.dip->di_gid);
604
		(void) chown(name, curfile.dip->di_uid, curfile.dip->di_gid);
605
		(void) chmod(name, mode);
605
		(void) chmod(name, mode);
606
		utimes(name, timep);
606
		(void) chflags(name, flags);
607
		(void) chflags(name, flags);
607
		skipfile();
608
		skipfile();
608
		utimes(name, timep);
609
		return (GOOD);
609
		return (GOOD);
610
610
611
	case IFREG:
611
	case IFREG:
Lines 625-634 Link Here
625
		}
625
		}
626
		(void) fchown(ofile, curfile.dip->di_uid, curfile.dip->di_gid);
626
		(void) fchown(ofile, curfile.dip->di_uid, curfile.dip->di_gid);
627
		(void) fchmod(ofile, mode);
627
		(void) fchmod(ofile, mode);
628
		(void) fchflags(ofile, flags);
629
		getfile(xtrfile, xtrskip);
628
		getfile(xtrfile, xtrskip);
630
		(void) close(ofile);
629
		(void) close(ofile);
631
		utimes(name, timep);
630
		utimes(name, timep);
631
		(void) chflags(name, flags);
632
		return (GOOD);
632
		return (GOOD);
633
	}
633
	}
634
	/* NOTREACHED */
634
	/* NOTREACHED */

Return to bug 19973