diff src/load-save.cc @ 4845:a9cfb8b37759

[project @ 2004-04-02 20:12:24 by jwe]
author jwe
date Fri, 02 Apr 2004 20:12:24 +0000
parents 9f7ef92b50b0
children a9f67193e3a0
line wrap: on
line diff
--- a/src/load-save.cc	Fri Apr 02 17:26:54 2004 +0000
+++ b/src/load-save.cc	Fri Apr 02 20:12:24 2004 +0000
@@ -311,7 +311,10 @@
   if (file_exist)
     file_exist.close ();
   else
-    return LS_UNKNOWN;
+    {
+      error ("load: nonexistent file `%s'", fname.c_str ());
+      return LS_UNKNOWN;
+    }
 
 #ifdef HAVE_HDF5
   // check this before we open the file
@@ -749,6 +752,8 @@
 		error ("load: couldn't open input file `%s'",
 		       orig_fname.c_str ());
 	    }
+	  else
+	    error ("load: nonexistent file `%s'", orig_fname.c_str ());
 	}
       else
 #endif /* HAVE_HDF5 */
@@ -798,6 +803,8 @@
 	    error ("load: couldn't open input file `%s'",
 		   orig_fname.c_str ());
 	}
+      else
+	error ("load: nonexistent file: `%s'", orig_fname.c_str ());
     }
 
   return retval;