/*
** 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
** 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 information on splint: info@splint.org
+** To report a bug: splint-bug@splint.org
** For more information: http://www.splint.org
*/
/*
** Massachusetts Institute of Technology
*/
-# include "lclintMacros.nf"
-# include "llbasic.h"
+# include "splintMacros.nf"
+# include "basic.h"
# include "lclscan.h"
# include "signature.h"
# include "signature2.h"
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)
{
/* 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);
}
** way to do this.
*/
- outptr = fileTable_openFile (context_fileTable (), outfile, "w");
+ outptr = fileTable_createFile (context_fileTable (), outfile);
if (outptr == NULL)
{