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

Comparing ray/src/common/malloc.c (file contents):
Revision 1.6 by greg, Wed Sep 26 19:35:46 1990 UTC vs.
Revision 1.7 by greg, Tue Oct 2 12:00:03 1990 UTC

# Line 150 | Line 150 | unsigned       n;
150          register M_HEAD *mp;
151          register int    bucket;
152          register unsigned       bsiz;
153
154        if (n == 0)
155                return(NULL);
153                                          /* find first bucket that fits */
154          for (bucket = FIRSTBUCKET, bsiz = 1<<FIRSTBUCKET;
155                          bucket < NBUCKETS; bucket++, bsiz <<= 1)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines