diff src/DLD-FUNCTIONS/fftw_wisdom.cc @ 5832:5e41e06f6a78

[project @ 2006-05-26 21:41:32 by jwe]
author jwe
date Fri, 26 May 2006 21:42:22 +0000
parents 080c08b192d8
children 160958073cde
line wrap: on
line diff
--- a/src/DLD-FUNCTIONS/fftw_wisdom.cc	Fri May 26 21:06:00 2006 +0000
+++ b/src/DLD-FUNCTIONS/fftw_wisdom.cc	Fri May 26 21:42:22 2006 +0000
@@ -37,6 +37,7 @@
 #include "file-ops.h"
 #include "gripes.h"
 #include "lo-mappers.h"
+#include "load-path.h"
 #include "oct-env.h"
 #include "oct-obj.h"
 #include "sighandlers.h"
@@ -111,7 +112,7 @@
 
       std::string str = args(0).string_value ();
       std::string wisdom = octave_env::make_absolute
-	(Vload_path_dir_path.find_first_of (str), octave_env::getcwd ());
+	(load_path::find_file (str), octave_env::getcwd ());
 
       // FIXME -- should probably protect FILE* resources with
       // auto_ptr or similar...