From 2b8121da2fe70b3034379c4ef281568a6cf990e8 Mon Sep 17 00:00:00 2001 From: robocop Date: Thu, 2 Feb 2006 07:37:26 +0000 Subject: [PATCH] The files rng.cpp, rng.h, rng_proto.h, bookmark.cpp and bookmark.h belong exclusively to PC_ENGINE, that's obsolete functionality. Seventh step: since RSE_MARK_CRACK became a no-op, remove it from the sources. --- src/jrd/nav.cpp | 11 ----------- src/jrd/rse_proto.h | 1 - 2 files changed, 12 deletions(-) diff --git a/src/jrd/nav.cpp b/src/jrd/nav.cpp index 14e44d6f0b..e0f5fa87d2 100644 --- a/src/jrd/nav.cpp +++ b/src/jrd/nav.cpp @@ -397,7 +397,6 @@ bool NAV_get_record(thread_db* tdbb, irb_partial | irb_starting)) > 0) { - RSE_MARK_CRACK(tdbb, rsb, irsb_crack); break; } @@ -408,7 +407,6 @@ bool NAV_get_record(thread_db* tdbb, irb_partial | irb_starting)) < 0) { - RSE_MARK_CRACK(tdbb, rsb, irsb_crack); break; } #endif @@ -967,20 +965,11 @@ static bool get_record( result = false; } else { - // the successful retrieval of a record - // means we are no longer on a crack - - RSE_MARK_CRACK(tdbb, rsb, 0); - // mark in the navigational bitmap that we have visited this record RBM_SET(tdbb->getDefaultPool(), &impure->irsb_nav_records_visited, rpb->rpb_number.getValue()); } } - if (!result) { - RSE_MARK_CRACK(tdbb, rsb, irsb_crack); - } - if (inhibit_cleanup) { tdbb->tdbb_attachment->att_flags &= ~ATT_no_cleanup; tdbb->tdbb_attachment->att_flags |= (old_att_flags & ATT_no_cleanup); diff --git a/src/jrd/rse_proto.h b/src/jrd/rse_proto.h index 5cbd21876a..96d4291f7f 100644 --- a/src/jrd/rse_proto.h +++ b/src/jrd/rse_proto.h @@ -36,7 +36,6 @@ namespace Jrd { void RSE_close(Jrd::thread_db*, Jrd::RecordSource*); bool RSE_get_record(Jrd::thread_db*, Jrd::RecordSource*, Jrd::rse_get_mode); void RSE_open(Jrd::thread_db*, Jrd::RecordSource*); -#define RSE_MARK_CRACK(t, var1, var2) #endif // JRD_RSE_PROTO_H