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.33 by greg, Tue Jul 1 21:21:40 2003 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines