Now using ACK default tmp directory from em_path.h.
This commit is contained in:
parent
455cd930ec
commit
ea5498cd99
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue