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

Comparing ray/src/util/rad.c (file contents):
Revision 2.45 by greg, Mon Aug 28 10:12:40 1995 UTC vs.
Revision 2.46 by greg, Tue Nov 7 18:22:24 1995 UTC

# Line 1 | Line 1
1 < /* Copyright (c) 1994 Regents of the University of California */
1 > /* Copyright (c) 1995 Regents of the University of California */
2  
3   #ifndef lint
4   static char SCCSid[] = "$SunId$ LBL";
# Line 563 | Line 563 | double org[3], *sizp;
563          extern FILE     *popen();
564          static double   oorg[3], osiz = 0.;
565          double  min[3], max[3];
566 <        char    buf[512];
566 >        char    buf[1024];
567          FILE    *fp;
568          register int    i;
569  
# Line 689 | Line 689 | printvals()                    /* print variable values */
689   oconv()                         /* run oconv and mkillum if necessary */
690   {
691          static char     illumtmp[] = "ilXXXXXX";
692 <        char    combuf[512], ocopts[64], mkopts[64];
692 >        char    combuf[1024], ocopts[64], mkopts[64];
693  
694          oconvopts(ocopts);              /* get options */
695          if (octreedate < scenedate) {   /* check date on original octree */
# Line 777 | Line 777 | oconv()                                /* run oconv and mkillum if necessary */
777                                  "%s: error generating octree\n\t%s removed\n",
778                                          progname, oct1name);
779                          unlink(oct1name);
780 +                        unlink(illumtmp);
781                          exit(1);
782                  }
783                  rmfile(illumtmp);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines