Lines Matching refs:ept2
66 static int ckdup(struct cfent *ept1, struct cfent *ept2);
553 struct cfent *ept1, *ept2; in dup_merg() local
556 ept2 = &(ext2->cf_ent); in dup_merg()
561 if (strchr("?dx", ept2->ftype)) in dup_merg()
575 char *path = ept2->path; in dup_merg()
576 char *local = ept2->ainfo.local; in dup_merg()
579 short npkgs = ept2->npkgs; in dup_merg()
580 struct pinfo *pinfo = ept2->pinfo; in dup_merg()
583 (void) memcpy(ept2, ept1, sizeof (struct cfent)); in dup_merg()
586 ept2->path = path; in dup_merg()
587 ept2->ainfo.local = local; in dup_merg()
588 ept2->npkgs = npkgs; in dup_merg()
589 ept2->pinfo = pinfo; in dup_merg()
597 ept2->pinfo = ept1->pinfo; in dup_merg()
610 ckdup(struct cfent *ept1, struct cfent *ept2) in ckdup() argument
617 if (!strchr("?dx", ept2->ftype)) in ckdup()
620 if (ept2->ainfo.mode == BADMODE) in ckdup()
621 ept2->ainfo.mode = ept1->ainfo.mode; in ckdup()
622 if ((ept1->ainfo.mode != ept2->ainfo.mode) && in ckdup()
626 if (strcmp(ept2->ainfo.owner, "?") == 0) in ckdup()
627 (void) strlcpy(ept2->ainfo.owner, ept1->ainfo.owner, in ckdup()
628 sizeof (ept2->ainfo.owner)); in ckdup()
629 if (strcmp(ept1->ainfo.owner, ept2->ainfo.owner) && in ckdup()
633 if (strcmp(ept2->ainfo.group, "?") == 0) in ckdup()
634 (void) strlcpy(ept2->ainfo.group, ept1->ainfo.group, in ckdup()
635 sizeof (ept2->ainfo.group)); in ckdup()
636 if (strcmp(ept1->ainfo.group, ept2->ainfo.group) && in ckdup()
641 ept2->npkgs = ept1->npkgs; in ckdup()
642 ept2->pinfo = ept1->pinfo; in ckdup()