Index: /trunk/psLib/pslib.kdevses
===================================================================
--- /trunk/psLib/pslib.kdevses	(revision 3297)
+++ /trunk/psLib/pslib.kdevses	(revision 3298)
@@ -2,5 +2,24 @@
 <!DOCTYPE KDevPrjSession>
 <KDevPrjSession>
- <DocsAndViews NumberOfDocuments="0" />
+ <DocsAndViews NumberOfDocuments="6" >
+  <Doc0 NumberOfViews="1" URL="file:/home/desonia/panstarrs/psLib/src/astronomy/psMetadata.c" >
+   <View0 line="342" Type="Source" />
+  </Doc0>
+  <Doc1 NumberOfViews="1" URL="file:/home/desonia/panstarrs/psLib/test/fileUtils/tst_psFits.c" >
+   <View0 line="193" Type="Source" />
+  </Doc1>
+  <Doc2 NumberOfViews="1" URL="file:/home/desonia/panstarrs/psLib/src/collections/psHash.c" >
+   <View0 line="290" Type="Source" />
+  </Doc2>
+  <Doc3 NumberOfViews="1" URL="file:/home/desonia/panstarrs/psLib/src/fileUtils/psFits.c" >
+   <View0 line="1471" Type="Source" />
+  </Doc3>
+  <Doc4 NumberOfViews="1" URL="file:/home/desonia/panstarrs/psLib/src/sysUtils/psMemory.h" >
+   <View0 line="397" Type="Source" />
+  </Doc4>
+  <Doc5 NumberOfViews="1" URL="file:/home/desonia/panstarrs/psLib/src/collections/psArray.c" >
+   <View0 line="0" Type="Source" />
+  </Doc5>
+ </DocsAndViews>
  <pluginList>
   <kdevbookmarks>
Index: /trunk/psLib/src/collections/psBitSet.c
===================================================================
--- /trunk/psLib/src/collections/psBitSet.c	(revision 3297)
+++ /trunk/psLib/src/collections/psBitSet.c	(revision 3298)
@@ -11,6 +11,6 @@
  *  @author Robert DeSonia, MHPCC
  *
- *  @version $Revision: 1.22 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-02-17 19:26:23 $
+ *  @version $Revision: 1.23 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-02-22 19:25:52 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -186,13 +186,4 @@
         return NULL;
     }
-
-    // make operator all caps
-    psS32 tempStrLen = strlen(operator);
-    char* tempStr = psAlloc(tempStrLen+1);
-
-    for (psS32 lcv=0;lcv<tempStrLen;lcv++) {
-        tempStr[lcv] = (char)toupper(operator[lcv]);
-    }
-    tempStr[tempStrLen] = '\0';
 
     // parse the operator
@@ -206,5 +197,4 @@
         op = NOT_OP;
     } else {
-        psFree(tempStr);
         psFree(outBitSet);
         psError(PS_ERR_BAD_PARAMETER_VALUE, true,
@@ -213,5 +203,4 @@
         return NULL;
     }
-    psFree(tempStr);
 
     if (op != NOT_OP) {
Index: /trunk/psLib/src/dataIO/psFits.c
===================================================================
--- /trunk/psLib/src/dataIO/psFits.c	(revision 3297)
+++ /trunk/psLib/src/dataIO/psFits.c	(revision 3298)
@@ -7,6 +7,6 @@
  *  @author Robert DeSonia, MHPCC
  *
- *  @version $Revision: 1.18 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-02-17 19:26:24 $
+ *  @version $Revision: 1.19 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-02-22 19:25:52 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -1496,5 +1496,5 @@
                     }
                     if (! found) {
-                        psArrayAdd(columns, columns->nalloc, psMemIncrRefCounter(item));
+                        psArrayAdd(columns, columns->nalloc, item);
                     }
                 }
Index: /trunk/psLib/src/fileUtils/psFits.c
===================================================================
--- /trunk/psLib/src/fileUtils/psFits.c	(revision 3297)
+++ /trunk/psLib/src/fileUtils/psFits.c	(revision 3298)
@@ -7,6 +7,6 @@
  *  @author Robert DeSonia, MHPCC
  *
