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

Comparing ray/src/util/rcollate.c (file contents):
Revision 2.45 by greg, Fri Jan 26 00:47:17 2024 UTC vs.
Revision 2.46 by greg, Wed Jun 5 21:56:53 2024 UTC

# Line 280 | Line 280 | output_stream(FILE *fp)
280                  return(0);
281          fflush(stdout);
282          while ((n = fread(buf, 1, sizeof(buf), fp)) > 0) {
283 <                if (write(fileno(stdout), buf, n) != n)
283 >                if (write(1, buf, n) != n)
284                          return(0);
285                  ntot += n;
286          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines