Index: /trunk/psLib/src/math/psRandom.c
===================================================================
--- /trunk/psLib/src/math/psRandom.c	(revision 20546)
+++ /trunk/psLib/src/math/psRandom.c	(revision 20547)
@@ -10,6 +10,6 @@
 *  @author GLG, MHPCC
 *
-*  @version $Revision: 1.17 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2007-11-16 00:41:07 $
+*  @version $Revision: 1.18 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2008-11-05 11:12:39 $
 *
 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -50,5 +50,5 @@
     } else {
         // Read urandom to get seed
-        fread(&seedVal, sizeof(psU64),1,fd);
+        if (fread(&seedVal, sizeof(psU64),1,fd)) {;} // ignore return value
         // Close file
         fclose(fd);
Index: /trunk/psLib/src/mathtypes/psImage.c
===================================================================
--- /trunk/psLib/src/mathtypes/psImage.c	(revision 20546)
+++ /trunk/psLib/src/mathtypes/psImage.c	(revision 20547)
@@ -9,6 +9,6 @@
  *  @author Ross Harman, MHPCC
  *
- *  @version $Revision: 1.131 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2007-11-05 23:42:46 $
+ *  @version $Revision: 1.132 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2008-11-05 11:12:39 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -545,7 +545,7 @@
                      char *name)
 {
-    write(fd,"matrix: ",8);
-    write(fd,name,strlen(name));
-    write(fd,"\n",1);
+    if (write(fd,"matrix: ",8)) {;} //ignore return value
+    if (write(fd,name,strlen(name))) {;} //ignore return value
+    if (write(fd,"\n",1)) {;} //ignore return value
 
     char buffer[20];
@@ -555,9 +555,9 @@
         for (int i = 0; i < a->numCols; i++) {
             snprintf (buffer,20, "%f  ", p_psImageGetElementF64(a, i, j));
-            write(fd,buffer,strlen(buffer));
-        }
-        write(fd,"\n",1);
-    }
-    write(fd,"\n",1);
+            if (write(fd,buffer,strlen(buffer))) {;} //ignore return value
+        }
+        if (write(fd,"\n",1)) {;} //ignore return value
+    }
+    if (write(fd,"\n",1)) {;} //ignore return value
     return (true);
 }
Index: /trunk/psLib/src/mathtypes/psVector.c
===================================================================
--- /trunk/psLib/src/mathtypes/psVector.c	(revision 20546)
+++ /trunk/psLib/src/mathtypes/psVector.c	(revision 20547)
@@ -10,6 +10,6 @@
 *  @author Joshua Hoblitt, University of Hawaii
 *
-*  @version $Revision: 1.103 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2008-09-12 00:22:48 $
+*  @version $Revision: 1.104 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2008-11-05 11:12:40 $
 *
 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -711,12 +711,12 @@
 
     sprintf (line, "vector: %s\n", name);
-    write (fd, line, strlen(line));
+    if (write(fd, line, strlen(line))) {;} //ignore return value
 
     for (int i = 0; i < a[0].n; i++) {
         sprintf (line, "%f\n", p_psVectorGetElementF64(a, i));
-        write (fd, line, strlen(line));
+        if (write(fd, line, strlen(line))) {;} //ignore return value
     }
     sprintf (line, "\n");
-    write (fd, line, strlen(line));
+    if (write(fd, line, strlen(line))) {;} //ignore return value
     return (true);
 }
Index: /trunk/psLib/src/xml/psXML.c
===================================================================
--- /trunk/psLib/src/xml/psXML.c	(revision 20546)
+++ /trunk/psLib/src/xml/psXML.c	(revision 20547)
@@ -10,6 +10,6 @@
 *  @author David Robbins, MHPCC
 *
-*  @version $Revision: 1.48 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2006-10-12 23:43:58 $
+*  @version $Revision: 1.49 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2008-11-05 11:12:40 $
 *
 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -626,5 +626,5 @@
     if ( psXMLDocToMem(doc, buf) ) {
         n = strlen(buf);
-        write(fd, buf, n);
+        if (write(fd, buf, n)) {;} //ignore return value
     } else {
         psError(PS_ERR_LOCATION_INVALID, true, _("Buffer to small to store XML doc."));
