--- src/syscall.c Thu Jun 6 19:56:01 2002 +++ src/syscall.c Fri Sep 27 04:29:24 2002 @@ -792,7 +792,7 @@ /* format an environ param with the state file and pick out file name */ sprintf(folder_state_env_param, "%s=%s%s%d", - FOLDER_STATE_ENV, default_temp, temp_state, getpid()); + FOLDER_STATE_ENV, temp_dir, temp_state, getpid()); folder_state_fname = folder_state_env_param + strlen(FOLDER_STATE_ENV) +1;