Index: /trunk/psLib/configure.ac
===================================================================
--- /trunk/psLib/configure.ac	(revision 3768)
+++ /trunk/psLib/configure.ac	(revision 3769)
@@ -1,3 +1,3 @@
-AC_INIT([pslib],[0.6],[http://www.pan-starrs.org/bugzilla])
+AC_INIT([pslib],[0.6.0],[http://www.pan-starrs.org/bugzilla])
 AC_CANONICAL_TARGET
 AM_CONFIG_HEADER(src/config.h)
@@ -42,8 +42,8 @@
 fi
 
-AC_LANG_PUSH(Fortran 77)
-AC_PROG_F77
+AC_LANG_PUSH(Fortran)
+AC_PROG_F77(gfortran g95 g90 g77 f95 f90 f77)
 AC_F77_WRAPPERS
-AC_LANG_POP(Fortran 77)
+AC_LANG_POP(Fortran)
 
 AC_PROG_INSTALL
@@ -55,4 +55,5 @@
 dnl Setup the info for psLib for pkg-config
 PSLIB_CFLAGS="-I${includedir}"
+PSLIB_LIBS="${FLIBS=}"
 
 dnl ----------------- MYSQL options --------------------
Index: /trunk/psLib/pslib-config.in
===================================================================
--- /trunk/psLib/pslib-config.in	(revision 3768)
+++ /trunk/psLib/pslib-config.in	(revision 3769)
@@ -57,5 +57,5 @@
 
     --cflags)
-       	echo @PSLIB_CFLAGS@ 
+       	echo @PSLIB_CFLAGS@
        	;;
 
@@ -63,5 +63,5 @@
        	echo -L@libdir@ -lpslib @PSLIB_LIBS@
        	;;
-    
+
     --deps)
        	echo @PSLIB_LIBS@
Index: /trunk/psLib/pslib.kdevses
===================================================================
--- /trunk/psLib/pslib.kdevses	(revision 3768)
+++ /trunk/psLib/pslib.kdevses	(revision 3769)
@@ -2,14 +2,20 @@
 <!DOCTYPE KDevPrjSession>
 <KDevPrjSession>
- <DocsAndViews NumberOfDocuments="3" >
-  <Doc0 NumberOfViews="1" URL="file:///home/desonia/panstarrs/psLib/src/image/psImageManip.h" >
-   <View0 line="22" Type="Source" />
+ <DocsAndViews NumberOfDocuments="5" >
+  <Doc0 NumberOfViews="1" URL="file:///home/desonia/panstarrs/psLib/src/collections/psVector.h" >
+   <View0 line="145" Type="Source" />
   </Doc0>
-  <Doc1 NumberOfViews="1" URL="file:///home/desonia/panstarrs/psLib/src/image/psImageManip.c" >
-   <View0 line="1173" Type="Source" />
+  <Doc1 NumberOfViews="1" URL="file:///home/desonia/panstarrs/psLib/src/collections/Makefile.am" >
+   <View0 line="16" Type="Source" />
   </Doc1>
-  <Doc2 NumberOfViews="1" URL="file:///home/desonia/panstarrs/psLib/src/image/psImage.h" >
-   <View0 line="159" Type="Source" />
+  <Doc2 NumberOfViews="1" URL="file:///home/desonia/panstarrs/psLib/src/image/Makefile.am" >
+   <View0 line="19" Type="Source" />
   </Doc2>
+  <Doc3 NumberOfViews="1" URL="file:///home/desonia/panstarrs/psLib/src/collections/psMetadata.c" >
+   <View0 line="196" Type="Source" />
+  </Doc3>
+  <Doc4 NumberOfViews="1" URL="file:///home/desonia/panstarrs/psLib/configure.ac" >
+   <View0 line="25" Type="Source" />
+  </Doc4>
  </DocsAndViews>
  <pluginList>
Index: /trunk/psLib/src/collections/psHash.c
===================================================================
--- /trunk/psLib/src/collections/psHash.c	(revision 3768)
+++ /trunk/psLib/src/collections/psHash.c	(revision 3769)
@@ -12,6 +12,6 @@
 *  @author Robert DeSonia, MHPCC
 *
-*  @version $Revision: 1.14 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2005-04-07 20:27:41 $
+*  @version $Revision: 1.15 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2005-04-26 19:53:30 $
 *
 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
Index: /trunk/psLib/src/collections/psMetadataIO.c
===================================================================
--- /trunk/psLib/src/collections/psMetadataIO.c	(revision 3768)
+++ /trunk/psLib/src/collections/psMetadataIO.c	(revision 3769)
@@ -9,6 +9,6 @@
 *  @author Ross Harman, MHPCC
 *
-*  @version $Revision: 1.24 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2005-04-06 01:12:58 $
+*  @version $Revision: 1.25 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2005-04-26 19:53:30 $
 *
 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -750,5 +750,5 @@
 
     // Copy XML strings to psStrings to avoid libxml2/psLib memory corruption problems
-    psTagName = psStringCopy(tagName);
+    psTagName = psStringCopy((const char*)tagName);
 
     // Metadata containter for housing element attributes used by other SAX events
@@ -774,6 +774,6 @@
 
                 // Copy XML strings to psStrings to avoid libxml2/psLib memory corruption problems
-                psAttName = psStringCopy(attName);
-                psAttValue = psStringCopy(attValue);
+                psAttName = psStringCopy((const char*)attName);
+                psAttValue = psStringCopy((const char*)attValue);
                 psHashAdd(htAtts, psAttName, psAttValue);
                 psFree(psAttName);
@@ -1082,5 +1082,5 @@
 
     // Copy XML strings to psStrings to avoid libxml2/psLib memory corruption problems
-    psEndTagName = psStringCopy(tagName);
+    psEndTagName = psStringCopy((const char*)tagName);
 
     // Compare start and end tag names
Index: /trunk/psLib/src/dataIO/psFits.c
===================================================================
--- /trunk/psLib/src/dataIO/psFits.c	(revision 3768)
+++ /trunk/psLib/src/dataIO/psFits.c	(revision 3769)
@@ -7,6 +7,6 @@
  *  @author Robert DeSonia, MHPCC
  *
- *  @version $Revision: 1.27 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-04-07 20:27:41 $
+ *  @version $Revision: 1.28 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-04-26 19:53:30 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -1596,5 +1596,5 @@
                                    1, // firstelem
                                    table->n, // nelements
-                                   col->data.S8,
+                                   (char*)col->data.S8,
                                    &status);
                 break;
Index: /trunk/psLib/src/dataManip/psFunctions.c
===================================================================
--- /trunk/psLib/src/dataManip/psFunctions.c	(revision 3768)
+++ /trunk/psLib/src/dataManip/psFunctions.c	(revision 3769)
@@ -7,6 +7,6 @@
  *  polynomials.  It also contains a Gaussian functions.
  *
- *  @version $Revision: 1.98 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-04-19 04:16:02 $
+ *  @version $Revision: 1.99 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-04-26 19:53:30 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -1959,5 +1959,5 @@
     PS_PTR_CHECK_NULL(x, -6);
     PS_PTR_CHECK_TYPE_EQUAL(x, bins, -3);
-    psS8* strType;
+    char* strType;
 
     switch (x->type.type) {
@@ -2069,5 +2069,5 @@
 
     } else {
-        psS8* strType;
+        char* strType;
         PS_TYPE_NAME(strType,x->type.type);
         psError(PS_ERR_BAD_PARAMETER_TYPE,
@@ -2163,5 +2163,5 @@
         }
     } else {
-        psS8* strType;
+        char* strType;
         PS_TYPE_NAME(strType,x->type.type);
         psError(PS_ERR_BAD_PARAMETER_TYPE,
Index: /trunk/psLib/src/dataManip/psStats.c
===================================================================
--- /trunk/psLib/src/dataManip/psStats.c	(revision 3768)
+++ /trunk/psLib/src/dataManip/psStats.c	(revision 3769)
@@ -9,6 +9,6 @@
  *  @author GLG, MHPCC
  *
- *  @version $Revision: 1.125 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-04-07 20:27:41 $
+ *  @version $Revision: 1.126 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-04-26 19:53:30 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -2184,5 +2184,5 @@
         // do nothing
     } else {
-        psS8* strType;
+        char* strType;
         PS_TYPE_NAME(strType, in->type.type);
         psError(PS_ERR_BAD_PARAMETER_TYPE, true,
Index: /trunk/psLib/src/fits/psFits.c
===================================================================
--- /trunk/psLib/src/fits/psFits.c	(revision 3768)
+++ /trunk/psLib/src/fits/psFits.c	(revision 3769)
@@ -7,6 +7,6 @@
  *  @author Robert DeSonia, MHPCC
  *
- *  @version $Revision: 1.27 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-04-07 20:27:41 $
+ *  @version $Revision: 1.28 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-04-26 19:53:30 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -1596,5 +1596,5 @@
                                    1, // firstelem
                                    table->n, // nelements
-                                   col->data.S8,
+                                   (char*)col->data.S8,
                                    &status);
                 break;
Index: /trunk/psLib/src/math/psPolynomial.c
===================================================================
--- /trunk/psLib/src/math/psPolynomial.c	(revision 3768)
+++ /trunk/psLib/src/math/psPolynomial.c	(revision 3769)
@@ -7,6 +7,6 @@
  *  polynomials.  It also contains a Gaussian functions.
  *
- *  @version $Revision: 1.98 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-04-19 04:16:02 $
+ *  @version $Revision: 1.99 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-04-26 19:53:30 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -1959,5 +1959,5 @@
     PS_PTR_CHECK_NULL(x, -6);
     PS_PTR_CHECK_TYPE_EQUAL(x, bins, -3);
-    psS8* strType;
+    char* strType;
 
     switch (x->type.type) {
@@ -2069,5 +2069,5 @@
 
     } else {
-        psS8* strType;
+        char* strType;
         PS_TYPE_NAME(strType,x->type.type);
         psError(PS_ERR_BAD_PARAMETER_TYPE,
@@ -2163,5 +2163,5 @@
         }
     } else {
-        psS8* strType;
+        char* strType;
         PS_TYPE_NAME(strType,x->type.type);
         psError(PS_ERR_BAD_PARAMETER_TYPE,
Index: /trunk/psLib/src/math/psSpline.c
===================================================================
--- /trunk/psLib/src/math/psSpline.c	(revision 3768)
+++ /trunk/psLib/src/math/psSpline.c	(revision 3769)
@@ -7,6 +7,6 @@
  *  polynomials.  It also contains a Gaussian functions.
  *
- *  @version $Revision: 1.98 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-04-19 04:16:02 $
+ *  @version $Revision: 1.99 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-04-26 19:53:30 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -1959,5 +1959,5 @@
     PS_PTR_CHECK_NULL(x, -6);
     PS_PTR_CHECK_TYPE_EQUAL(x, bins, -3);
-    psS8* strType;
+    char* strType;
 
     switch (x->type.type) {
@@ -2069,5 +2069,5 @@
 
     } else {
-        psS8* strType;
+        char* strType;
         PS_TYPE_NAME(strType,x->type.type);
         psError(PS_ERR_BAD_PARAMETER_TYPE,
@@ -2163,5 +2163,5 @@
         }
     } else {
-        psS8* strType;
+        char* strType;
         PS_TYPE_NAME(strType,x->type.type);
         psError(PS_ERR_BAD_PARAMETER_TYPE,
Index: /trunk/psLib/src/math/psStats.c
===================================================================
--- /trunk/psLib/src/math/psStats.c	(revision 3768)
+++ /trunk/psLib/src/math/psStats.c	(revision 3769)
@@ -9,6 +9,6 @@
  *  @author GLG, MHPCC
  *
- *  @version $Revision: 1.125 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-04-07 20:27:41 $
+ *  @version $Revision: 1.126 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-04-26 19:53:30 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -2184,5 +2184,5 @@
         // do nothing
     } else {
-        psS8* strType;
+        char* strType;
         PS_TYPE_NAME(strType, in->type.type);
         psError(PS_ERR_BAD_PARAMETER_TYPE, true,
Index: /trunk/psLib/src/psTest.c
===================================================================
--- /trunk/psLib/src/psTest.c	(revision 3768)
+++ /trunk/psLib/src/psTest.c	(revision 3769)
@@ -278,3 +278,4 @@
         fprintf( fp, "\n---> TESTPOINT FAILED (%s{%s} | %s)\n\n", packageName, testPointName, fileName);
     }
-}
+    fflush(fp);
+}
Index: /trunk/psLib/src/types/psHash.c
===================================================================
--- /trunk/psLib/src/types/psHash.c	(revision 3768)
+++ /trunk/psLib/src/types/psHash.c	(revision 3769)
@@ -12,6 +12,6 @@
 *  @author Robert DeSonia, MHPCC
 *
-*  @version $Revision: 1.14 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2005-04-07 20:27:41 $
+*  @version $Revision: 1.15 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2005-04-26 19:53:30 $
 *
 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
Index: /trunk/psLib/src/types/psMetadataConfig.c
===================================================================
--- /trunk/psLib/src/types/psMetadataConfig.c	(revision 3768)
+++ /trunk/psLib/src/types/psMetadataConfig.c	(revision 3769)
@@ -9,6 +9,6 @@
 *  @author Ross Harman, MHPCC
 *
-*  @version $Revision: 1.24 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2005-04-06 01:12:58 $
+*  @version $Revision: 1.25 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2005-04-26 19:53:30 $
 *
 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -750,5 +750,5 @@
 
     // Copy XML strings to psStrings to avoid libxml2/psLib memory corruption problems
-    psTagName = psStringCopy(tagName);
+    psTagName = psStringCopy((const char*)tagName);
 
     // Metadata containter for housing element attributes used by other SAX events
@@ -774,6 +774,6 @@
 
                 // Copy XML strings to psStrings to avoid libxml2/psLib memory corruption problems
-                psAttName = psStringCopy(attName);
-                psAttValue = psStringCopy(attValue);
+                psAttName = psStringCopy((const char*)attName);
+                psAttValue = psStringCopy((const char*)attValue);
                 psHashAdd(htAtts, psAttName, psAttValue);
                 psFree(psAttName);
@@ -1082,5 +1082,5 @@
 
     // Copy XML strings to psStrings to avoid libxml2/psLib memory corruption problems
-    psEndTagName = psStringCopy(tagName);
+    psEndTagName = psStringCopy((const char*)tagName);
 
     // Compare start and end tag names
Index: /trunk/psLib/src/xml/psXML.c
===================================================================
--- /trunk/psLib/src/xml/psXML.c	(revision 3768)
+++ /trunk/psLib/src/xml/psXML.c	(revision 3769)
@@ -9,6 +9,6 @@
 *  @author Ross Harman, MHPCC
 *
-*  @version $Revision: 1.24 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2005-04-06 01:12:58 $
+*  @version $Revision: 1.25 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2005-04-26 19:53:30 $
 *
 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -750,5 +750,5 @@
 
     // Copy XML strings to psStrings to avoid libxml2/psLib memory corruption problems
-    psTagName = psStringCopy(tagName);
+    psTagName = psStringCopy((const char*)tagName);
 
     // Metadata containter for housing element attributes used by other SAX events
@@ -774,6 +774,6 @@
 
                 // Copy XML strings to psStrings to avoid libxml2/psLib memory corruption problems
-                psAttName = psStringCopy(attName);
-                psAttValue = psStringCopy(attValue);
+                psAttName = psStringCopy((const char*)attName);
+                psAttValue = psStringCopy((const char*)attValue);
                 psHashAdd(htAtts, psAttName, psAttValue);
                 psFree(psAttName);
@@ -1082,5 +1082,5 @@
 
     // Copy XML strings to psStrings to avoid libxml2/psLib memory corruption problems
-    psEndTagName = psStringCopy(tagName);
+    psEndTagName = psStringCopy((const char*)tagName);
 
     // Compare start and end tag names
Index: /trunk/psLib/test/astronomy/tst_psAstrometry01.c
===================================================================
--- /trunk/psLib/test/astronomy/tst_psAstrometry01.c	(revision 3768)
+++ /trunk/psLib/test/astronomy/tst_psAstrometry01.c	(revision 3769)
@@ -5,6 +5,6 @@
 *  @author GLG, MHPCC
 *
-*  @version $Revision: 1.24 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2005-04-19 07:00:20 $
+*  @version $Revision: 1.25 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2005-04-26 19:53:30 $
 *
 * XXX: Must test
@@ -809,5 +809,5 @@
         //
         // We set an arbitrary linear transformation.
-        // 
+        //
         transInit->x->coeff[0][0] = 1.0;
         transInit->x->coeff[0][1] = 3.0;
@@ -993,4 +993,6 @@
     psFree(myRegion);
 
+    fflush(stdout);
+
     return(!testStatus);
 }
Index: /trunk/psLib/test/dataManip/verified/tst_psFunc00.stderr
===================================================================
--- /trunk/psLib/test/dataManip/verified/tst_psFunc00.stderr	(revision 3768)
+++ /trunk/psLib/test/dataManip/verified/tst_psFunc00.stderr	(revision 3769)
@@ -8,5 +8,5 @@
     Following should generate error msg for negative terms
 <DATE><TIME>|<HOST>|E|psPolynomial1DAlloc (FILE:LINENO)
-    Error: n is less than 0.
+    Error: n is 0 or less.
 
 ---> TESTPOINT PASSED (psPolynomialXD{psPolynomial1DAlloc} | tst_psFunc00.c)
@@ -21,9 +21,9 @@
     Following should generate error msg for negative terms
 <DATE><TIME>|<HOST>|E|psPolynomial2DAlloc (FILE:LINENO)
-    Error: nX is less than 0.
+    Error: nX is 0 or less.
 <DATE><TIME>|<HOST>|I|testPolynomial2DAlloc
     Following should generate error msg for negative terms
 <DATE><TIME>|<HOST>|E|psPolynomial2DAlloc (FILE:LINENO)
-    Error: nY is less than 0.
+    Error: nY is 0 or less.
 
 ---> TESTPOINT PASSED (psPolynomialXD{psPolynomial2DAlloc} | tst_psFunc00.c)
@@ -38,13 +38,13 @@
     Following should generate error msg for negative terms
 <DATE><TIME>|<HOST>|E|psPolynomial3DAlloc (FILE:LINENO)
-    Error: nX is less than 0.
+    Error: nX is 0 or less.
 <DATE><TIME>|<HOST>|I|testPolynomial3DAlloc
     Following should generate error msg for negative terms
 <DATE><TIME>|<HOST>|E|psPolynomial3DAlloc (FILE:LINENO)
-    Error: nY is less than 0.
+    Error: nY is 0 or less.
 <DATE><TIME>|<HOST>|I|testPolynomial3DAlloc
     Following should generate error msg for negative terms
 <DATE><TIME>|<HOST>|E|psPolynomial3DAlloc (FILE:LINENO)
-    Error: nZ is less than 0.
+    Error: nZ is 0 or less.
 
 ---> TESTPOINT PASSED (psPolynomialXD{psPolynomial3DAlloc} | tst_psFunc00.c)
@@ -59,17 +59,17 @@
     Following should generate error msg for negative terms
 <DATE><TIME>|<HOST>|E|psPolynomial4DAlloc (FILE:LINENO)
-    Error: nW is less than 0.
+    Error: nW is 0 or less.
 <DATE><TIME>|<HOST>|I|testPolynomial4DAlloc
     Following should generate error msg for negative terms
 <DATE><TIME>|<HOST>|E|psPolynomial4DAlloc (FILE:LINENO)
-    Error: nX is less than 0.
+    Error: nX is 0 or less.
 <DATE><TIME>|<HOST>|I|testPolynomial4DAlloc
     Following should generate error msg for negative terms
 <DATE><TIME>|<HOST>|E|psPolynomial4DAlloc (FILE:LINENO)
-    Error: nY is less than 0.
+    Error: nY is 0 or less.
 <DATE><TIME>|<HOST>|I|testPolynomial4DAlloc
     Following should generate error msg for negative terms
 <DATE><TIME>|<HOST>|E|psPolynomial4DAlloc (FILE:LINENO)
-    Error: nZ is less than 0.
+    Error: nZ is 0 or less.
 
 ---> TESTPOINT PASSED (psPolynomialXD{psPolynomial4DAlloc} | tst_psFunc00.c)
@@ -84,5 +84,5 @@
     Following should generate error msg for negative terms
 <DATE><TIME>|<HOST>|E|psDPolynomial1DAlloc (FILE:LINENO)
-    Error: n is less than 0.
+    Error: n is 0 or less.
 
 ---> TESTPOINT PASSED (psPolynomialXD{psDPolynomial1DAlloc} | tst_psFunc00.c)
@@ -97,9 +97,9 @@
     Following should generate error msg for negative terms
 <DATE><TIME>|<HOST>|E|psDPolynomial2DAlloc (FILE:LINENO)
-    Error: nX is less than 0.
+    Error: nX is 0 or less.
 <DATE><TIME>|<HOST>|I|testDPolynomial2DAlloc
     Following should generate error msg for negative terms
 <DATE><TIME>|<HOST>|E|psDPolynomial2DAlloc (FILE:LINENO)
-    Error: nY is less than 0.
+    Error: nY is 0 or less.
 
 ---> TESTPOINT PASSED (psPolynomialXD{psDPolynomial2DAlloc} | tst_psFunc00.c)
@@ -114,13 +114,13 @@
     Following should generate error msg for negative terms
 <DATE><TIME>|<HOST>|E|psDPolynomial3DAlloc (FILE:LINENO)
-    Error: nX is less than 0.
+    Error: nX is 0 or less.
 <DATE><TIME>|<HOST>|I|testDPolynomial3DAlloc
     Following should generate error msg for negative terms
 <DATE><TIME>|<HOST>|E|psDPolynomial3DAlloc (FILE:LINENO)
-    Error: nY is less than 0.
+    Error: nY is 0 or less.
 <DATE><TIME>|<HOST>|I|testDPolynomial3DAlloc
     Following should generate error msg for negative terms
 <DATE><TIME>|<HOST>|E|psDPolynomial3DAlloc (FILE:LINENO)
-    Error: nZ is less than 0.
+    Error: nZ is 0 or less.
 
 ---> TESTPOINT PASSED (psPolynomialXD{psDPolynomial3DAlloc} | tst_psFunc00.c)
@@ -135,17 +135,17 @@
     Following should generate error msg for negative terms
 <DATE><TIME>|<HOST>|E|psDPolynomial4DAlloc (FILE:LINENO)
-    Error: nW is less than 0.
+    Error: nW is 0 or less.
 <DATE><TIME>|<HOST>|I|testDPolynomial4DAlloc
     Following should generate error msg for negative terms
 <DATE><TIME>|<HOST>|E|psDPolynomial4DAlloc (FILE:LINENO)
-    Error: nX is less than 0.
+    Error: nX is 0 or less.
 <DATE><TIME>|<HOST>|I|testDPolynomial4DAlloc
     Following should generate error msg for negative terms
 <DATE><TIME>|<HOST>|E|psDPolynomial4DAlloc (FILE:LINENO)
-    Error: nY is less than 0.
+    Error: nY is 0 or less.
 <DATE><TIME>|<HOST>|I|testDPolynomial4DAlloc
     Following should generate error msg for negative terms
 <DATE><TIME>|<HOST>|E|psDPolynomial4DAlloc (FILE:LINENO)
-    Error: nZ is less than 0.
+    Error: nZ is 0 or less.
 
 ---> TESTPOINT PASSED (psPolynomialXD{psDPolynomial4DAlloc} | tst_psFunc00.c)
Index: /trunk/psLib/test/image/verified/tst_psImageManip.stderr
===================================================================
--- /trunk/psLib/test/image/verified/tst_psImageManip.stderr	(revision 3768)
+++ /trunk/psLib/test/image/verified/tst_psImageManip.stderr	(revision 3769)
@@ -86,5 +86,5 @@
     Following should be an error:
 <DATE><TIME>|<HOST>|E|psImageClipComplexRegion (FILE:LINENO)
-    Specified vmin value, -0-6.80565e+38i, is not the the range of input psImage's valid pixel values (psC32), i.e. [-3.40282e+38:3.40282e+38].
+    Specified vmin value, 0-6.80565e+38i, is not the the range of input psImage's valid pixel values (psC32), i.e. [-3.40282e+38:3.40282e+38].
 <DATE><TIME>|<HOST>|I|testImageClipComplexRegion
     Following should be an error:
@@ -102,5 +102,5 @@
     Following should be an error:
 <DATE><TIME>|<HOST>|E|psImageClipComplexRegion (FILE:LINENO)
-    Specified vmax value, -0-6.80565e+38i, is not the the range of input psImage's valid pixel values (psC32), i.e. [-3.40282e+38:3.40282e+38].
+    Specified vmax value, 0-6.80565e+38i, is not the the range of input psImage's valid pixel values (psC32), i.e. [-3.40282e+38:3.40282e+38].
 <DATE><TIME>|<HOST>|I|testImageClipComplexRegion
     Following should be an error:
Index: /trunk/psLib/test/psTest.c
===================================================================
--- /trunk/psLib/test/psTest.c	(revision 3768)
+++ /trunk/psLib/test/psTest.c	(revision 3769)
@@ -134,4 +134,6 @@
     }
 
+    fflush(stdout);
+    fflush(stderr);
     return success;
 }
Index: /trunk/psLib/test/runTest
===================================================================
--- /trunk/psLib/test/runTest	(revision 3768)
+++ /trunk/psLib/test/runTest	(revision 3769)
@@ -26,5 +26,5 @@
 #
 #  $Revison:  $  $Name: not supported by cvs2svn $
-#  $Date: 2005-04-09 00:04:57 $
+#  $Date: 2005-04-26 19:53:30 $
 #
 #  Copyright 2004 Maui High Performance Computering Center, University of Hawaii
@@ -39,11 +39,12 @@
 # Assign variables based on the presence of command line options to the script
 GetOptions(
-    "reset!"       => \$reset,
-    "resetStderr!" => \$resetStderr,
-    "resetStdout!" => \$resetStdout,
-    "verified=s"   => \$verifiedDir,
-    "help!"        => \$help,
-    "quiet!"       => \$quiet,
-    "printpassfail!"     => \$verbose
+    "reset!"         => \$reset,
+    "resetStderr!"   => \$resetStderr,
+    "resetStdout!"   => \$resetStdout,
+    "verified=s"     => \$verifiedDir,
+    "help!"          => \$help,
+    "quiet!"         => \$quiet,
+    "printpassfail!" => \$verbose,
+    "printdiff!"     => \$printdiff
 );
 
@@ -255,4 +256,5 @@
     exit(0);
 }
+
 exit($exitValue);
 
@@ -364,5 +366,5 @@
                 # Display message of the failure of difference to user
                 print STDERR "\tFailed - STDOUT differences\n";
-
+                print STDERR $diffstdout if $printdiff;
                 # Exit value to indicate STDOUT did not compare
                 $returnVal |= 8;
@@ -372,4 +374,5 @@
                 # Display message of the failure of difference to user
                 print STDERR "\tFailed - STDERR differences\n";
+                print STDERR $diffstdout if $printdiff;
 
                 # Exit value to indicate STDERR did not compare
