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

Comparing ray/src/hd/rholo4.c (file contents):
Revision 3.31 by greg, Fri Jun 27 06:53:22 2003 UTC vs.
Revision 3.32 by schorsch, Mon Jun 30 14:59:12 2003 UTC

# Line 5 | Line 5 | static const char      RCSid[] = "$Id$";
5   * Holodeck display process communication
6   */
7  
8 + #include <sys/uio.h>
9 + #include <string.h>
10 +
11   #include "rholo.h"
12   #include "rhdisp.h"
13   #include "rtprocess.h"
14  
12 #include <sys/uio.h>
13
15   #ifndef HDSUF
16   #define HDSUF           ".hdi"
17   #endif
# Line 76 | Line 77 | char   *dname;
77          }
78                                  /* write out hologram grids & octrees */
79          for (i = 0; hdlist[i] != NULL; i++) {
80 <                bcopy((void *)hdlist[i], buf, sizeof(HDGRID));
80 >                memcpy(buf, (void *)hdlist[i], sizeof(HDGRID));
81                  len = sizeof(HDGRID);
82                  n = vdef(GEOMETRY);
83                  sfn = i<n ? nvalue(GEOMETRY,i) :

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines