]> andersk Git - splint.git/commitdiff
Fixed unsignedcompare test. Removed diag for unclosed files.
authorevans1629 <evans1629>
Tue, 25 Sep 2001 12:55:32 +0000 (12:55 +0000)
committerevans1629 <evans1629>
Tue, 25 Sep 2001 12:55:32 +0000 (12:55 +0000)
92 files changed:
src/DATE
src/Headers/herald.h
src/Headers/herald.last
src/Headers/local_constants.h
src/fileTable.c
src/lastversion
src/mtreader.c
src/osd.c
src/sort.c
test/Makefile
test/abst_t.lcs
test/abstptr.lcs
test/alias.lcs
test/alias2.lcs
test/alias3.lcs
test/alias3.lh
test/alias4.lcs
test/alias4.lh
test/alias5.lcs
test/alias5.lh
test/argorder2.lcs
test/argorder4.lcs
test/args.lcs
test/cast.lcs
test/db1/bool.lcs
test/db1/bool.lh
test/db1/dbase.lcs
test/db1/dbase.lh
test/db1/employee.lcs
test/db1/employee.lh
test/db1/empset.lcs
test/db1/empset.lh
test/db1/erc.lcs
test/db1/erc.lh
test/db1/eref.lcs
test/db1/eref.lh
test/db1/ereftab.lcs
test/db1/ereftab.lh
test/db2/dbase.lcs
test/db2/dbase.lh
test/db2/employee.lcs
test/db2/employee.lh
test/db2/empset.lcs
test/db2/empset.lh
test/db2/erc.lcs
test/db2/erc.lh
test/db2/eref.lcs
test/db2/eref.lh
test/db2/ereftab.lcs
test/db2/ereftab.lh
test/db3/bool.lcs
test/db3/bool.lh
test/db3/check.lcs
test/db3/check.lh
test/db3/dbase.lcs
test/db3/dbase.lh
test/db3/employee.lcs
test/db3/employee.lh
test/db3/empset.lcs
test/db3/empset.lh
test/db3/erc.lcs
test/db3/erc.lh
test/db3/eref.lcs
test/db3/eref.lh
test/db3/ereftab.lcs
test/db3/ereftab.lh
test/decl2.lcs
test/enum.lcs
test/glob.lcs
test/impabstract.lcs
test/iter.lcs
test/macros.lcs
test/macrosef.lcs
test/modtest.lcs
test/mut.lcs
test/mut.lh
test/null6.lcd
test/null6.lcs
test/observer.lcs
test/oldstyle.lcs
test/outglob.lcs
test/outparam.lcs
test/repexpose.lcs
test/repexpose.lh
test/special.lcs
test/tests2.2.expect
test/tests2.2.out [new file with mode: 0644]
test/tests2.2/bool.lcs
test/tests2.4/subdir/main.lcs
test/tests2.5/newlint.lcd
test/tq.lcs
test/ud2.lcs

index cdf52e87262f3b1de2256a7b1ede72eed39555e0..1a942cb4cf2ef2fd4e6301ced63aa59717107212 100644 (file)
--- a/src/DATE
+++ b/src/DATE
@@ -1 +1 @@
-10 September 2001
+25 September 2001
index bcb3a88145a80c86301aba1273e0755a9b112a6b..0c1e3b7cc544411aecda3987810edae9a1fc1797 100644 (file)
@@ -1,7 +1,7 @@
 /* herald.h - created automatically by gmake updateversion */
 /*@constant observer char *LCL_VERSION;@*/
-# define LCL_VERSION "LCLint 3.0.0.16 --- 10 September 2001"
+# define LCL_VERSION "LCLint 3.0.0.17 --- 25 September 2001"
 /*@constant observer char *LCL_PARSE_VERSION;@*/
-# define LCL_PARSE_VERSION "LCLint 3.0.0.16"
+# define LCL_PARSE_VERSION "LCLint 3.0.0.17"
 /*@constant observer char *LCL_COMPILE;@*/
-# define LCL_COMPILE "Compiled using gcc -DSTDC_HEADERS=1 on Linux matthews.cs.Virginia.EDU 2.4.3-12 #1 Fri Jun 8 13:35:30 EDT 2001 i686 unknown by drl7x"
+# define LCL_COMPILE "Compiled using gcc -Wall -g on Linux paisley 2.4.3-12 #1 Fri Jun 8 13:35:30 EDT 2001 i686 unknown by evans"
index bcb3a88145a80c86301aba1273e0755a9b112a6b..0c1e3b7cc544411aecda3987810edae9a1fc1797 100644 (file)
@@ -1,7 +1,7 @@
 /* herald.h - created automatically by gmake updateversion */
 /*@constant observer char *LCL_VERSION;@*/
-# define LCL_VERSION "LCLint 3.0.0.16 --- 10 September 2001"
+# define LCL_VERSION "LCLint 3.0.0.17 --- 25 September 2001"
 /*@constant observer char *LCL_PARSE_VERSION;@*/
-# define LCL_PARSE_VERSION "LCLint 3.0.0.16"
+# define LCL_PARSE_VERSION "LCLint 3.0.0.17"
 /*@constant observer char *LCL_COMPILE;@*/
-# define LCL_COMPILE "Compiled using gcc -DSTDC_HEADERS=1 on Linux matthews.cs.Virginia.EDU 2.4.3-12 #1 Fri Jun 8 13:35:30 EDT 2001 i686 unknown by drl7x"
+# define LCL_COMPILE "Compiled using gcc -Wall -g on Linux paisley 2.4.3-12 #1 Fri Jun 8 13:35:30 EDT 2001 i686 unknown by evans"
index fb040339d531030101162ddc74ddb0bfec42da97..59668c381b0bfeadad196ce9509be87760bdd51f 100644 (file)
@@ -2,6 +2,6 @@
 /*@constant observer char *SYSTEM_LIBDIR;@*/
 # define SYSTEM_LIBDIR "/usr/include"
 /*@constant observer char *DEFAULT_LARCHPATH;@*/
