Lines Matching refs:tmpdir
100 char *tmpdir; /* where above is mounted, NULL if none */ variable
789 if (tmpdir) { in rex_cleanup()
800 if (nfsdir[0] && umount_nfs(nfsdir, tmpdir)) in rex_cleanup()
803 tmpdir); in rex_cleanup()
804 if (rmdir(tmpdir) < 0) in rex_cleanup()
807 tmpdir = NULL; in rex_cleanup()
915 tmpdir = mktemp(TempName);
923 if (mkdir(tmpdir, 0777)) {
934 tmpdir, errno);
938 if (mount_nfs(wanted, tmpdir, error)) {
950 strcpy(dirbuf, tmpdir);
964 tmpdir = mktemp(TempName);
972 if (mkdir(tmpdir, 0777)) {
982 printf("created %s (%d)\n", tmpdir, errno);
986 if (mount_nfs(wanted, tmpdir, error)) {
997 strcpy(dirbuf, tmpdir);