Now using ACK default tmp directory from em_path.h.
This commit is contained in:
parent
1ada89da2a
commit
dee952edfa
@ -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…
x
Reference in New Issue
Block a user