Lines Matching defs:tmppath
98 static char *tmppath;
376 tmppath = tmpnam(NULL);
377 tmppath = strdup(tmppath);
378 if (tmppath == NULL) {
383 if (mkdir(tmppath, 0755)) {
385 logerr(pkg_gt(MSG_MKDIR), tmppath);
388 device2 = tmppath;
1828 if (tmppath) {
1829 /* remove any previous tmppath stuff */
1830 (void) rrmdir(tmppath);
1831 free(tmppath);
1832 tmppath = NULL;