X-Git-Url: http://andersk.mit.edu/gitweb/splint.git/blobdiff_plain/155af98de2d41917730964947d990b7fb70ddc01..91b588dea2cd9d465b092f5a934ebf1638f79253:/src/lslparse.c diff --git a/src/lslparse.c b/src/lslparse.c index 053ed81..6f14644 100644 --- a/src/lslparse.c +++ b/src/lslparse.c @@ -1,6 +1,6 @@ /* ** Splint - annotation-assisted static program checker -** Copyright (C) 1994-2002 University of Virginia, +** Copyright (C) 1994-2003 University of Virginia, ** Massachusetts Institute of Technology ** ** This program is free software; you can redistribute it and/or modify it @@ -32,7 +32,7 @@ */ # include "splintMacros.nf" -# include "llbasic.h" +# include "basic.h" # include "lclscan.h" # include "signature.h" # include "signature2.h" @@ -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) {