Lines Matching refs:tmpdirbuf
120 char tmpdirbuf[MAXPATHLEN];
305 strcpy(tmpdirbuf, tmppagbuf);
306 strcat(tmpdirbuf, dbm_dir);
309 /* Loop until we can lock the tmpdirbuf file */
325 if ((outfp = fopen(tmpdirbuf, "w")) == (FILE *)NULL) {
327 tmpdirbuf);
335 perror(tmpdirbuf);
346 perror(tmpdirbuf);
456 unlink(tmpdirbuf);
459 if (rename(tmpdirbuf, dirbuf) < 0) {
462 unlink(tmpdirbuf);
469 * sprintf(buf, "mv %s %s", tmpdirbuf, dirbuf);