Corretto errore di scrittura

git-svn-id: svn://10.65.10.50/trunk@41 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
alex 1994-08-22 09:06:05 +00:00
parent 5479720988
commit f18f97314b

View File

@ -1,4 +1,4 @@
// $Id: relation.cpp,v 1.2 1994-08-19 10:43:55 guy Exp $
// $Id: relation.cpp,v 1.3 1994-08-22 09:06:05 alex Exp $
// relation.cpp
// fv 12/8/93
// relation class for isam files
@ -662,18 +662,18 @@ HIDDEN bool __evalcondition(const TRectype& r,TExpression* cond)
FILE* TCursor::open_index(bool create) const
{
#if XVT_OS == XVT_OS_SCOUNIX
const char* const ";
const char* const w = "w";
const char* const r = "r";
const char* const w = "w";
#else
const char* const r = "rb";
const char* const w = "wb";
const char* const r = "rb";
const char* const w = "wb";
#endif
FILE* f = fopen(_indexname, create ? w : r);
if (f == NULL)
fatal_box("Can't use cursor index for file %d\n", file()->filehnd()->ln);
FILE* f = fopen(_indexname, create ? w : r);
if (f == NULL)
fatal_box("Can't use cursor index for file %d\n", file()->filehnd()->ln);
return f;
return f;
}
TRecnotype TCursor::buildcursor(TRecnotype rp)