Index: trunk/psLib/psTableParse.c
===================================================================
--- trunk/psLib/psTableParse.c	(revision 5970)
+++ trunk/psLib/psTableParse.c	(revision 6030)
@@ -7,6 +7,6 @@
  *  @author Dave Robbins, MHPCC
  *
- *  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2006-01-12 21:18:48 $
+ *  @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2006-01-18 00:41:29 $
  *
  *  Copyright 2005 Maui High Performance Computing Center, University of Hawaii
@@ -44,4 +44,12 @@
     input = fopen(argv[1], "r");
     output = fopen(argv[2], "w");
+    if (input == NULL) {
+        printf("\nERROR.  Could not open input file.\n");
+        return 0;
+    }
+    if (output == NULL) {
+        printf("\nERROR.  Could not open or create output file.\n");
+        return 0;
+    }
     char data2[200];
     printHeader(argv[1]);
