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

Comparing ray/src/util/glareval.c (file contents):
Revision 1.15 by greg, Mon Apr 22 15:41:01 1991 UTC vs.
Revision 1.18 by greg, Wed Jun 26 13:35:16 1991 UTC

# Line 20 | Line 20 | static char SCCSid[] = "$SunId$ LBL";
20   #define vfork           fork
21   #endif
22  
23 < #define MAXSBUF         524268  /* maximum total size of scanline buffer */
23 > #define MAXSBUF         786432  /* maximum total size of scanline buffer */
24   #define HSIZE           317     /* size of scanline hash table */
25   #define NRETIRE         16      /* number of scanlines to retire at once */
26  
# Line 342 | Line 342 | char   *av[];
342                          dup2(p0[0], 0);
343                          close(p0[0]);
344                  }
345 <                if (p1[1] != 0) {       /* connect p1 to stdout */
345 >                if (p1[1] != 1) {       /* connect p1 to stdout */
346                          dup2(p1[1], 1);
347                          close(p1[1]);
348                  }
# Line 477 | Line 477 | initscans()                            /* initialize scanline buffers */
477                                          /* allocate scanline buffers */
478          scansize = sizeof(SCAN) + pxsiz*sizeof(COLR);
479   #ifdef ALIGN
480 <        scansize = scansize+(sizeof(ALIGN)-1)) & ~(sizeof(ALIGN)-1);
480 >        scansize = scansize+(sizeof(ALIGN)-1) & ~(sizeof(ALIGN)-1);
481   #endif
482          i = MAXSBUF / scansize;         /* compute number to allocate */
483          if (i > HSIZE)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines