Hypothesis: This is due to GetVFSMaxUID() missing uids for pages that aren't
there.  Proposed fix (no time to check if it works right now--I've got a
class to prepare):  Change:
    if ( uidUpper == 0 )
        uidUpper    = GetVFSMaxUID();

to:

    if ( uidUpper == 0 ) {
        uidUpper    = GetVFSMaxUID();
        if ( uidUpper < uid ) {
            return NULL;
        }
    }

Alex

--
Dr. Alexander R. Pruss
Department of Philosophy
Georgetown University
Washington, DC 20057-1133  U.S.A.
e-mail: [EMAIL PROTECTED]
online papers and home page: www.georgetown.edu/faculty/ap85
--------------------------------------------------------------------------
   "Philosophiam discimus non ut tantum sciamus, sed ut boni efficiamur."
       - Paul of Worczyn (1424)

----- Original Message ----- 
From: "Michael Nordstrom" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 21, 2003 12:23 PM
Subject: Re: Remove optimize code from SearchVFSDocument


> On Tue, Oct 21, 2003, Alexander R. Pruss wrote:
> > Which bug number is this?  Alex
>
> 864
>
> /Mike
>
> _______________________________________________
> plucker-dev mailing list
> [EMAIL PROTECTED]
> http://lists.rubberchicken.org/mailman/listinfo/plucker-dev
>

_______________________________________________
plucker-dev mailing list
[EMAIL PROTECTED]
http://lists.rubberchicken.org/mailman/listinfo/plucker-dev

Reply via email to