/*
** 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
*/
# include "splintMacros.nf"
-# include "llbasic.h"
+# include "basic.h"
# include "osd.h"
# include "version.h"
/*@-nullstate@*/
return TRUE;
/*@=nullstate@*/
- /*@i233@*/
+
/* evans 2002-03-02:
- the returned reference is possibly null,
- but this should not change the null state of the parameter
- investigate this warning
+ the returned reference is possibly null,
+ but this should not change the null state of the parameter
*/
}
}
cstring_free (xname);
/*@noaccess cstring@*/
- /*@-nullstate@*/ /*@i233@*/ /* same problem as above */
+ /*@-nullstate@*/ /* same problem as above */
return FALSE;
/*@=nullstate@*/
}
*/
fprintf (f, "%s %s\n", LIBRARY_MARKER, cstring_toCharsSafe (fname));
- fprintf (f, ";;%s\n", SPLINT_VERSION);
+ fprintf (f, ";;Splint %f\n", SPLINT_LIBVERSION);
fprintf (f, ";;lib:%d\n", (int) context_getLibrary ());
fprintf (f, ";;ctTable\n");
vname = cstring_fromChars (buf + 9);
loadllmsg (message ("Load library %s is in obsolete Splint library "
- "format (version %s). Attempting "
+ "format (version %f (%s), expecting version %f). Attempting "
"to continue anyway, but results may be incorrect. Rebuild "
"the library with this version of splint.",
- name, vname));
+ name,
+ version,
+ vname,
+ SPLINT_LIBVERSION));
}
else
{