+comments wrt map vs. pin chicken-and-egg problem.
authorshort <>
Sat, 9 Aug 2003 15:32:57 +0000 (15:32 +0000)
committershort <>
Sat, 9 Aug 2003 15:32:57 +0000 (15:32 +0000)
src/TraceFS/checktrace.pl

index 7930d60..688b65e 100755 (executable)
@@ -485,6 +485,7 @@ my($Bcb,$Buffer)=@_;
        delete $Object->{"FileOffset"};
 
        my $ref=\$CObject->{"map"};
+       # There may exist some pin bcbs even if we are creating the new map bcb.
        Bcb_checkref $Object,$ref;
 }
 
@@ -531,6 +532,7 @@ my($Bcb,$Buffer)=@_;
        $Object->{"Buffer"}=tohex(eval($Buffer)-$shift);
 
        my $ref=\$CObject->{"pin"}{$Object->{"FileOffset"}};
+       # There may not exist map bcb even if we are creating the new pin bcb.
        Bcb_checkref $Object,$ref;
 }