Lines Matching refs:temp

197 	char	temp[256];  in rdconfig()  local
209 *temp = '\0'; in rdconfig()
211 while (value = fpkgparam(fp, temp)) { in rdconfig()
212 if (strcmp(temp, "ARCH") == 0 || in rdconfig()
213 strcmp(temp, "CATEGORY") == 0) { in rdconfig()
225 if (strcmp(temp, "NAME") == 0) in rdconfig()
227 else if (strcmp(temp, "VERSION") == 0) in rdconfig()
229 else if (strcmp(temp, "ARCH") == 0) in rdconfig()
231 else if (strcmp(temp, "VENDOR") == 0) in rdconfig()
233 else if (strcmp(temp, "BASEDIR") == 0) in rdconfig()
235 else if (strcmp(temp, "CATEGORY") == 0) in rdconfig()
238 temp[0] = '\0'; in rdconfig()
260 (void) sprintf(temp, "%s/%s/!I-Lock!", pkgdir, pkginst); in rdconfig()
261 if (access(temp, 0) == 0) in rdconfig()
264 (void) sprintf(temp, "%s/%s/!R-Lock!", pkgdir, pkginst); in rdconfig()
265 if (access(temp, 0) == 0) in rdconfig()
280 char temp[PKGSIZ+1]; in svr4info() local
288 (void) strncpy(temp, pkginst, PKGSIZ); in svr4info()
289 if (((pt = strchr(temp, '.')) != NULL) && strcmp(pt, ".*") == 0) in svr4info()
294 (void) sprintf(path, "%s/%s.name", get_PKGOLD(), temp); in svr4info()
318 info->pkginst = strdup(temp); in svr4info()
507 char temp[256]; in compver() local
509 (void) sprintf(temp, "%s/%s/install/compver", get_PKGLOC(), pkginst); in compver()
510 if ((fp = fopen(temp, "r")) == NULL) in compver()
513 while (fgets(temp, 256, fp)) { in compver()
514 if (*temp == '#') in compver()
516 if (verscmp(temp, version) == 0) { in compver()
552 char temp[128]; in ckinfo() local
565 temp[0] = '\0'; in ckinfo()
567 while (value = fpkgparam(fp, temp)) { in ckinfo()
568 if (strcmp(temp, "ARCH") == 0) { in ckinfo()
580 } else if (strcmp(temp, "VERSION") == 0) { in ckinfo()
586 temp[0] = '\0'; in ckinfo()