Forgot this.

This commit is contained in:
angelos 1998-05-17 05:25:31 +00:00
parent 1407d3acf4
commit 7f279086b7

View File

@ -4,7 +4,7 @@
*** 467,475 ****
strcpy(bp->macrofile,tempName);
#else
bp->tempfile = (char *)tempnam(NULL, NULL);
! bp->tempfile = (char *)tempnam(NULL, NULL);
! bp->macrofile = (char *)tempnam(NULL, NULL);
#endif
! tempDatei = fopen(bp->macrofile, "w" );
@ -14,7 +14,7 @@
--- 467,475 ----
strcpy(bp->macrofile,tempName);
#else
bp->tempfile = (char *)tempnam(NULL, NULL);
! bp->tempfile = strdup("/tmp/ax.XXXXXXXX"); close(mkstemp(bp->tempfile));
! bp->macrofile = strdup("/tmp/ww.XXXXXXXX");
#endif
! tempDatei = fdopen(mkstemp(bp->macrofile), "w" );