Index: /trunk/psLib/src/Makefile.Globals
===================================================================
--- /trunk/psLib/src/Makefile.Globals	(revision 1040)
+++ /trunk/psLib/src/Makefile.Globals	(revision 1041)
@@ -5,6 +5,6 @@
 ##  Assumptions:    Variable "prefix" already defined
 ##
-##  $Revision: 1.10 $  $Name: not supported by cvs2svn $
-##  $Date: 2004-06-12 01:33:16 $
+##  $Revision: 1.11 $  $Name: not supported by cvs2svn $
+##  $Date: 2004-06-15 02:45:42 $
 ##
 ##  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -46,5 +46,6 @@
 # Set initial value for LDFLAGS which will include all OS common flags for GCC and required libraries.
 
-LDFLAGS := -g2 -pipe -lcfitsio -lgsl -lgslcblas -lfftw3f
+EXTLIBS := -lcfitsio -lgsl -lgslcblas -lfftw3f
+LDFLAGS := -g2 -pipe $(EXTLIBS) 
 
 # Define or refine variables for the Linux OS
@@ -64,4 +65,5 @@
     CFLAGS += -Wno-long-double -DDARWIN
     CFLAGS_RELOC := $(CFLAGS)
+    LDFLAGS := $(LDFLAGS) -lmx
     LDFLAGS_SO := $(LDFLAGS) -bundle -flat_namespace -undefined suppress
     LDFLAGS_DLL := $(LDFLAGS) -dynamiclib
@@ -70,5 +72,5 @@
     DOCS =
     BUILD_DYNAMIC1 = libtool -dynamic
-    BUILD_DYNAMIC2 = -lm -lgcc -o
+    BUILD_DYNAMIC2 = -lm -lmx -lgcc $(EXTLIBS) -o
 endif
 
Index: /trunk/psLib/src/collections/psBitSet.c
===================================================================
--- /trunk/psLib/src/collections/psBitSet.c	(revision 1040)
+++ /trunk/psLib/src/collections/psBitSet.c	(revision 1041)
@@ -10,6 +10,6 @@
  *  @author Ross Harman, MHPCC
  *
- *  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-06-10 00:29:09 $
+ *  @version $Revision: 1.7 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2004-06-15 02:45:43 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -222,9 +222,11 @@
     int i = 0;
     int numBits = inBitSet->n*8;
-    char* outString = psAlloc((size_t)numBits);
+    char* outString = psAlloc((size_t)numBits+1);
     for(i=0; i<numBits; i++) {
         outString[numBits-i-1] = (psBitSetTest(inBitSet, i) == 1)?'1':'0';
     }
 
+    outString[numBits] = 0;
+
     return outString;
 }
Index: /trunk/psLib/src/sysUtils/psHash.d
===================================================================
--- /trunk/psLib/src/sysUtils/psHash.d	(revision 1040)
+++ /trunk/psLib/src/sysUtils/psHash.d	(revision 1041)
@@ -1,3 +1,3 @@
 psHash.o psHash.d : psHash.c psHash.h ../collections/psList.h \
   ../collections/psVector.h ../collections/psType.h \
-  ../sysUtils/psMemory.h psMemory.h psString.h psTrace.h psAbort.h
+  ../sysUtils/psMemory.h psString.h psTrace.h psAbort.h
Index: /trunk/psLib/src/types/psBitSet.c
===================================================================
--- /trunk/psLib/src/types/psBitSet.c	(revision 1040)
+++ /trunk/psLib/src/types/psBitSet.c	(revision 1041)
@@ -10,6 +10,6 @@
  *  @author Ross Harman, MHPCC
  *
- *  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-06-10 00:29:09 $
+ *  @version $Revision: 1.7 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2004-06-15 02:45:43 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -222,9 +222,11 @@
     int i = 0;
     int numBits = inBitSet->n*8;
-    char* outString = psAlloc((size_t)numBits);
+    char* outString = psAlloc((size_t)numBits+1);
     for(i=0; i<numBits; i++) {
         outString[numBits-i-1] = (psBitSetTest(inBitSet, i) == 1)?'1':'0';
     }
 
+    outString[numBits] = 0;
+
     return outString;
 }
Index: /trunk/psLib/test/Makefile
===================================================================
--- /trunk/psLib/test/Makefile	(revision 1040)
+++ /trunk/psLib/test/Makefile	(revision 1041)
@@ -3,6 +3,6 @@
 ##  Makefile:   test
 ##
-##  $Revision: 1.5 $  $Name: not supported by cvs2svn $
-##  $Date: 2004-06-14 19:38:06 $
+##  $Revision: 1.6 $  $Name: not supported by cvs2svn $
+##  $Date: 2004-06-15 02:45:43 $
 ##
 ##  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -47,5 +47,5 @@
 
 libpstest.$(DLL): $(SRC_OBJS)
-	$(CC) $(LDFLAGS_DLL) $(SRC_OBJS) -o $@  
+	$(CC) $(LDFLAGS_DLL) -L../lib -lpslib $(SRC_OBJS) -o $@  
 
 # Define PHONY target "install" which will install necessary files
Index: /trunk/psLib/test/collections/verified/tst_psBitSet_01.stdout
===================================================================
--- /trunk/psLib/test/collections/verified/tst_psBitSet_01.stdout	(revision 1040)
+++ /trunk/psLib/test/collections/verified/tst_psBitSet_01.stdout	(revision 1041)
@@ -6,5 +6,5 @@
 
 Creating psBitSet with 24 bits...
-000000000000000000000000ïŸ­Þ
+000000000000000000000000
 
 
@@ -20,5 +20,5 @@
 Setting third bit...
 Setting last bit...
