-@@ -234,7 +235,7 @@
- {
- mapstruct *new_map;
- FILE *newmap_params; /* give the new map its parameters */
-- newmap_params=fopen("/tmp/rmap_params","w");
-+ newmap_params=fopen(TMPDIR"/rmap_params","w");
- if(newmap_params!=NULL) {
- char newmap_name[HUGE_BUF];
- char oldmap_name[HUGE_BUF];
-@@ -265,7 +266,7 @@
- sprintf(newmap_name,"/random/%016d",reference_number++);
-
- /* now to generate the actual map. */
-- new_map=(mapstruct *)generate_random_map("/tmp/rmap_params",newmap_name);
-+ new_map=(mapstruct *)generate_random_map(TMPDIR"/rmap_params",newmap_name);
-
- /* set the hp,sp,path of the exit for the new */
- if(new_map) {