X-Git-Url: http://andersk.mit.edu/gitweb/splint.git/blobdiff_plain/dfd82dce045a7576488fffade8d9c94785d4eae1..c59f5181c83cf156efc93a26de8f921c927b70ff:/src/lslparse.c diff --git a/src/lslparse.c b/src/lslparse.c index cbca84e..30efe8a 100644 --- a/src/lslparse.c +++ b/src/lslparse.c @@ -1,6 +1,6 @@ /* -** LCLint - annotation-assisted static program checker -** Copyright (C) 1994-2001 University of Virginia, +** Splint - annotation-assisted static program checker +** Copyright (C) 1994-2003 University of Virginia, ** Massachusetts Institute of Technology ** ** This program is free software; you can redistribute it and/or modify it @@ -17,9 +17,9 @@ ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, ** MA 02111-1307, USA. ** -** For information on lclint: lclint-request@cs.virginia.edu -** To report a bug: lclint-bug@cs.virginia.edu -** For more information: http://lclint.cs.virginia.edu +** For information on splint: info@splint.org +** To report a bug: splint-bug@splint.org +** For more information: http://www.splint.org */ /* ** lslparse.c @@ -31,7 +31,7 @@ ** Massachusetts Institute of Technology */ -# include "lclintMacros.nf" +# include "splintMacros.nf" # include "llbasic.h" # include "lclscan.h" # include "signature.h" @@ -386,8 +386,8 @@ callLSL (/*@unused@*/ cstring specfile, /*@only@*/ cstring text) cstring noext; FILE *inptr; - infile = fileName (fileTable_addltemp (context_fileTable ())); - inptr = fileTable_openFile (context_fileTable (), infile, "w"); + infile = fileTable_fileName (fileTable_addltemp (context_fileTable ())); + inptr = fileTable_createFile (context_fileTable (), infile); if (inptr == NULL) { @@ -409,7 +409,7 @@ callLSL (/*@unused@*/ cstring specfile, /*@only@*/ cstring text) /* the default is to delete the input file */ - outfile = fileName (fileTable_addltemp (context_fileTable ())); + outfile = fileTable_fileName (fileTable_addltemp (context_fileTable ())); invokeLSL (infile, outfile, context_getFlag (FLG_KEEP)); cstring_free (text); } @@ -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) {