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

Comparing ray/src/hd/rhdisp.c (file contents):
Revision 3.46 by greg, Fri Jun 20 00:25:49 2003 UTC vs.
Revision 3.47 by schorsch, Mon Jun 30 14:59:11 2003 UTC

# Line 5 | Line 5 | static const char      RCSid[] = "$Id$";
5   * Holodeck display process.
6   */
7  
8 + #include <string.h>
9 + #include <ctype.h>
10 +
11   #include "rholo.h"
12   #include "rhdisp.h"
13   #include "rhdriver.h"
14   #include "selcall.h"
12 #include <ctype.h>
15  
16   #ifndef VIEWHISTLEN
17   #define VIEWHISTLEN     4       /* number of remembered views */
# Line 216 | Line 218 | char   *gfn, *pfn;
218          hdlist[hd] = (HOLO *)malloc(sizeof(HOLO));
219          if (hdlist[hd] == NULL)
220                  error(SYSTEM, "out of memory in add_holo");
221 <        bcopy((void *)hdg, (void *)hdlist[hd], sizeof(HDGRID));
221 >        memcpy((void *)hdlist[hd], (void *)hdg, sizeof(HDGRID));
222          hdcompgrid(hdlist[hd]);
223          hdgfn[hd] = savestr(gfn);
224          hdpfn[hd] = pfn && *pfn ? savestr(pfn) : (char *)NULL;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines