[5371] in SIPB bug reports

home help back first fref pref prev next nref lref last post

thesaurus error message misleading

daemon@ATHENA.MIT.EDU (Eric Mumpower)
Mon May 8 12:45:08 1995

Date: Mon, 8 May 1995 12:44:25 -0400
To: bug-sipb@MIT.EDU
From: Eric Mumpower <nocturne@MIT.EDU>


/afs/sipb/project/sipbsrc/src/Roget/th contained the following code:

> dbmopen(%indices, "$index_file", undef) ||
>     die "Can't open \"$thesaurus\": $!\n";

$index_file and $thesaurus are *DIFFERENT* files. This error message is
totally misleading. I changed it to:

> dbmopen(%indices, "$index_file", undef) ||
>     die "Can't open \"$index_file\": $!\n";

I copied this version of th to /mit/sipb/lib/perl/th, which is the file to
which the sipb-locker versions of thesaurus point.

 - Eric

home help back first fref pref prev next nref lref last post