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.24 by greg, Sat Apr 16 00:42:16 2016 UTC vs.
Revision 2.25 by greg, Thu Aug 18 00:52:48 2016 UTC

# Line 362 | Line 362 | do_transpose(const MEMLOAD *mp)
362                          print_record(rp, j*ni_columns + i);
363                          putc(tabEOL[j >= no_columns-1], stdout);
364                  } else {                        /* binary output */
365 <                        fwrite((char *)mp->base +
365 >                        putbinary((char *)mp->base +
366                                          (n_comp*comp_size)*(j*ni_columns + i),
367 <                                        n_comp*comp_size, 1, stdout);
367 >                                        comp_size, n_comp, stdout);
368                  }
369              if (ferror(stdout)) {
370                  fprintf(stderr, "Error writing to stdout\n");

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines