[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
oops, i forgot to send this fix to the list
sorry that this didn't get the distribution it was supposed to.
From haahr Tue Oct 13 08:10:08 1992
To: peter@robots.ox.ac.uk
Subject: Re: whatis loop
> I tried to repeat the problem, but I encountered another conundrum:
...
> Something wrong with varlookup2() ?
yes, or precisely, streq2(). patch follows. whoops.
*** dict.c.old Tue Oct 13 08:03:30 1992
--- dict.c Tue Oct 13 08:05:02 1992
***************
*** 212,218 ****
while ((c = *t2++) != '\0')
if (c != *s++)
return FALSE;
! return TRUE;
}
/* dictget2 -- look up the catenation of two names (such a hack!) */
--- 212,218 ----
while ((c = *t2++) != '\0')
if (c != *s++)
return FALSE;
! return c == *s;
}
/* dictget2 -- look up the catenation of two names (such a hack!) */