Index: /trunk/psLib/src/types/psMetadataConfig.c
===================================================================
--- /trunk/psLib/src/types/psMetadataConfig.c	(revision 9936)
+++ /trunk/psLib/src/types/psMetadataConfig.c	(revision 9937)
@@ -10,6 +10,6 @@
 *  @author Eric Van Alst, MHPCC
 *
-*  @version $Revision: 1.120 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2006-11-09 23:37:35 $
+*  @version $Revision: 1.121 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2006-11-10 00:07:19 $
 *
 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -850,5 +850,7 @@
         // Not all lines will have comments, so NULL is ok.
         status = 0;
-        strComment = getToken(&linePtr,"~", &status,true);
+        // XXX this is a very ugly way of finding from the current position to
+        // the end of the line
+        strComment = getToken(&linePtr, "", &status, true);
         if(status) {
             psError(PS_ERR_IO, true,