-# define DEFAULT_LARCHPATH ".:/af9/drl7x/reTmp/LCLintDev/lib"
+# define DEFAULT_LARCHPATH "/usr/local/lclint/lib"
 /*@constant observer char *DEFAULT_LCLIMPORTDIR;@*/
-# define DEFAULT_LCLIMPORTDIR "/af9/drl7x/reTmp/LCLintDev/imports"
+# define DEFAULT_LCLIMPORTDIR "/usr/local/lclint/imports"
index 8b90b0414d0df5bbd04e9e76489e2db53ed57ad5..658d500a279fac2d0a17c48425a043f36f86fcf7 100644 (file)
@@ -991,11 +991,12 @@ void fileTable_closeAll (fileTable ft)
 
   for (i = 0; i < ft->nopen; i++) 
     {
+      /* 
+        lldiagmsg (message ("Unclosed file at exit: %s", ft->openelements[i]->fname)); 
+      */
+
+      (void) fclose (ft->openelements[i]->f); /* No check - cleaning up after errors */
       lldiagmsg (message ("Unclosed file at exit: %s", cstring_toCharsSafe (ft->openelements[i]->fname)));
-      
-      /*@-retvalint@*/
-      fclose (ft->openelements[i]->f); /* No check - cleaning up after errors */
-      /*@=retvalint@*/
       ft->openelements[i]->f = NULL;
       foentry_free (ft->openelements[i]);
       ft->openelements[i] = NULL;
index 5a776e2aa9a9578b6692a40a34bad8e63dfdfbc3..74be2a9f886c6f100cba26cb92beb8d0b0faa72f 100644 (file)
@@ -1,2 +1,2 @@
-3.0.0.16
+3.0.0.17
 
index b069fbe1c95e8a8d886e82640fcb993a9f1bc727..97f4e46cf64371c1afee72df11d7d7b7380d16b8 100644 (file)
@@ -83,7 +83,7 @@ void mtreader_readFile (cstring infile)
   (void) mtparse ();
   context_exitMTfile ();
 
-  inputStream_close (sourceFile);
+  check (inputStream_close (sourceFile));
   inputStream_free (sourceFile);
 }
 
index 0e82754a1473cc967bfb4cbc0659116c25e955b6..484eba9a626c42afdbbca42baf1eaa49b4e396d3 100644 (file)
--- a/src/osd.c
+++ b/src/osd.c
@@ -648,3 +648,123 @@ bool osd_equalCanonicalPrefix (cstring dirpath, cstring prefixpath)
 # endif
 }
 
