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

Comparing ray/src/common/readobj.c (file contents):
Revision 1.2 by greg, Wed Oct 4 16:32:04 1989 UTC vs.
Revision 1.3 by greg, Thu Jan 18 23:58:57 1990 UTC

# Line 105 | Line 105 | FILE  *fp;
105                          error(USER, errmsg);
106                  }
107                  objp->otype = objptr(alias)->otype;
108 <                bcopy(&objptr(alias)->oargs, &objp->oargs, sizeof(FUNARGS));
108 >                copystruct(&objp->oargs, &objptr(alias)->oargs);
109          } else if (readfargs(&objp->oargs, fp) < 0) {
110                  sprintf(errmsg, "(%s): bad arguments", name);
111                  objerror(objp, USER, errmsg);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines