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

Comparing ray/src/util/getinfo.c (file contents):
Revision 2.26 by greg, Thu Mar 16 17:16:05 2023 UTC vs.
Revision 2.27 by greg, Wed Jun 5 21:56:53 2024 UTC

# Line 115 | Line 115 | copycat(void)                  /* copy input to output */
115  
116          fflush(stdout);
117          while ((n = fread(buf, 1, sizeof(buf), stdin)) > 0)
118 <                if (writebuf(fileno(stdout), buf, n) != n)
118 >                if (writebuf(1, buf, n) != n)
119                          break;
120   }
121  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines