ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/objset.c
(Generate patch)

Comparing ray/src/common/objset.c (file contents):
Revision 2.12 by schorsch, Sat Jun 7 12:50:20 2003 UTC vs.
Revision 2.13 by schorsch, Mon Jul 21 22:30:17 2003 UTC

# Line 209 | Line 209 | tryagain:
209                  ot = oseti(i*OSTSIZ + osentry);
210                  if (*os > 0)                    /* found it */
211                          return(ot);
212 <                if (!isfull(ot))                /* entry overflow */
212 >                if (!isfull(ot)) {              /* entry overflow */
213                          if (++ntries < OSTSIZ)
214                                  goto tryagain;
215                          else
216                                  error(INTERNAL, "hash table overflow in fullnode");
217 +                }
218                                                  /* remember position */
219                  i = os - ostable[osentry];
220                  os = ostable[osentry] = (OBJECT *)realloc(

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines