#endif
#include "file-path.hh"
-#include "flower-debug.hh"
+
#ifndef PATHSEP
#define PATHSEP ':'
String
File_path::find (String nm) const
{
- DEBUG_OUT << "looking for" << nm << ": ";
if (!nm.length_i () || (nm == "-") )
return nm;
for (int i=0; i < size (); i++)
path += nm;
- DEBUG_OUT << path << "? ";
#if 0
/*
FILE *f = fopen (path.ch_C (), "r"); // ugh!
if (f)
{
- DEBUG_OUT << "found\n";
fclose (f);
return path;
}
}
- DEBUG_OUT << '\n';
return "";
}