]> andersk Git - splint.git/blobdiff - src/lslparse.c
Committed my changes (but there are several splintme errors currently).
[splint.git] / src / lslparse.c
index 053ed81b3f25356aa4c15ef59e8e8f262d52f0e1..9f7b3af77d1f42bfc5814fdd4c31a4e2e9b2f35c 100644 (file)
@@ -387,7 +387,7 @@ callLSL (/*@unused@*/ cstring specfile, /*@only@*/ cstring text)
   FILE *inptr;
 
   infile = fileTable_fileName (fileTable_addltemp (context_fileTable ()));
-  inptr = fileTable_openFile (context_fileTable (), infile, "w");
+  inptr = fileTable_createFile (context_fileTable (), infile);
   
   if (inptr == NULL)
     {
@@ -428,7 +428,7 @@ static void invokeLSL (cstring infile, cstring outfile, bool deletep)
   ** way to do this. 
   */
   
-  outptr = fileTable_openFile (context_fileTable (), outfile, "w");
+  outptr = fileTable_createFile (context_fileTable (), outfile);
 
   if (outptr == NULL)
     {                  
This page took 0.403335 seconds and 4 git commands to generate.