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 2.15 by greg, Fri Jun 20 00:25:49 2003 UTC vs.
Revision 2.16 by schorsch, Mon Jun 30 14:59:11 2003 UTC

# Line 10 | Line 10 | static const char RCSid[] = "$Id$";
10   #include "copyright.h"
11  
12   #include  <ctype.h>
13 + #include  <string.h>
14   #include  <stdio.h>
14 #include  <stdio.h>
15  
16   #include  "standard.h"
17   #include  "platform.h"
# Line 181 | Line 181 | int  firstobj, nobjs;
181                  free_os(o);             /* free client memory */
182                  freeqstr(o->oname);
183                  freefargs(&o->oargs);
184 <                bzero((void *)o, sizeof(OBJREC));
184 >                memset((void *)o, '\0', sizeof(OBJREC));
185          }
186          clearobjndx();
187                                          /* free objects off end */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines