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.30 by schorsch, Thu Jun 26 00:58:10 2003 UTC vs.
Revision 3.32 by schorsch, Mon Jun 30 14:59:12 2003 UTC

# Line 6 | Line 6 | static const char      RCSid[] = "$Id$";
6   */
7  
8   #include <sys/uio.h>
9 + #include <string.h>
10  
11   #include "rholo.h"
12   #include "rhdisp.h"
# 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