-100000000000000000000101ïŸ­Þ
+100000000000000000000101
 
 
Index: /trunk/psLib/test/collections/verified/tst_psBitSet_02.stdout
===================================================================
--- /trunk/psLib/test/collections/verified/tst_psBitSet_02.stdout	(revision 1040)
+++ /trunk/psLib/test/collections/verified/tst_psBitSet_02.stdout	(revision 1041)
@@ -5,10 +5,10 @@
 \**********************************************************************************/
 
-000000000000000000000000ïŸ­Þ
-000000000000000000000000ïŸ­Þ
+000000000000000000000000
+000000000000000000000000
 
 Setting all bits true...
-111111111111111111111111ïŸ­Þ
-111111111111111111111111ïŸ­Þ
+111111111111111111111111
+111111111111111111111111
 
 
@@ -22,5 +22,5 @@
 
 Result:
-111111111111111111111111ïŸ­Þ
+111111111111111111111111
 
 ---> TESTPOINT PASSED (psBitSet{Perform binary AND with psBitSets} | tst_psBitSet_02.c)
Index: /trunk/psLib/test/collections/verified/tst_psBitSet_03.stdout
===================================================================
--- /trunk/psLib/test/collections/verified/tst_psBitSet_03.stdout	(revision 1040)
+++ /trunk/psLib/test/collections/verified/tst_psBitSet_03.stdout	(revision 1041)
@@ -5,10 +5,10 @@
 \**********************************************************************************/
 
-000000000000000000000000ïŸ­Þ
-000000000000000000000000ïŸ­Þ
+000000000000000000000000
+000000000000000000000000
 
 Setting all bits true...
-111111111111111111111111ïŸ­Þ
-111111111111111111111111ïŸ­Þ
+111111111111111111111111
+111111111111111111111111
 
 
@@ -22,5 +22,5 @@
 
 Result:
-111111111111111111111111ïŸ­Þ
+111111111111111111111111
 
 ---> TESTPOINT PASSED (psBitSet{Perform binary OR with psBitSets} | tst_psBitSet_03.c)
Index: /trunk/psLib/test/collections/verified/tst_psBitSet_04.stdout
===================================================================
--- /trunk/psLib/test/collections/verified/tst_psBitSet_04.stdout	(revision 1040)
+++ /trunk/psLib/test/collections/verified/tst_psBitSet_04.stdout	(revision 1041)
@@ -5,10 +5,10 @@
 \**********************************************************************************/
 
-000000000000000000000000ïŸ­Þ
-000000000000000000000000ïŸ­Þ
+000000000000000000000000
+000000000000000000000000
 
 Setting all bits true...
-111111111111111111111111ïŸ­Þ
-111111111111111111111111ïŸ­Þ
+111111111111111111111111
+111111111111111111111111
 
 
@@ -22,5 +22,5 @@
 
 Result:
-000000000000000000000000ïŸ­Þ
+000000000000000000000000
 
 ---> TESTPOINT PASSED (psBitSet{Perform binary XOR with psBitSets} | tst_psBitSet_04.c)
Index: /trunk/psLib/test/collections/verified/tst_psBitSet_05.stdout
===================================================================
--- /trunk/psLib/test/collections/verified/tst_psBitSet_05.stdout	(revision 1040)
+++ /trunk/psLib/test/collections/verified/tst_psBitSet_05.stdout	(revision 1041)
@@ -5,6 +5,6 @@
 \**********************************************************************************/
 
-000000000000000000000000ïŸ­Þ
-0000000000000000000000000000000000000000ïŸ­Þ
+000000000000000000000000
+0000000000000000000000000000000000000000
 
 
Index: /trunk/psLib/test/collections/verified/tst_psBitSet_06.stdout
===================================================================
--- /trunk/psLib/test/collections/verified/tst_psBitSet_06.stdout	(revision 1040)
+++ /trunk/psLib/test/collections/verified/tst_psBitSet_06.stdout	(revision 1041)
@@ -5,6 +5,6 @@
 \**********************************************************************************/
 
-000000000000000000000000ïŸ­Þ
-000000000000000000000000ïŸ­Þ
+000000000000000000000000
+000000000000000000000000
 
 
Index: /trunk/psLib/test/dataManip/Makefile
===================================================================
--- /trunk/psLib/test/dataManip/Makefile	(revision 1040)
+++ /trunk/psLib/test/dataManip/Makefile	(revision 1041)
@@ -3,6 +3,6 @@
 ##  Makefile:   test/sysUtils
 ##
-##  $Revision: 1.14 $  $Name: not supported by cvs2svn $
-##  $Date: 2004-06-12 02:17:42 $
+##  $Revision: 1.15 $  $Name: not supported by cvs2svn $
+##  $Date: 2004-06-15 02:45:43 $
 ##
 ##  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -66,5 +66,5 @@
 
 %   : builddir/%.o
-	$(CC) -o $@ $< -L$(PSLIB_LIB_DIR) -lpslib -lpstest -lgsl -lgslcblas $(LDFLAGS)
+	$(CC) -o $@ $< -L$(PSLIB_LIB_DIR) -lpslib -lpstest $(LDFLAGS)
 
 distclean: clean
Index: /trunk/psLib/test/image/tst_psImageStats00.c
===================================================================
--- /trunk/psLib/test/image/tst_psImageStats00.c	(revision 1040)
+++ /trunk/psLib/test/image/tst_psImageStats00.c	(revision 1041)
@@ -65,5 +65,5 @@
         for (i=0;i<tmpImage->numRows;i++) {
             for (j=0;j<tmpImage->numCols;j++) {
-                tmpImage->data.F32[i][j] = (float) (i + j);
+                tmpImage->data.F32[i][j] = (float) (i + j + 0.1);
             }
         }
