Index: trunk/psLib/src/xml/psXML.c
===================================================================
--- trunk/psLib/src/xml/psXML.c	(revision 9523)
+++ 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."));
