]> andersk Git - splint.git/blobdiff - src/imports.c
Fixed creation of temp files.
[splint.git] / src / imports.c
index 78c91ebe7ba8c51ebaedfa1eaaf70ee055cda720..2b609f3e3b0b5f0b8838cbf3a0fd54ce5983c9aa 100644 (file)
@@ -50,7 +50,7 @@ outputLCSFile (char *path, char *msg, char *specname)
   char *sfile = mstring_concat (specname, ".lcs");
   char *outfile = mstring_concat (path, sfile);
   char *s;
-  FILE *outfptr = fileTable_openFile (context_fileTable (), cstring_fromChars (outfile), "w");
+  FILE *outfptr = fileTable_openWriteFile (context_fileTable (), cstring_fromChars (outfile));
   sfree (sfile);
 
   DPRINTF (("Output lcl file: %s / %s / %s", path, specname, outfile));
This page took 0.131308 seconds and 4 git commands to generate.