Now using ACK default tmp directory from em_path.h.
This commit is contained in:
parent
455cd930ec
commit
ea5498cd99
1 changed files with 2 additions and 2 deletions
|
@ -1,10 +1,10 @@
|
||||||
#include "bem.h"
|
#include "bem.h"
|
||||||
|
#include <em_path.h>
|
||||||
|
|
||||||
#ifndef NORSCID
|
#ifndef NORSCID
|
||||||
static char rcs_id[] = "$Header$" ;
|
static char rcs_id[] = "$Header$" ;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/* generate temporary files etc */
|
/* generate temporary files etc */
|
||||||
|
|
||||||
FILE *emfile;
|
FILE *emfile;
|
||||||
|
@ -13,7 +13,7 @@ FILE *datfile;
|
||||||
|
|
||||||
initialize()
|
initialize()
|
||||||
{
|
{
|
||||||
sprintf(tmpfname,"/tmp/abc%d",getpid());
|
sprintf(tmpfname,"%s/abc%d",TMP_DIR,getpid());
|
||||||
strcpy(datfname,program);
|
strcpy(datfname,program);
|
||||||
strcat(datfname,".d");
|
strcat(datfname,".d");
|
||||||
yyin= fopen(inpfile,"r");
|
yyin= fopen(inpfile,"r");
|
||||||
|
|
Loading…
Reference in a new issue