+# if 0
+/*
+** This code provided by Herbert Martin Dietze, to canonicalize path names.
+*/
+
+char *osd_getcwd (/*@returned@*/ char *str, size_t size)
+{ 
+  return getcwd (str, size);
+}
+
+/*@null@*/ /*@observer@*/ char *
+osd_dirNext (char *str)
+{
+  char *p1 = strchr (str, '/');
+  char *p2 = strchr (str, '\\');
+
+  if (p1 == NULL)
+    {
+      if (p2 != NULL)
+       {
+         return p2 + 1;
+       }
+      else
+       {
+         return NULL;
+       }
+    }
+  else if (p2 == NULL)
+    {
+      return p1 + 1;
+    }
+  else /* both not null */
+    {
+      return (p1 < p2 ? p1 : p2) + 1;
+    }
+}
+
+static void 
+osd_dirShift (char *str, size_t num) /*@modifies str@*/
+{
+  int i;
+  
+  assert (num <= strlen (str));
+  
+  for (i = 0; str[i] != '\0'; i++)
+    {
+      str[i] = str[i + num];
+    }
+}
+
+bool
+osd_dirDotdot (char *str)
+{
+  return str[0] == '.' && str[1] == '.' && osd_isConnectChar (str[2]);
+}
+
+void
+osd_dirNormalize (char *str)
+{
+  char *pos1, *pos2;
+
+  for (; osd_isConnectChar (str[0]); str++)
+    {
+    }
+
+  for (; str != NULL && osd_dirDotdot (str); str = osd_dirNext (str))
+    {
+    }
+
+  for (pos1 = pos2 = str; 
+       pos1 != NULL; 
+       pos2 = pos1, pos1 = osd_dirNext (pos1))
+    {
+      /* remove redundant `./' entry */
+      while (pos1[0] == '.' && osd_isConnectChar (pos1[1]))
+        {
+          osd_dirShift (pos1, 2);
+        }
+
+      /* remove redundant `foo/../' entry */
+      if (osd_dirDotdot (pos1) && pos2 < pos1)
+        {
+          osd_dirShift (pos2, pos1 - pos2 + 1);
+          osd_dirNormalize (str);
+        }
+    }
+}
+
+/*@null@*/ char *
+osd_dirAbsolute (char *str)
+{
+  char *ret = NULL;
+  size_t size = PATH_MAX * sizeof (*ret);
+  
+  if (osd_isConnectChar (str[0]))
+    {
+      ret = dmalloc ((strlen (str) + 1) * sizeof (*ret));
+      strcpy (ret, str);
+    }
+  else
+    {
+      ret = dmalloc (size);
+      
+      ret = osd_getcwd (ret, size);
+      ret = realloc (ret, (strlen (str) + strlen (ret) + 2) * sizeof (*ret));
+
+      if (ret == NULL)
+        {
+          return NULL;
+        }
+
+      strcat (ret, CONNECTSTR);
+      strcat (ret, str);
+    }
+  
+  osd_dirNormalize (ret);
+  return ret;
+}
+
+# endif
index b52d5c043c27629118eee7598bbead6aa59bf439..73818b7cc40cfa42dc297963226c0574536d3012 100644 (file)
@@ -2636,7 +2636,7 @@ parseSortLine (char *line, ltoken t, inputStream  s,
       if (strName != lsymbol_undefined && strMemList != NULL)
        {
          sort asort = sort_construct (strName, SRT_STRUCT, NOSORTHANDLE, tagName,
-                                 TRUE, NOSORTHANDLE, strMemList);
+                                      TRUE, NOSORTHANDLE, strMemList);
          
          if (tagName != lsymbol_undefined)
            {
index 1c513a40cdbeb9aa1a2227dfab4f6020d148f92a..e30ce384a8aef32859386d3045820002bb4dcd20 100644 (file)
@@ -655,7 +655,6 @@ freearray:
 ###
 
 tests2.2:
-       @echo "  Note: expect difference in name of unclosed file."
        setenv LCLINT '$(LCLINTRN)'; cd tests2.2 ; $(MAKE) -e
 
 tests2.2a:
index 64cb20fa9d5544afffb0ba4e1bdc0abef851a6cf..7946afef4849028723b55c7234e567387889f86c 100644 (file)
@@ -1,4 +1,4 @@
-%PASSED Output from LCLint 3.0.0.16
+%PASSED Output from LCLint 3.0.0.17
 %LCLimports 
 %LCLSortTable
 %LCLsort bool immutable nil nil
index 000dc4d4564cfa62ebb5d192da78410c211e8ef1..dd876ca57a291a6a0a1d0bd7dfe09ec2cf8fe5b2 100644 (file)
@@ -1,4 +1,4 @@
-%PASSED Output from LCLint 3.0.0.16
+%PASSED Output from LCLint 3.0.0.17
 %LCLimports 
 %LCLSortTable
 %LCLsort bool immutable nil nil
index 6fbd7d41fbfa439c6f73b685c169656be21f9ad6..fc507ddf3bb5903bf2b71122711479252f018d5d 100644 (file)
@@ -1,4 +1,4 @@
-%PASSED Output from LCLint 3.0.0.16
+%PASSED Output from LCLint 3.0.0.17
 %LCLimports 
 %LCLSortTable
 %LCLsort bool immutable nil nil
index 528a56527ac0f98865f95d74860b0d0e3f68b16b..cb81243393d7edaf0a06efc962d1c65ef95b8507 100644 (file)
@@ -1,4 +1,4 @@
-%PASSED Output from LCLint 3.0.0.16
+%PASSED Output from LCLint 3.0.0.17
 %LCLimports 
 %LCLSortTable
 %LCLsort bool immutable nil nil
index 050bf2316deb0b89f04901ee48525548d19b935a..8bf16735c19774fbafd81706550e0afb4ebc387a 100644 (file)
@@ -1,4 +1,4 @@
-%PASSED Output from LCLint 3.0.0.16
+%PASSED Output from LCLint 3.0.0.17
 %LCLimports 
 %LCLSortTable
 %LCLsort bool immutable nil nil
index cafd3e26e8f4961751a1a88f90cf62dd789d12d0..73f0f709694f777b572a5cc5ab4351d9b1ec19bf 100644 (file)
@@ -1,4 +1,4 @@
-/* Output from LCLint 3.0.0.16 */
+/* Output from LCLint 3.0.0.17 */
 # include "bool.h"
 
 
index a78b2d570f72deedc3b465b784f67370d520e85d..21e40f24be500562caabe80a1be37c5cfaae74fd 100644 (file)
@@ -1,4 +1,4 @@
-%PASSED Output from LCLint 3.0.0.16
+%PASSED Output from LCLint 3.0.0.17
 %LCLimports 
 %LCLSortTable
 %LCLsort bool immutable nil nil
index f607d04a32685ee9728ad4d259dbbf934756a1b7..db13d3796f439df7cff8dca7094e8d2e63198667 100644 (file)
@@ -1,4 +1,4 @@
-/* Output from LCLint 3.0.0.16 */
+/* Output from LCLint 3.0.0.17 */
 
 # include "bool.h"
 # include "mut.h"
index 72d4d2afa2e91598d44b3fcba7b55e3e63388c37..a5e0bdedd04284a3e480d69692f3b42ca19fbcfe 100644 (file)
@@ -1,4 +1,4 @@
-%PASSED Output from LCLint 3.0.0.16
+%PASSED Output from LCLint 3.0.0.17
 %LCLimports 
 %LCLSortTable
 %LCLsort bool immutable nil nil
index d4bd5305d23a2e67cf47cf64451cf134669496c0..f591119c9c9de552701e0c8d23c8dd7af1b89fdf 100644 (file)
@@ -1,4 +1,4 @@
-/* Output from LCLint 3.0.0.16 */
+/* Output from LCLint 3.0.0.17 */
 # include "bool.h"
 
 
index 3cd0db55de732c8df7c2932058936fad3b6dbaef..dec4e87c0eddee1b3af40d8d8dc64a531f9a23b5 100644 (file)
@@ -1,4 +1,4 @@
-%PASSED Output from LCLint 3.0.0.16
+%PASSED Output from LCLint 3.0.0.17
 %LCLimports 
 %LCLSortTable
 %LCLsort bool immutable nil nil
index f08d8db0c419edfeec52f2592a09ecdf33debd9d..acdf6fb7b4f0a630730398796f27c3c67f73d868 100644 (file)
@@ -1,4 +1,4 @@
-%PASSED Output from LCLint 3.0.0.16
+%PASSED Output from LCLint 3.0.0.17
 %LCLimports 
 %LCLSortTable
 %LCLsort bool immutable nil nil
index 361e69479d4ca5e54279dc262a683a31aa8d89bf..143bf6c645a0f514c1b721b3f3ed227eb0eb02f4 100644 (file)
@@ -1,4 +1,4 @@
-%PASSED Output from LCLint 3.0.0.16
+%PASSED Output from LCLint 3.0.0.17
 %LCLimports 
 %LCLSortTable
 %LCLsort bool immutable nil nil
index 4b0d2ee9c0b5c83390a3bb94cdd0ff90fa071056..7b7e08ba12be122fbe144f8da339ebc7c7acc16e 100644 (file)
@@ -1,4 +1,4 @@
-%PASSED Output from LCLint 3.0.0.16
+%PASSED Output from LCLint 3.0.0.17
 %LCLimports 
 %LCLSortTable
 %LCLsort bool immutable nil nil
index ff3e9082f6cd0530efc4dbe163ee19eb7d1e6914..bcadca1d648b7d0d90fdaab6e661281785389dad 100644 (file)
@@ -1,4 +1,4 @@
-%PASSED Output from LCLint 3.0.0.16
+%PASSED Output from LCLint 3.0.0.17
 %LCLimports 
 %LCLSortTable
 %LCLsort bool immutable nil nil
index edc96e1d4486d702f5583972cc239493caf59092..eb6aec453909ec891c0f68ee720a4c51e2c39d94 100644 (file)
@@ -1,4 +1,4 @@
-/* Output from LCLint 3.0.0.16 */
+/* Output from LCLint 3.0.0.17 */
 # include "bool.h"
 
 
index c020e9d0d2e882ccb2de60e59dea28d98c19cc76..56ae03b23ff6a245e85a149403c8c0c0725265df 100644 (file)
@@ -1,4 +1,4 @@
-%PASSED Output from LCLint 3.0.0.16
+%PASSED Output from LCLint 3.0.0.17
 %LCLimports 
 %LCLSortTable
 %LCLsort bool immutable nil nil
index 463929c4f05a26c300c71753a8ea24b4dfdbcd99..d6d7c5b653dd16add7e3041f69783eea56638730 100644 (file)
@@ -1,4 +1,4 @@
-/* Output from LCLint 3.0.0.16 */
+/* Output from LCLint 3.0.0.17 */
 
 # include <stdio.h>
 # include "bool.h"
index 1004239bfef588314ea8975d60f21082b6deafd5..cff6ffc3eb48fbeca49e6c4f3744c9cb62029bb3 100644 (file)
@@ -1,4 +1,4 @@
-%PASSED Output from LCLint 3.0.0.16
+%PASSED Output from LCLint 3.0.0.17
 %LCLimports 
 %LCLSortTable
 %LCLsort bool immutable nil nil
index 9d4e57303480222a5f9581270c74e6e73b42be32..054bf3f3727e0e1e6dca2067a0e73d5404881603 100644 (file)
@@ -1,4 +1,4 @@
-/* Output from LCLint 3.0.0.16 */
+/* Output from LCLint 3.0.0.17 */
 
 # include "bool.h"
 # include "bool.h"
index 6bd2eb933fd9ef064e9be91af33680d2751cc5cf..eacc7e33f5db772532bd18773cca72a7c4d0e26d 100644 (file)
@@ -1,4 +1,4 @@
-%PASSED Output from LCLint 3.0.0.16
+%PASSED Output from LCLint 3.0.0.17
 %LCLimports 
 %LCLSortTable
 %LCLsort bool immutable nil nil
index 2eb4bfe6904cee6c6b63903a3f4c6d975fed8031..5569fadf722f22314375e0a8bccd7be46f17e6e0 100644 (file)
@@ -1,4 +1,4 @@
-/* Output from LCLint 3.0.0.16 */
+/* Output from LCLint 3.0.0.17 */
 
 # include "bool.h"
 # include "employee.h"
index 1ffc2e8e13e39290c7809017bb612fcce00a9e2c..0915601c98604b5ebe4bf47d1125bea8fd174064 100644 (file)
@@ -1,4 +1,4 @@
-%PASSED Output from LCLint 3.0.0.16
+%PASSED Output from LCLint 3.0.0.17
 %LCLimports 
 %LCLSortTable
 %LCLsort bool immutable nil nil
index 61716fed622e8c90a75478a2010b9d844af7008b..f6def70c567876da3537a419cc9db2bc51c56d21 100644 (file)
@@ -1,4 +1,4 @@
-/* Output from LCLint 3.0.0.16 */
+/* Output from LCLint 3.0.0.17 */
 
 # include "bool.h"
 # include "eref.h"
index 2b8f65309514a366dbc348b3d607fe1bd1931e3d..bc283798d8caabe19196e969ea912bb61e92394f 100644 (file)
@@ -1,4 +1,4 @@
-%PASSED Output from LCLint 3.0.0.16
+%PASSED Output from LCLint 3.0.0.17
 %LCLimports 
 %LCLSortTable
 %LCLsort bool immutable nil nil
index fbbb433176685bf2e4f7d91b4c3d71b6db46e172..95fec4abce88b72a8b23a7df2d92bfec3a96ae83 100644 (file)
@@ -1,4 +1,4 @@
-/* Output from LCLint 3.0.0.16 */
+/* Output from LCLint 3.0.0.17 */
 
 # include "bool.h"
 # include "employee.h"
index f25c16225e504fd51d2ce615f88a40e7545bef1a..11578378729f894aa53ad70e0ae72225e4ad57ec 100644 (file)
@@ -1,4 +1,4 @@
-%PASSED Output from LCLint 3.0.0.16
+%PASSED Output from LCLint 3.0.0.17
 %LCLimports 
 %LCLSortTable
 %LCLsort bool immutable nil nil
index d89a7f99c3099666a8dbf3e658ad8ead2ceca389..b9d0b654374087dfd60d2f53ed4522260e04335c 100644 (file)
@@ -1,4 +1,4 @@
-/* Output from LCLint 3.0.0.16 */
+/* Output from LCLint 3.0.0.17 */
 
 # include "bool.h"
 # include "employee.h"
index 9eed1117406230947503b3b4a9134ad1acc59d88..9bd42d5454247bcf43e43b70d0be60514ead8038 100644 (file)
@@ -1,4 +1,4 @@
-%PASSED Output from LCLint 3.0.0.16
+%PASSED Output from LCLint 3.0.0.17
 %LCLimports 
 %LCLSortTable
 %LCLsort bool immutable nil nil
index 463929c4f05a26c300c71753a8ea24b4dfdbcd99..d6d7c5b653dd16add7e3041f69783eea56638730 100644 (file)
@@ -1,4 +1,4 @@
-/* Output from LCLint 3.0.0.16 */
+/* Output from LCLint 3.0.0.17 */
 
 # include <stdio.h>
 # include "bool.h"
index cd75b5ccf50c2394d9e965bf9375b9e58e8e4e57..7d1102df605c983990c72b62dd934e0fa393a5dd 100644 (file)
@@ -1,4 +1,4 @@
-%PASSED Output from LCLint 3.0.0.16
+%PASSED Output from LCLint 3.0.0.17
 %LCLimports 
 %LCLSortTable
 %LCLsort bool immutable nil nil
index 512280994b51122e36a43a893c6f59e2fa7bf746..2cdd75195ae9d3fe54694974d892395d62d0eb83 100644 (file)
@@ -1,4 +1,4 @@
-/* Output from LCLint 3.0.0.16 */
+/* Output from LCLint 3.0.0.17 */
 
 # include <stdio.h>
 # include "bool.h"
index 72740fde28ac806ff4fc9c2d049f59956009f3bb..f51c47252af346b42093b36eada14d7527881ba5 100644 (file)
@@ -1,4 +1,4 @@
-%PASSED Output from LCLint 3.0.0.16
+%PASSED Output from LCLint 3.0.0.17
 %LCLimports 
 %LCLSortTable
 %LCLsort bool immutable nil nil
index 42c501ff7c344b2289bb2bcbeca9dce8fc4a97b6..9e8038420dbfc71bd9beda8d01a42d78d1e5a815 100644 (file)
@@ -1,4 +1,4 @@
-/* Output from LCLint 3.0.0.16 */
+/* Output from LCLint 3.0.0.17 */
 
 # include "bool.h"
 # include "employee.h"
index ca90e1b16b0e94415c04416a6a1b1b217a87f4be..6c5f4ef5a4ef1a426bb1ec484f814cb28e27d7ea 100644 (file)
@@ -1,4 +1,4 @@
-%PASSED Output from LCLint 3.0.0.16
+%PASSED Output from LCLint 3.0.0.17
 %LCLimports 
 %LCLSortTable
 %LCLsort bool immutable nil nil
index d0182bbbc7bd2b15d55f17bbd3e27b8b3815e77b..a77f9147f0cef662c84b9521fb8be1eae1fcb3e1 100644 (file)
@@ -1,4 +1,4 @@
-/* Output from LCLint 3.0.0.16 */
+/* Output from LCLint 3.0.0.17 */
 
 # include "bool.h"
 # include "eref.h"
index adb51c26579119e612b0909ce99a9044cc91db50..836de9ed2af4830aee173a707b99a4ae0958dea1 100644 (file)
@@ -1,4 +1,4 @@
-%PASSED Output from LCLint 3.0.0.16
+%PASSED Output from LCLint 3.0.0.17
 %LCLimports 
 %LCLSortTable
 %LCLsort bool immutable nil nil
index fbbb433176685bf2e4f7d91b4c3d71b6db46e172..95fec4abce88b72a8b23a7df2d92bfec3a96ae83 100644 (file)
@@ -1,4 +1,4 @@
-/* Output from LCLint 3.0.0.16 */
+/* Output from LCLint 3.0.0.17 */
 
 # include "bool.h"
 # include "employee.h"
index 7989f3d0bf7f4bfe2fa3c6c7d6c185ced34a7384..7d6ab02233b7faff1721c598dafc88ab6af6c0b4 100644 (file)
@@ -1,4 +1,4 @@
-%PASSED Output from LCLint 3.0.0.16
+%PASSED Output from LCLint 3.0.0.17
 %LCLimports 
 %LCLSortTable
 %LCLsort bool immutable nil nil
index d89a7f99c3099666a8dbf3e658ad8ead2ceca389..b9d0b654374087dfd60d2f53ed4522260e04335c 100644 (file)
@@ -1,4 +1,4 @@
-/* Output from LCLint 3.0.0.16 */
+/* Output from LCLint 3.0.0.17 */
 
 # include "bool.h"
 # include "employee.h"
index d1189fcef3102b562620f5dac01f5edaadfbadff..5fba5c21c93405ad8d12ac501f7968e6cc7f9876 100644 (file)
@@ -1,4 +1,4 @@
-%PASSED Output from LCLint 3.0.0.16
+%PASSED Output from LCLint 3.0.0.17
 %LCLimports 
 %LCLSortTable
 %LCLsort bool immutable nil nil
index 9912f6c290bf8c98d14a734b756773da0af2fd84..8c957111413958cc7ab06ecd8b8ec204dc516f11 100644 (file)
@@ -1,4 +1,4 @@
-/* Output from LCLint 3.0.0.16 */
+/* Output from LCLint 3.0.0.17 */
 # include "bool.h"
 
 
index 4d336283c70a71456eeffb2e24c0abe5a10d2a24..e5e26a7592d2bd0f7ab688ac502bc46b02c17f49 100644 (file)
@@ -1,4 +1,4 @@
-%PASSED Output from LCLint 3.0.0.16
+%PASSED Output from LCLint 3.0.0.17
 %LCLimports 
 %LCLSortTable
 %LCLsort bool immutable nil nil
index 5562f76fcfddbf03e1f517a3f5ee49e7f8825844..74f9521c58b4cf1144282ca142f0c58c487dccaa 100644 (file)
@@ -1,4 +1,4 @@
-/* Output from LCLint 3.0.0.16 */
+/* Output from LCLint 3.0.0.17 */
 
 # include "bool.h"
 # include "bool.h"
index 3deebc3a579c176bceb523ca1215f504d859f657..57bf859b0a02cebeaa128a0ae814608464f6c716 100644 (file)
@@ -1,4 +1,4 @@
-%PASSED Output from LCLint 3.0.0.16
+%PASSED Output from LCLint 3.0.0.17
 %LCLimports 
 %LCLSortTable
 %LCLsort bool immutable nil nil
index 3f8de16dcbdc84e781fccab901202be08b86fb7c..90b4a4663543249126c3be3aed51f7e2f52deb01 100644 (file)
@@ -1,4 +1,4 @@
-/* Output from LCLint 3.0.0.16 */
+/* Output from LCLint 3.0.0.17 */
 
 # include <stdio.h>
 # include "bool.h"
index 19dc9780658d47c414608f0013da4583279d30c6..d977fe38aeb811fdd8440481e3012a828f977b77 100644 (file)
@@ -1,4 +1,4 @@
-%PASSED Output from LCLint 3.0.0.16
+%PASSED Output from LCLint 3.0.0.17
 %LCLimports 
 %LCLSortTable
 %LCLsort bool immutable nil nil
index fdb1ec90b5a90e8172e124b7b0811eb15386cefb..fb975b95e26874ff9b5390f311e92a40fd70a44f 100644 (file)
@@ -1,4 +1,4 @@
-/* Output from LCLint 3.0.0.16 */
+/* Output from LCLint 3.0.0.17 */
 
 # include <stdio.h>
 # include "bool.h"
index 2627697fc6bf6b66be352682d93a7625aaca463d..aa853fdb7c6a54932c89f0455ce14193cd0f8018 100644 (file)
@@ -1,4 +1,4 @@
-%PASSED Output from LCLint 3.0.0.16
+%PASSED Output from LCLint 3.0.0.17
 %LCLimports 
 %LCLSortTable
 %LCLsort bool immutable nil nil
index 73ce4876fc24deb0d270969fe20a97ad5fcac492..6f983f5afe4d8ed79c2168ea04646efeec9f29b6 100644 (file)
@@ -1,4 +1,4 @@
-/* Output from LCLint 3.0.0.16 */
+/* Output from LCLint 3.0.0.17 */
 
 # include "bool.h"
 # include "employee.h"
index 835dcb857657f0183d844f70a82c5ce101bd3d6c..06b6185dfb931773da401269ba525927e442aa23 100644 (file)
@@ -1,4 +1,4 @@
-%PASSED Output from LCLint 3.0.0.16
+%PASSED Output from LCLint 3.0.0.17
 %LCLimports 
 %LCLSortTable
 %LCLsort bool immutable nil nil
index fe1b3ce2b9b5b1327919b27b4e677acbd6fc52f1..e53a690b6360db4d28dcf73396bf06280307a846 100644 (file)
@@ -1,4 +1,4 @@
-/* Output from LCLint 3.0.0.16 */
+/* Output from LCLint 3.0.0.17 */
 
 # include "bool.h"
 # include "eref.h"
index c345da909eebd89b0bb46024bca03bfa8b84a079..a0fbc069d60608c575c61af7fc6aa13ba83f0a12 100644 (file)
@@ -1,4 +1,4 @@
-%PASSED Output from LCLint 3.0.0.16
+%PASSED Output from LCLint 3.0.0.17
 %LCLimports 
 %LCLSortTable
 %LCLsort bool immutable nil nil
index c37914975853696cbde121c27ad8cbfd900e5ba7..227438a3efca4abda179313fa2971a18487dcf61 100644 (file)
@@ -1,4 +1,4 @@
-/* Output from LCLint 3.0.0.16 */
+/* Output from LCLint 3.0.0.17 */
 
 # include "bool.h"
 # include "employee.h"
index 1539ab6dab057e9b7a6cc123200345ffb060dbb3..ef98ae2325ce62235de3ef44c36aa7a960e3c997 100644 (file)
@@ -1,4 +1,4 @@
-%PASSED Output from LCLint 3.0.0.16
+%PASSED Output from LCLint 3.0.0.17
 %LCLimports 
 %LCLSortTable
 %LCLsort bool immutable nil nil
index dcce7946a907b3d816ce2e0da1f5999903a1908e..70e7be9279f90adbff32ab030ae10b17d0846ca1 100644 (file)
@@ -1,4 +1,4 @@
-/* Output from LCLint 3.0.0.16 */
+/* Output from LCLint 3.0.0.17 */
 
 # include "bool.h"
 # include "employee.h"
index 6cf4f060baa180a5e8423c071f275435bee475c9..66bdab782696ef54a9fe7f9cd76f33d9ad979474 100644 (file)
@@ -1,4 +1,4 @@
-%PASSED Output from LCLint 3.0.0.16
+%PASSED Output from LCLint 3.0.0.17
 %LCLimports 
 %LCLSortTable
 %LCLsort bool immutable nil nil
index e56e45f5faad2375fc5388ca25986261ea861a00..760190a7e4ab01372940d5cebc9927513dc42cdf 100644 (file)
@@ -1,4 +1,4 @@
-%PASSED Output from LCLint 3.0.0.16
+%PASSED Output from LCLint 3.0.0.17
 %LCLimports 
 %LCLSortTable
 %LCLsort bool immutable nil nil
index add3dd9214b9bcdff75944c463a49578c3ea5166..388e5f962b5249a70a0250c3ec4f53a7f5a799d1 100644 (file)
@@ -1,4 +1,4 @@
-%PASSED Output from LCLint 3.0.0.16
+%PASSED Output from LCLint 3.0.0.17
 %LCLimports 
 %LCLSortTable
 %LCLsort bool immutable nil nil
index ed45dee9577a7de1ba90ed4438e62c6dac49b0d6..44aafb6734aa4d06bc8f96ceaca22ebcd7ed6ff0 100644 (file)
@@ -1,4 +1,4 @@
-%PASSED Output from LCLint 3.0.0.16
+%PASSED Output from LCLint 3.0.0.17
 %LCLimports 
 %LCLSortTable
 %LCLsort bool immutable nil nil
index 8b134915dca70f628312adb6efeeef36edaf8f75..0642440e6fd8a98f1c26974d37063d65bb9770ab 100644 (file)
@@ -1,4 +1,4 @@
-%FAILED Output from LCLint 3.0.0.16
+%FAILED Output from LCLint 3.0.0.17
 %LCLimports 
 %LCLSortTable
 %LCLsort bool immutable nil nil
index dbe8e85c08b05b037c4668cbf04239732caaab29..8a7e3a8d6777879a44d36d5850513331669ecf8e 100644 (file)
@@ -1,4 +1,4 @@
-%PASSED Output from LCLint 3.0.0.16
+%PASSED Output from LCLint 3.0.0.17
 %LCLimports 
 %LCLSortTable
 %LCLsort bool immutable nil nil
index 575906dda3b4a06604400d96a7ea4510b1882bae..90ef2755a39ac6c84cff086bbb0d9467b4ba66fb 100644 (file)
@@ -1,4 +1,4 @@
-%PASSED Output from LCLint 3.0.0.16
+%PASSED Output from LCLint 3.0.0.17
 %LCLimports 
 %LCLSortTable
 %LCLsort bool immutable nil nil
index a98b3185ea8b44b2d55457661e879cd06c9d8498..e1bfcac8053cf49fbe45030b1b9f77ccf74c7c40 100644 (file)
@@ -1,4 +1,4 @@
-%PASSED Output from LCLint 3.0.0.16
+%PASSED Output from LCLint 3.0.0.17
 %LCLimports 
 %LCLSortTable
 %LCLsort bool immutable nil nil
index c800e6de60dbca0a1176315876bf00c2370b0222..845e2a2ed043af415a55f2ff143fa4e430a8d40c 100644 (file)
@@ -1,4 +1,4 @@
-%PASSED Output from LCLint 3.0.0.16
+%PASSED Output from LCLint 3.0.0.17
 %LCLimports 
 %LCLSortTable
 %LCLsort bool immutable nil nil
index 5993039bcee6fa405d42fa53ae2fc3b6d5318c07..ee8f89bfb44cd91e049b692abaa7c174af2377f1 100644 (file)
@@ -1,4 +1,4 @@
-/* Output from LCLint 3.0.0.16 */
+/* Output from LCLint 3.0.0.17 */
 # include "bool.h"
 
 
index 6df29e1c2377ed118b93fa25b9bf560afd5fbcde..0dcf1b60d3ab1e87dca46629d39f164781ce158f 100644 (file)
@@ -1,5 +1,5 @@
 ;;LCLint Dump: null6.lcd
-;;LCLint 3.0.0.16 --- 10 September 2001
+;;LCLint 3.0.0.17 --- 25 September 2001
 ;;lib:168
 ;;ctTable
 0 u-2 19 38
index 73a1ff83e46a27d0d8075884cd43a71206edc502..b2fd285305c73295307a152b0c0f0c8a52a317c6 100644 (file)
@@ -1,4 +1,4 @@
-%PASSED Output from LCLint 3.0.0.16
+%PASSED Output from LCLint 3.0.0.17
 %LCLimports 
 %LCLSortTable
 %LCLsort bool immutable nil nil
index 3be672cb401b50b26828b551f98733ee60ace38c..e17bbb25e9979d300bf75de92e0ea1bb3fc5b7d1 100644 (file)
@@ -1,4 +1,4 @@
-%PASSED Output from LCLint 3.0.0.16
+%PASSED Output from LCLint 3.0.0.17
 %LCLimports 
 %LCLSortTable
 %LCLsort bool immutable nil nil
index 193c76f43e0e3498f76471980628b4e4b1493079..6d387c33a4fb5b35a2a1c1fd34cf8d6a2a08d662 100644 (file)
@@ -1,4 +1,4 @@
-%PASSED Output from LCLint 3.0.0.16
+%PASSED Output from LCLint 3.0.0.17
 %LCLimports 
 %LCLSortTable
 %LCLsort bool immutable nil nil
index a54609d08077c76a0d0252f11811d561ae0f3d2f..70455d46523a099faa7b5e70413b732ed2df3b00 100644 (file)
@@ -1,4 +1,4 @@
-%PASSED Output from LCLint 3.0.0.16
+%PASSED Output from LCLint 3.0.0.17
 %LCLimports 
 %LCLSortTable
 %LCLsort bool immutable nil nil
index 2d4d5cd21516f292a039f7b99c30823f2407b81b..49cb4e0af7a83f87e9686cb30d26cbedff129e8b 100644 (file)
@@ -1,4 +1,4 @@
-%PASSED Output from LCLint 3.0.0.16
+%PASSED Output from LCLint 3.0.0.17
 %LCLimports 
 %LCLSortTable
 %LCLsort bool immutable nil nil
index 51b4d446c8573ea5b0f2f526f3bfba795ed2233f..8ac898f63739e00ce727706465742cb8d55e8dbe 100644 (file)
@@ -1,4 +1,4 @@
-%PASSED Output from LCLint 3.0.0.16
+%PASSED Output from LCLint 3.0.0.17
 %LCLimports 
 %LCLSortTable
 %LCLsort bool immutable nil nil
index 0cd8913d15ffd7b37338163a9c1044b11d2fe659..a73cd6ca92292bc161a3aea817ce0ef49ce5b307 100644 (file)
@@ -1,4 +1,4 @@
-/* Output from LCLint 3.0.0.16 */
+/* Output from LCLint 3.0.0.17 */
 # include "bool.h"
 
 
index ea7185f490d9b9e3eef0cdf416dad7586ce675d0..e986ce7ae9b2653be6361acb7be32abb276e52a9 100644 (file)
@@ -1,4 +1,4 @@
-%PASSED Output from LCLint 3.0.0.16
+%PASSED Output from LCLint 3.0.0.17
 %LCLimports 
 %LCLSortTable
 %LCLsort bool immutable nil nil
index 5189b4c4f3632b9842748c743f426f213d3edfad..49ce385f85989c09a11f1d7ea67804cab60101c7 100644 (file)
@@ -47,7 +47,6 @@ Finished LCLint checking --- no code errors found
 extension.c:2:18: Parse Error: New function scope inside function. (For help on
                parse errors, see lclint -help parseerrors.)
 *** Cannot continue.
-Unclosed file at exit: /tmp/cl89AAA.c
 
 Finished LCLint checking --- no code errors found
 
diff --git a/test/tests2.2.out b/test/tests2.2.out
new file mode 100644 (file)
index 0000000..49ce385
--- /dev/null
@@ -0,0 +1,84 @@
+
+boolops.c: (in function main)
+boolops.c:12:3: Assignment of int to Kzam: b = 12
+
+Finished LCLint checking --- 1 code error found, as expected
+
+mbool.h:1:17: Type implemented as macro: bool
+
+Finished LCLint checking --- 1 code error found, as expected
+
+boolenum.c: (in function main)
+boolenum.c:11:8: Use of == with BOOLEAN variables (risks inconsistency because
+                    of multiple true values): a == TRUE
+
+Finished LCLint checking --- 1 code error found, as expected
+
+break.c: (in function f)
+break.c:9:4: Dereference of possibly null pointer x: *x
+   break.c:1:24: Storage x may become null
+
+Finished LCLint checking --- 1 code error found, as expected
+
+bstring.c:4:14: Initial value of s4[0] is type char *, expects char: "hullo"
+bstring.c:4:23: Initial value of s4[1] is type char *, expects char: "g'bye"
+
+Finished LCLint checking --- 2 code errors found, as expected
+
+decl.c:3:21: Structure struct tm declared with fields { int x; }, specified
+                with fields { int tm_sec; int tm_min; int tm_hour;, ... }
+   load file ansi.lcd:961:1: Specification of struct tm
+   decl.c:3:17: Field tm_sec in specified corresponds to x in declaration
+   load file ansi.lcd:637:1: Specification of tm_sec
+
+Finished LCLint checking --- 1 code error found, as expected
+
+enumbool.c:1:34: Member of boolean enumerated type definition does not match
+                    name set to represent TRUE or FALSE: false
+enumbool.c:1:34: Member of boolean enumerated type definition does not match
+                    name set to represent TRUE or FALSE: true
+
+Finished LCLint checking --- 2 code errors found, as expected
+
+Finished LCLint checking --- no code errors found
+
+Finished LCLint checking --- no code errors found
+
+extension.c:2:18: Parse Error: New function scope inside function. (For help on
+               parse errors, see lclint -help parseerrors.)
+*** Cannot continue.
+
+Finished LCLint checking --- no code errors found
+
+nestext.c: (in function f)
+nestext.c:3:26: Declaration using extern inside function scope: int test(void)
+
+Finished LCLint checking --- 1 code error found, as expected
+
+sizeofarray.c:1:12: Function parameter x declared as manifest array (size
+                       constant is meaningless)
+sizeofarray.c: (in function f)
+sizeofarray.c:5:13: Parameter to sizeof is an array-type function parameter:
+                       sizeof((x))
+sizeofarray.c:10:16: Return value type size_t does not match declared type int:
+                        sizeof((a))
+
+Finished LCLint checking --- 3 code errors found, as expected
+
+rex.c: (in function main)
+rex.c:19:12: Only storage re.parent (type struct rx_hash *) derived from
+                variable declared in this scope is not released (memory leak)
+rex.c:19:12: Only storage *(re.children)->parent (type struct rx_hash *)
+    derived from variable declared in this scope is not released (memory leak)
+rex.c:19:12: Only storage *(*(re.children)->children)->parent (type struct
+    rx_hash *) derived from variable declared in this scope is not released
+    (memory leak)
+rex.c:19:12: Only storage *(*(*(re.children)->children)->children)->parent
+    (type struct rx_hash *) derived from variable declared in this scope is not
+    released (memory leak)
+
+Finished LCLint checking --- 4 code errors found, as expected
+
+struct.c:13:6: Function main declared to return void, should return int
+
+Finished LCLint checking --- 1 code error found, as expected
index 13bd14cc58b06e012b62c75452a2bdcd0f298f4b..186274fb2d7f03b0d15a8d37190808ec520d209c 100644 (file)
@@ -1,4 +1,4 @@
-%PASSED Output from LCLint 3.0.0.16
+%PASSED Output from LCLint 3.0.0.17
 %LCLimports 
 %LCLSortTable
 %LCLsort bool immutable nil nil
index 7342a92a3e8f696771296404306b32dc948b01f1..275cce24c68bf742c21d48161e581755053df9fc 100644 (file)
@@ -1,4 +1,4 @@
-%PASSED Output from LCLint 3.0.0.16
+%PASSED Output from LCLint 3.0.0.17
 %LCLimports 
 %LCLSortTable
 %LCLsort bool immutable nil nil
index b7499b79221b77e390708ebd48a3832e081703e4..34e1a042cbd3cb748e0b5a780076bf289c4b7e61 100644 (file)
@@ -1,5 +1,5 @@
 ;;LCLint Dump: newlint.lcd
-;;LCLint 3.0.0.16 --- 10 September 2001
+;;LCLint 3.0.0.17 --- 25 September 2001
 ;;lib:168
 ;;ctTable
 0 u-2 19 38
index a36e194b29d57030685eed3753aeae982e2ae281..95504520da3f685820f49ac38b2984a0eb757ad0 100644 (file)
@@ -1,4 +1,4 @@
-%PASSED Output from LCLint 3.0.0.16
+%PASSED Output from LCLint 3.0.0.17
 %LCLimports 
 %LCLSortTable
 %LCLsort bool immutable nil nil
index 271bd8ed0b0d1e5fee99545a43a0029ae7ab0626..aba573c93ae3b9622f8a4d764a288e1d95c54e2f 100644 (file)
@@ -1,4 +1,4 @@
-%PASSED Output from LCLint 3.0.0.16
+%PASSED Output from LCLint 3.0.0.17
 %LCLimports 
 %LCLSortTable
 %LCLsort bool immutable nil nil
This page took 0.163813 seconds and 5 git commands to generate.