Lines Matching defs:tmppath
9295 char *tmppath;
9309 tmppath = malloc(strlen("ipqosconf.tmp") + 1);
9310 if (tmppath == NULL) {
9314 (void) strcpy(tmppath, "ipqosconf.tmp");
9319 tmppath = malloc(strlen("/ipqosconf.tmp") + 1);
9320 if (tmppath == NULL) {
9324 (void) strcpy(tmppath, "/ipqosconf.tmp");
9330 tmppath = malloc(strlen(dstpath) + strlen("/ipqosconf.tmp") +
9332 if (tmppath == NULL) {
9336 (void) strcpy(tmppath, dstpath);
9337 (void) strcat(tmppath, "/ipqosconf.tmp");
9344 tmpfp = fopen(tmppath, "w");
9347 free(tmppath);
9364 free(tmppath);
9374 if (rename(tmppath, dstpath) != 0) {
9376 free(tmppath);
9379 free(tmppath);