- *  @version $Revision: 1.18 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-02-17 19:26:24 $
+ *  @version $Revision: 1.19 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-02-22 19:25:52 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -1496,5 +1496,5 @@
                     }
                     if (! found) {
-                        psArrayAdd(columns, columns->nalloc, psMemIncrRefCounter(item));
+                        psArrayAdd(columns, columns->nalloc, item);
                     }
                 }
Index: /trunk/psLib/src/fits/psFits.c
===================================================================
--- /trunk/psLib/src/fits/psFits.c	(revision 3297)
+++ /trunk/psLib/src/fits/psFits.c	(revision 3298)
@@ -7,6 +7,6 @@
  *  @author Robert DeSonia, MHPCC
  *
- *  @version $Revision: 1.18 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-02-17 19:26:24 $
+ *  @version $Revision: 1.19 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-02-22 19:25:52 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -1496,5 +1496,5 @@
                     }
                     if (! found) {
-                        psArrayAdd(columns, columns->nalloc, psMemIncrRefCounter(item));
+                        psArrayAdd(columns, columns->nalloc, item);
                     }
                 }
Index: /trunk/psLib/src/types/psBitSet.c
===================================================================
--- /trunk/psLib/src/types/psBitSet.c	(revision 3297)
+++ /trunk/psLib/src/types/psBitSet.c	(revision 3298)
@@ -11,6 +11,6 @@
  *  @author Robert DeSonia, MHPCC
  *
- *  @version $Revision: 1.22 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-02-17 19:26:23 $
+ *  @version $Revision: 1.23 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-02-22 19:25:52 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -186,13 +186,4 @@
         return NULL;
     }
-
-    // make operator all caps
-    psS32 tempStrLen = strlen(operator);
-    char* tempStr = psAlloc(tempStrLen+1);
-
-    for (psS32 lcv=0;lcv<tempStrLen;lcv++) {
-        tempStr[lcv] = (char)toupper(operator[lcv]);
-    }
-    tempStr[tempStrLen] = '\0';
 
     // parse the operator
