Lines Matching refs:tmpsymdir
99 static char *tmpsymdir = NULL; variable
1018 tmpsymdir = xstrdup(tmpnam(NULL)); in wdsheader()
1020 if (mkdir(tmpsymdir, S_IRWXU)) { in wdsheader()
1022 logerr(pkg_gt(MSG_MKDIR), tmpsymdir); in wdsheader()
1028 tmpsymdir, SIGNATURE_FILENAME)) >= PATH_MAX) || in wdsheader()
1031 logerr(pkg_gt(MSG_NOTMPFIL), tmpsymdir); in wdsheader()
1047 "%s/%s", tmpsymdir, pkg[i]); in wdsheader()
1055 "%s/%s/%s", tmpsymdir, pkg[i], PKGINFO); in wdsheader()
1066 "%s/%s/%s", tmpsymdir, pkg[i], PKGMAP); in wdsheader()
1133 if (chdir(tmpsymdir)) { in wdsheader()
1135 logerr(pkg_gt(MSG_CHDIR), tmpsymdir); in wdsheader()
1835 if (tmpsymdir) { in cleanup()
1837 (void) rrmdir(tmpsymdir); in cleanup()
1838 free(tmpsymdir); in cleanup()
1839 tmpsymdir = NULL; in cleanup()