1 diff -durN crossfire-0.95.8.orig/include/config.h crossfire-0.95.8/include/config.h
2 --- crossfire-0.95.8.orig/include/config.h Wed Nov 29 07:30:14 2000
3 +++ crossfire-0.95.8/include/config.h Fri Feb 2 13:29:37 2001
8 -#define LOGFILE "/tmp/cross.log"
9 +#define LOGFILE "/var/log/crossfire"
16 /*#define TMPDIR "/home/hugin/a/crossfire/crossfire/tmp"*/
17 -#define TMPDIR "/tmp"
18 +#define TMPDIR "/var/lib/crossfire/tmp"
21 /* Directory to use for unique items. This is placed into the 'lib'
22 diff -durN crossfire-0.95.8.orig/server/main.c crossfire-0.95.8/server/main.c
23 --- crossfire-0.95.8.orig/server/main.c Wed Nov 29 07:30:14 2000
24 +++ crossfire-0.95.8/server/main.c Fri Feb 2 13:31:14 2001
36 FILE *newmap_params; /* give the new map its parameters */
37 - newmap_params=fopen("/tmp/rmap_params","w");
38 + newmap_params=fopen(TMPDIR"/rmap_params","w");
39 if(newmap_params!=NULL) {
40 char newmap_name[HUGE_BUF];
41 char oldmap_name[HUGE_BUF];
43 sprintf(newmap_name,"/random/%016d",reference_number++);
45 /* now to generate the actual map. */
46 - new_map=(mapstruct *)generate_random_map("/tmp/rmap_params",newmap_name);
47 + new_map=(mapstruct *)generate_random_map(TMPDIR"/rmap_params",newmap_name);
49 /* set the hp,sp,path of the exit for the new */