@@ -206,5 +197,4 @@
         op = NOT_OP;
     } else {
-        psFree(tempStr);
         psFree(outBitSet);
         psError(PS_ERR_BAD_PARAMETER_VALUE, true,
@@ -213,5 +203,4 @@
         return NULL;
     }
-    psFree(tempStr);
 
     if (op != NOT_OP) {
Index: /trunk/psLib/test/dataIO/Makefile.am
===================================================================
--- /trunk/psLib/test/dataIO/Makefile.am	(revision 3297)
+++ /trunk/psLib/test/dataIO/Makefile.am	(revision 3298)
@@ -22,4 +22,6 @@
 check_PROGRAMS = $(TESTS)
 
+check_DATA = table10.dat table2.dat table3.dat tableF32.dat tableS32.dat tableU8.dat
+
 TESTS_ENVIRONMENT = perl $(top_srcdir)/test/runTest -verified=$(srcdir)/verified 
 tests: $(TESTS)
@@ -27,2 +29,6 @@
 tst_psLookupTable_01_SOURCES =  tst_psLookupTable_01.c
 tst_psFits_SOURCES =  tst_psFits.c
+
+%.dat: verified/%.dat
+	cp $? $@
+
Index: unk/psLib/test/dataIO/table10.dat
===================================================================
--- /trunk/psLib/test/dataIO/table10.dat	(revision 3297)
+++ 	(revision )
@@ -1,14 +1,0 @@
-#  Table with valid types and index-values
-#
-psU8     psU16    psU32     psU64    psS8    psS16    psS32    psS64    psF32   psF64
-6        14       28        256      -6      -14      -28      -256     1.50    13.98
-10       22       44        4096     -10     -22      -44      -4096    4.50    27.30
-1        4        8         16       -1      -4       -8       -16      -2.25   -2.67
-3        8        16        32       -3      -8       -16      -32      -0.75   3.99
-9        20       40        2048     -9      -20      -40      -2048    3.75    23.97
-2        6        12        24       -2      -6       -12      -24      -1.5    0.66
-7        16       32        512      -7      -16      -32      -512     2.250   17.31
-4        10       20        64       -4      -10      -20      -64      0.00    7.32
-5        12       24        128      -5      -12      -24      -128     0.75    10.65
-8        18       36        1024     -8      -18      -36      -1024    3.00    20.64
-#
Index: unk/psLib/test/dataIO/table2.dat
===================================================================
--- /trunk/psLib/test/dataIO/table2.dat	(revision 3297)
+++ 	(revision )
@@ -1,8 +1,0 @@
-# Table with invalid type in the type row but with valid index-values
-#
-psU8     psU16    psU32     psU64    psXS8    psS16    psS32    psS64    psF32   psF64
-0        2        4         8        0       -2       -4       -8       -0.5    -1.5
-1        4        8         16       -1      -4       -8       -16      0.0     -1.0
-2        6        12        24       -2      -6       -12      -24      0.5     -0.25
-3        8        16        32       -3      -8       -16      -32      0.75     1.75
-#
Index: unk/psLib/test/dataIO/table3.dat
===================================================================
--- /trunk/psLib/test/dataIO/table3.dat	(revision 3297)
+++ 	(revision )
@@ -1,8 +1,0 @@
-#  Table with valid types and index-values
-#
-psU8     psU16    psU32     psU64    psS8    psS16    psS32    psS64    psF32   psF64
-0        2        4         8        0       -2       -4       -8       -0.5    -1.5
-1)       4=       8;        1(6      -1_     -4$      -8@      -16{     0.0[    -1.0]
-2        6        12        24       -2      -6       -12      -24      0.5     -0.25
-3        8        16        32       -3      -8       -16      -32      0.75     1.75
-#
Index: unk/psLib/test/dataIO/tableF32.dat
===================================================================
--- /trunk/psLib/test/dataIO/tableF32.dat	(revision 3297)
+++ 	(revision )
@@ -1,8 +1,0 @@
-#  Table with valid types and index-values
-#
-psF32     psU16    psU32     psU64    psS8    psS16    psS32    psS64    psU8   psF64
--10.05    2        4         8        0       -2       -4       -8       5      -1.5
-1.009     4        8         16       -1      -4       -8       -16      0      -1.0
-23.45     6        12        24       -2      -6       -12      -24      5      -0.25
-3500.67   8        16        32       -3      -8       -16      -32      75     1.75
-#
Index: unk/psLib/test/dataIO/tableS32.dat
===================================================================
--- /trunk/psLib/test/dataIO/tableS32.dat	(revision 3297)
+++ 	(revision )
@@ -1,8 +1,0 @@
-#  Table with valid types and index-values
-#
-psS32    psU16    psU32     psU64    psS8    psS16    psU8     psS64    psF32   psF64
--1       2        4         8        0       -2       99       -8       -0.5    -1.5
-11       4        8         16       -1      -4       100       -16      0.0     -1.0
-22       6        12        24       -2      -6       101      -24      0.5     -0.25
-33       8        16        32       -3      -8       102      -32      0.75     1.75
-#
Index: unk/psLib/test/dataIO/tableU8.dat
===================================================================
--- /trunk/psLib/test/dataIO/tableU8.dat	(revision 3297)
+++ 	(revision )
@@ -1,8 +1,0 @@
-#  Table with valid types and index-values
-#
-psU8     psU16    psU32     psU64    psS8    psS16    psS32    psS64    psF32   psF64
-0        2        4         8        0       -2       -4       -8       -0.5    -1.5
-1        4        8         16       -1      -4       -8       -16      0.0     -1.0
-2        6        12        24       -2      -6       -12      -24      0.5     -0.25
-3        8        16        32       -3      -8       -16      -32      0.75     1.75
-#
Index: /trunk/psLib/test/dataIO/tst_psFits.c
===================================================================
--- /trunk/psLib/test/dataIO/tst_psFits.c	(revision 3297)
+++ /trunk/psLib/test/dataIO/tst_psFits.c	(revision 3298)
@@ -6,6 +6,6 @@
 *  @author Robert DeSonia, MHPCC
 *
-*  @version $Revision: 1.18 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2005-02-18 22:17:20 $
+*  @version $Revision: 1.19 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2005-02-22 19:25:53 $
 *
 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -161,26 +161,16 @@
         header = psMetadataAlloc();
 
-        int id = psMemGetId();
         psMetadataAdd(header,PS_LIST_TAIL, "MYINT",
                       PS_TYPE_S32, PS_META_PRIMITIVE,
                       "psS32 Item", (psS32)row);
 
-        fprintf(stderr,"ref=%d(%d), ",(int)psMemGetRefCounter(header->list->tail->data), id);
-
-        id = psMemGetId();
         psMetadataAdd(header,PS_LIST_TAIL, "MYFLT",
                       PS_TYPE_F32, PS_META_PRIMITIVE,
                       "psF32 Item", (float)(1.0f/(float)(1+row)));
 
-        fprintf(stderr,"%d(%d), ",(int)psMemGetRefCounter(header->list->tail->data),id);
-
-        id = psMemGetId();
         psMetadataAdd(header,PS_LIST_TAIL, "MYDBL",
                       PS_TYPE_F64, PS_META_PRIMITIVE,
                       "psF64 Item", (double)(1.0/(double)(1+row)));
 
-        fprintf(stderr,"%d(%d), ",(int)psMemGetRefCounter(header->list->tail->data),id);
-
-        id = psMemGetId();
         psMetadataAdd(header,PS_LIST_TAIL, "MYBOOL",
                       PS_TYPE_BOOL, PS_META_PRIMITIVE,
@@ -188,6 +178,4 @@
                       (row%2 == 0));
 
-        fprintf(stderr,"%d(%d)\n",(int)psMemGetRefCounter(header->list->tail->data),id);
-
         table->data[row] = header;
     }
@@ -198,7 +186,5 @@
     psFree(fitsFile);
 
-    psMemCheckLeaks(15,NULL,stderr,false);
-
-    return true;
+    return ! psMemCheckLeaks(15,NULL,stderr,false);
 }
 
Index: /trunk/psLib/test/dataIO/verified/table10.dat
===================================================================
--- /trunk/psLib/test/dataIO/verified/table10.dat	(revision 3298)
+++ /trunk/psLib/test/dataIO/verified/table10.dat	(revision 3298)
@@ -0,0 +1,14 @@
+#  Table with valid types and index-values
+#
+psU8     psU16    psU32     psU64    psS8    psS16    psS32    psS64    psF32   psF64
+6        14       28        256      -6      -14      -28      -256     1.50    13.98
+10       22       44        4096     -10     -22      -44      -4096    4.50    27.30
+1        4        8         16       -1      -4       -8       -16      -2.25   -2.67
+3        8        16        32       -3      -8       -16      -32      -0.75   3.99
+9        20       40        2048     -9      -20      -40      -2048    3.75    23.97
+2        6        12        24       -2      -6       -12      -24      -1.5    0.66
+7        16       32        512      -7      -16      -32      -512     2.250   17.31
+4        10       20        64       -4      -10      -20      -64      0.00    7.32
+5        12       24        128      -5      -12      -24      -128     0.75    10.65
+8        18       36        1024     -8      -18      -36      -1024    3.00    20.64
+#
Index: /trunk/psLib/test/dataIO/verified/table2.dat
===================================================================
--- /trunk/psLib/test/dataIO/verified/table2.dat	(revision 3298)
+++ /trunk/psLib/test/dataIO/verified/table2.dat	(revision 3298)
@@ -0,0 +1,8 @@
+# Table with invalid type in the type row but with valid index-values
+#
+psU8     psU16    psU32     psU64    psXS8    psS16    psS32    psS64    psF32   psF64
+0        2        4         8        0       -2       -4       -8       -0.5    -1.5
+1        4        8         16       -1      -4       -8       -16      0.0     -1.0
+2        6        12        24       -2      -6       -12      -24      0.5     -0.25
+3        8        16        32       -3      -8       -16      -32      0.75     1.75
+#
Index: /trunk/psLib/test/dataIO/verified/table3.dat
===================================================================
--- /trunk/psLib/test/dataIO/verified/table3.dat	(revision 3298)
+++ /trunk/psLib/test/dataIO/verified/table3.dat	(revision 3298)
@@ -0,0 +1,8 @@
+#  Table with valid types and index-values
+#
+psU8     psU16    psU32     psU64    psS8    psS16    psS32    psS64    psF32   psF64
+0        2        4         8        0       -2       -4       -8       -0.5    -1.5
+1)       4=       8;        1(6      -1_     -4$      -8@      -16{     0.0[    -1.0]
+2        6        12        24       -2      -6       -12      -24      0.5     -0.25
+3        8        16        32       -3      -8       -16      -32      0.75     1.75
+#
Index: /trunk/psLib/test/dataIO/verified/tableF32.dat
===================================================================
--- /trunk/psLib/test/dataIO/verified/tableF32.dat	(revision 3298)
+++ /trunk/psLib/test/dataIO/verified/tableF32.dat	(revision 3298)
@@ -0,0 +1,8 @@
+#  Table with valid types and index-values
+#
+psF32     psU16    psU32     psU64    psS8    psS16    psS32    psS64    psU8   psF64
+-10.05    2        4         8        0       -2       -4       -8       5      -1.5
+1.009     4        8         16       -1      -4       -8       -16      0      -1.0
+23.45     6        12        24       -2      -6       -12      -24      5      -0.25
+3500.67   8        16        32       -3      -8       -16      -32      75     1.75
+#
Index: /trunk/psLib/test/dataIO/verified/tableS32.dat
===================================================================
--- /trunk/psLib/test/dataIO/verified/tableS32.dat	(revision 3298)
+++ /trunk/psLib/test/dataIO/verified/tableS32.dat	(revision 3298)
@@ -0,0 +1,8 @@
+#  Table with valid types and index-values
+#
+psS32    psU16    psU32     psU64    psS8    psS16    psU8     psS64    psF32   psF64
+-1       2        4         8        0       -2       99       -8       -0.5    -1.5
+11       4        8         16       -1      -4       100       -16      0.0     -1.0
+22       6        12        24       -2      -6       101      -24      0.5     -0.25
+33       8        16        32       -3      -8       102      -32      0.75     1.75
+#
Index: /trunk/psLib/test/dataIO/verified/tableU8.dat
===================================================================
--- /trunk/psLib/test/dataIO/verified/tableU8.dat	(revision 3298)
+++ /trunk/psLib/test/dataIO/verified/tableU8.dat	(revision 3298)
@@ -0,0 +1,8 @@
+#  Table with valid types and index-values
+#
+psU8     psU16    psU32     psU64    psS8    psS16    psS32    psS64    psF32   psF64
+0        2        4         8        0       -2       -4       -8       -0.5    -1.5
+1        4        8         16       -1      -4       -8       -16      0.0     -1.0
+2        6        12        24       -2      -6       -12      -24      0.5     -0.25
+3        8        16        32       -3      -8       -16      -32      0.75     1.75
+#
Index: /trunk/psLib/test/fileUtils/Makefile.am
===================================================================
--- /trunk/psLib/test/fileUtils/Makefile.am	(revision 3297)
+++ /trunk/psLib/test/fileUtils/Makefile.am	(revision 3298)
@@ -22,4 +22,6 @@
 check_PROGRAMS = $(TESTS)
 
+check_DATA = table10.dat table2.dat table3.dat tableF32.dat tableS32.dat tableU8.dat
+
 TESTS_ENVIRONMENT = perl $(top_srcdir)/test/runTest -verified=$(srcdir)/verified 
 tests: $(TESTS)
@@ -27,2 +29,6 @@
 tst_psLookupTable_01_SOURCES =  tst_psLookupTable_01.c
 tst_psFits_SOURCES =  tst_psFits.c
+
+%.dat: verified/%.dat
+	cp $? $@
+
Index: unk/psLib/test/fileUtils/table10.dat
===================================================================
--- /trunk/psLib/test/fileUtils/table10.dat	(revision 3297)
+++ 	(revision )
@@ -1,14 +1,0 @@
-#  Table with valid types and index-values
-#
-psU8     psU16    psU32     psU64    psS8    psS16    psS32    psS64    psF32   psF64
-6        14       28        256      -6      -14      -28      -256     1.50    13.98
-10       22       44        4096     -10     -22      -44      -4096    4.50    27.30
-1        4        8         16       -1      -4       -8       -16      -2.25   -2.67
-3        8        16        32       -3      -8       -16      -32      -0.75   3.99
-9        20       40        2048     -9      -20      -40      -2048    3.75    23.97
-2        6        12        24       -2      -6       -12      -24      -1.5    0.66
-7        16       32        512      -7      -16      -32      -512     2.250   17.31
-4        10       20        64       -4      -10      -20      -64      0.00    7.32
-5        12       24        128      -5      -12      -24      -128     0.75    10.65
-8        18       36        1024     -8      -18      -36      -1024    3.00    20.64
-#
Index: unk/psLib/test/fileUtils/table2.dat
===================================================================
--- /trunk/psLib/test/fileUtils/table2.dat	(revision 3297)
+++ 	(revision )
@@ -1,8 +1,0 @@
-# Table with invalid type in the type row but with valid index-values
-#
-psU8     psU16    psU32     psU64    psXS8    psS16    psS32    psS64    psF32   psF64
-0        2        4         8        0       -2       -4       -8       -0.5    -1.5
-1        4        8         16       -1      -4       -8       -16      0.0     -1.0
-2        6        12        24       -2      -6       -12      -24      0.5     -0.25
-3        8        16        32       -3      -8       -16      -32      0.75     1.75
-#
Index: unk/psLib/test/fileUtils/table3.dat
===================================================================
--- /trunk/psLib/test/fileUtils/table3.dat	(revision 3297)
+++ 	(revision )
@@ -1,8 +1,0 @@
-#  Table with valid types and index-values
-#
-psU8     psU16    psU32     psU64    psS8    psS16    psS32    psS64    psF32   psF64
-0        2        4         8        0       -2       -4       -8       -0.5    -1.5
-1)       4=       8;        1(6      -1_     -4$      -8@      -16{     0.0[    -1.0]
-2        6        12        24       -2      -6       -12      -24      0.5     -0.25
-3        8        16        32       -3      -8       -16      -32      0.75     1.75
-#
Index: unk/psLib/test/fileUtils/tableF32.dat
===================================================================
--- /trunk/psLib/test/fileUtils/tableF32.dat	(revision 3297)
+++ 	(revision )
@@ -1,8 +1,0 @@
-#  Table with valid types and index-values
-#
-psF32     psU16    psU32     psU64    psS8    psS16    psS32    psS64    psU8   psF64
--10.05    2        4         8        0       -2       -4       -8       5      -1.5
-1.009     4        8         16       -1      -4       -8       -16      0      -1.0
-23.45     6        12        24       -2      -6       -12      -24      5      -0.25
-3500.67   8        16        32       -3      -8       -16      -32      75     1.75
-#
Index: unk/psLib/test/fileUtils/tableS32.dat
===================================================================
--- /trunk/psLib/test/fileUtils/tableS32.dat	(revision 3297)
+++ 	(revision )
@@ -1,8 +1,0 @@
-#  Table with valid types and index-values
-#
-psS32    psU16    psU32     psU64    psS8    psS16    psU8     psS64    psF32   psF64
--1       2        4         8        0       -2       99       -8       -0.5    -1.5
-11       4        8         16       -1      -4       100       -16      0.0     -1.0
-22       6        12        24       -2      -6       101      -24      0.5     -0.25
-33       8        16        32       -3      -8       102      -32      0.75     1.75
-#
Index: unk/psLib/test/fileUtils/tableU8.dat
===================================================================
--- /trunk/psLib/test/fileUtils/tableU8.dat	(revision 3297)
+++ 	(revision )
@@ -1,8 +1,0 @@
-#  Table with valid types and index-values
-#
-psU8     psU16    psU32     psU64    psS8    psS16    psS32    psS64    psF32   psF64
-0        2        4         8        0       -2       -4       -8       -0.5    -1.5
-1        4        8         16       -1      -4       -8       -16      0.0     -1.0
-2        6        12        24       -2      -6       -12      -24      0.5     -0.25
-3        8        16        32       -3      -8       -16      -32      0.75     1.75
-#
Index: /trunk/psLib/test/fileUtils/tst_psFits.c
===================================================================
--- /trunk/psLib/test/fileUtils/tst_psFits.c	(revision 3297)
+++ /trunk/psLib/test/fileUtils/tst_psFits.c	(revision 3298)
@@ -6,6 +6,6 @@
 *  @author Robert DeSonia, MHPCC
 *
-*  @version $Revision: 1.18 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2005-02-18 22:17:20 $
+*  @version $Revision: 1.19 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2005-02-22 19:25:53 $
 *
 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -161,26 +161,16 @@
         header = psMetadataAlloc();
 
-        int id = psMemGetId();
         psMetadataAdd(header,PS_LIST_TAIL, "MYINT",
                       PS_TYPE_S32, PS_META_PRIMITIVE,
                       "psS32 Item", (psS32)row);
 
-        fprintf(stderr,"ref=%d(%d), ",(int)psMemGetRefCounter(header->list->tail->data), id);
-
-        id = psMemGetId();
         psMetadataAdd(header,PS_LIST_TAIL, "MYFLT",
                       PS_TYPE_F32, PS_META_PRIMITIVE,
                       "psF32 Item", (float)(1.0f/(float)(1+row)));
 
-        fprintf(stderr,"%d(%d), ",(int)psMemGetRefCounter(header->list->tail->data),id);
-
-        id = psMemGetId();
         psMetadataAdd(header,PS_LIST_TAIL, "MYDBL",
                       PS_TYPE_F64, PS_META_PRIMITIVE,
                       "psF64 Item", (double)(1.0/(double)(1+row)));
 
-        fprintf(stderr,"%d(%d), ",(int)psMemGetRefCounter(header->list->tail->data),id);
-
-        id = psMemGetId();
         psMetadataAdd(header,PS_LIST_TAIL, "MYBOOL",
                       PS_TYPE_BOOL, PS_META_PRIMITIVE,
@@ -188,6 +178,4 @@
                       (row%2 == 0));
 
-        fprintf(stderr,"%d(%d)\n",(int)psMemGetRefCounter(header->list->tail->data),id);
-
         table->data[row] = header;
     }
@@ -198,7 +186,5 @@
     psFree(fitsFile);
 
-    psMemCheckLeaks(15,NULL,stderr,false);
-
-    return true;
+    return ! psMemCheckLeaks(15,NULL,stderr,false);
 }
 
Index: /trunk/psLib/test/fileUtils/verified/table10.dat
===================================================================
--- /trunk/psLib/test/fileUtils/verified/table10.dat	(revision 3298)
+++ /trunk/psLib/test/fileUtils/verified/table10.dat	(revision 3298)
@@ -0,0 +1,14 @@
+#  Table with valid types and index-values
+#
+psU8     psU16    psU32     psU64    psS8    psS16    psS32    psS64    psF32   psF64
+6        14       28        256      -6      -14      -28      -256     1.50    13.98
+10       22       44        4096     -10     -22      -44      -4096    4.50    27.30
+1        4        8         16       -1      -4       -8       -16      -2.25   -2.67
+3        8        16        32       -3      -8       -16      -32      -0.75   3.99
+9        20       40        2048     -9      -20      -40      -2048    3.75    23.97
+2        6        12        24       -2      -6       -12      -24      -1.5    0.66
+7        16       32        512      -7      -16      -32      -512     2.250   17.31
+4        10       20        64       -4      -10      -20      -64      0.00    7.32
+5        12       24        128      -5      -12      -24      -128     0.75    10.65
+8        18       36        1024     -8      -18      -36      -1024    3.00    20.64
+#
Index: /trunk/psLib/test/fileUtils/verified/table2.dat
===================================================================
--- /trunk/psLib/test/fileUtils/verified/table2.dat	(revision 3298)
+++ /trunk/psLib/test/fileUtils/verified/table2.dat	(revision 3298)
@@ -0,0 +1,8 @@
+# Table with invalid type in the type row but with valid index-values
+#
+psU8     psU16    psU32     psU64    psXS8    psS16    psS32    psS64    psF32   psF64
+0        2        4         8        0       -2       -4       -8       -0.5    -1.5
+1        4        8         16       -1      -4       -8       -16      0.0     -1.0
+2        6        12        24       -2      -6       -12      -24      0.5     -0.25
+3        8        16        32       -3      -8       -16      -32      0.75     1.75
+#
Index: /trunk/psLib/test/fileUtils/verified/table3.dat
===================================================================
--- /trunk/psLib/test/fileUtils/verified/table3.dat	(revision 3298)
+++ /trunk/psLib/test/fileUtils/verified/table3.dat	(revision 3298)
@@ -0,0 +1,8 @@
+#  Table with valid types and index-values
+#
+psU8     psU16    psU32     psU64    psS8    psS16    psS32    psS64    psF32   psF64
+0        2        4         8        0       -2       -4       -8       -0.5    -1.5
+1)       4=       8;        1(6      -1_     -4$      -8@      -16{     0.0[    -1.0]
+2        6        12        24       -2      -6       -12      -24      0.5     -0.25
+3        8        16        32       -3      -8       -16      -32      0.75     1.75
+#
Index: /trunk/psLib/test/fileUtils/verified/tableF32.dat
===================================================================
--- /trunk/psLib/test/fileUtils/verified/tableF32.dat	(revision 3298)
+++ /trunk/psLib/test/fileUtils/verified/tableF32.dat	(revision 3298)
@@ -0,0 +1,8 @@
+#  Table with valid types and index-values
+#
+psF32     psU16    psU32     psU64    psS8    psS16    psS32    psS64    psU8   psF64
+-10.05    2        4         8        0       -2       -4       -8       5      -1.5
+1.009     4        8         16       -1      -4       -8       -16      0      -1.0
+23.45     6        12        24       -2      -6       -12      -24      5      -0.25
+3500.67   8        16        32       -3      -8       -16      -32      75     1.75
+#
Index: /trunk/psLib/test/fileUtils/verified/tableS32.dat
===================================================================
--- /trunk/psLib/test/fileUtils/verified/tableS32.dat	(revision 3298)
+++ /trunk/psLib/test/fileUtils/verified/tableS32.dat	(revision 3298)
@@ -0,0 +1,8 @@
+#  Table with valid types and index-values
+#
+psS32    psU16    psU32     psU64    psS8    psS16    psU8     psS64    psF32   psF64
+-1       2        4         8        0       -2       99       -8       -0.5    -1.5
+11       4        8         16       -1      -4       100       -16      0.0     -1.0
+22       6        12        24       -2      -6       101      -24      0.5     -0.25
+33       8        16        32       -3      -8       102      -32      0.75     1.75
+#
Index: /trunk/psLib/test/fileUtils/verified/tableU8.dat
===================================================================
--- /trunk/psLib/test/fileUtils/verified/tableU8.dat	(revision 3298)
+++ /trunk/psLib/test/fileUtils/verified/tableU8.dat	(revision 3298)
@@ -0,0 +1,8 @@
+#  Table with valid types and index-values
+#
+psU8     psU16    psU32     psU64    psS8    psS16    psS32    psS64    psF32   psF64
+0        2        4         8        0       -2       -4       -8       -0.5    -1.5
+1        4        8         16       -1      -4       -8       -16      0.0     -1.0
+2        6        12        24       -2      -6       -12      -24      0.5     -0.25
+3        8        16        32       -3      -8       -16      -32      0.75     1.75
+#
Index: /trunk/psLib/test/image/tst_psImageManip.c
===================================================================
--- /trunk/psLib/test/image/tst_psImageManip.c	(revision 3297)
+++ /trunk/psLib/test/image/tst_psImageManip.c	(revision 3298)
@@ -6,6 +6,6 @@
  *  @author Robert DeSonia, MHPCC
  *
- *  @version $Revision: 1.38 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-02-17 19:26:25 $
+ *  @version $Revision: 1.39 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-02-22 19:25:53 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -1356,8 +1356,8 @@
 
         // now, let's compare this with the verified file
-        fTruth = psImageReadSection(fTruth,0,0,0,0,0,NULL,index,"fOut.fits");
-        sTruth = psImageReadSection(sTruth,0,0,0,0,0,NULL,index,"sOut.fits");
-        fBiTruth = psImageReadSection(fBiTruth,0,0,0,0,0,NULL,index,"fBiOut.fits");
-        sBiTruth = psImageReadSection(sBiTruth,0,0,0,0,0,NULL,index,"sBiOut.fits");
+        fTruth = psImageReadSection(fTruth,0,0,0,0,0,NULL,index,"temp/fOut.fits");
+        sTruth = psImageReadSection(sTruth,0,0,0,0,0,NULL,index,"temp/sOut.fits");
+        fBiTruth = psImageReadSection(fBiTruth,0,0,0,0,0,NULL,index,"temp/fBiOut.fits");
+        sBiTruth = psImageReadSection(sBiTruth,0,0,0,0,0,NULL,index,"temp/sBiOut.fits");
         if (fTruth == NULL) {
             psError(PS_ERR_UNKNOWN, true,"verified psF32 image failed to be read (%d deg. rotation)",
