Lines Matching refs:ept

58 static char	*findspool(struct cfent *ept);
62 ckentry(int envflag, int maptyp, struct cfent *ept, VFP_T *vfp,
70 if (ept->ftype != 'i') {
72 mappath(2, ept->path);
74 basepath(ept->path, maptyp ? NULL : basedir, ir);
76 canonize(ept->path);
77 if (strchr("sl", ept->ftype)) {
79 mappath(2, ept->ainfo.local);
80 if (!RELATIVE(ept->ainfo.local)) { /* Absolute Path */
82 if (ept->ftype == 'l') /* Hard Link */
83 basepath(ept->ainfo.local, NULL, ir);
86 if (!RELATIVE(ept->ainfo.local)) /* Absolute Path */
87 canonize(ept->ainfo.local);
90 if (!strchr("isl", ept->ftype)) {
91 mapvar(2, ept->ainfo.owner);
92 mapvar(2, ept->ainfo.group);
97 tputcfent(ept, stdout);
100 return (putcfile(ept, stdout));
104 if (strchr("dxslcbp", ept->ftype))
106 if ((path = findspool(ept)) == NULL) {
107 logerr(gettext(ERR_SPOOLED), ept->path);
118 ept->ainfo.mode = (ept->ainfo.mode & S_IAMB);
123 ept->ainfo.mode |= 0644;
124 if (!strchr("in", ept->ftype)) {
126 if (a_err = averify(fflag, &ept->ftype,
127 path, &ept->ainfo)) {
131 ept->path);
140 c_err = cverify((!fflag ? (-1) : fflag), &ept->ftype, path,
141 &ept->cinfo, 1);
149 if (aflag && !strchr("in", ept->ftype)) {
151 if (a_err = averify(fflag, &ept->ftype, ept->path,
152 &ept->ainfo)) {
156 ept->path);
158 if (maptyp && ept->pinfo->status ==
166 if (cflag && strchr("fev", ept->ftype) &&
167 (!nflag || ept->ftype != 'v') && /* bug # 1082144 */
168 (!nflag || ept->ftype != 'e')) {
172 &ept->ftype, ept->path, &ept->cinfo, 1)) {
177 ept->path);
179 if (maptyp && ept->pinfo->status ==
187 if (xflag && (ept->ftype == 'x')) {
188 /* must do verbose here since ept->path will change */
189 path = strdup(ept->path);
192 (void) strcpy(ept->path, path);
197 (void) fprintf(stderr, "%s\n", ept->path);
288 findspool(struct cfent *ept)
294 if (ept->ftype == 'i') {
295 if (strcmp(ept->path, "pkginfo"))
297 } else if (ept->path[0] == '/') {
304 ept->path + (ept->path[0] == '/'));
310 if ((ept->ftype != 'i') && (ept->volno > 0)) {
312 "%s.%d/%s", host, ept->volno,
313 ept->path + (ept->path[0] == '/'));