diff src/oct-hist.cc @ 6141:f6c2d9276572

[project @ 2006-11-06 17:52:51 by jwe]
author jwe
date Mon, 06 Nov 2006 17:52:52 +0000
parents 44f24cf66b95
children 430cb65c29ce
line wrap: on
line diff
--- a/src/oct-hist.cc
+++ b/src/oct-hist.cc
@@ -84,15 +84,7 @@
   std::string env_file = octave_env::getenv ("OCTAVE_HISTFILE");
 
   if (! env_file.empty ())
-    {
-      std::fstream f (env_file.c_str (), (std::ios::in | std::ios::out));
-
-      if (f)
-	{
-	  file = env_file;
-	  f.close ();
-	}
-    }
+    file = env_file;
 
   if (file.empty ())
     {