Now using ACK default tmp directory from em_path.h.

This commit is contained in:
em 1984-11-27 23:21:41 +00:00
parent 455cd930ec
commit ea5498cd99

View file

@ -1,10 +1,10 @@
#include "bem.h"
#include <em_path.h>
#ifndef NORSCID
static char rcs_id[] = "$Header$" ;
#endif
/* generate temporary files etc */
FILE *emfile;
@ -13,7 +13,7 @@ FILE *datfile;
initialize()
{
sprintf(tmpfname,"/tmp/abc%d",getpid());
sprintf(tmpfname,"%s/abc%d",TMP_DIR,getpid());
strcpy(datfname,program);
strcat(datfname,".d");
yyin= fopen(inpfile,"r");