Chris,

Sorry for checking out for so long.  I've been trying to get 
that convertindex program to work and have discovered a problem.
I'm sending a copy of the version I'm using, since I had to make some
mods.  to get it to build.  I think the problem I'm seeing comes down
to an inconsistant usage of pathnames for exists() and open_file().

For example, there are several lines like this:
 if (exists(db_path, "", "", ""))

which works great, since db_path is something like
"/usr/local/lib/PTS/DB/Other".

Then a couple of lines later comes this:
    if ((fp=open_file(db_path, ".index", "r+", INDEX))==NULL)

The problem is that open_file() prepends PtsRoot to db_path,
resulting in something like:
        /usr/local/lib/PTS/DB//usr/local/lib/PTS/DB/Other/Other.index

Here's a sample of the debug output.

Also, nothing ever seems to be printed to the "error_log" file.
There's something wrong with the "Begin Pass 1 at" line [line 92]
(which I commented out) and maybe with the Pass 2 line also.


So how's life?  


Dean


----------------------------------------------------------------
In exists()
        Path - /usr/local/lib/PTS/DB/Other
        File name to check - 
        File extension - 
exists() - the file /usr/local/lib/PTS/DB/Other does exist

In open_file()
        File To Open /usr/local/lib/PTS/DB//usr/local/lib/PTS/DB/Other/Other.index
        Acess method = r+
open_file() - could not open /usr/local/lib/PTS/DB//usr/local/lib/PTS/DB/Other/Other.index
        error number 2
Segmentation fault
----------------------------------------------------------------

