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.132 by greg, Thu Nov 16 23:37:29 2023 UTC vs.
Revision 2.133 by greg, Mon Dec 23 01:39:27 2024 UTC

# Line 131 | Line 131 | char   *viewselect = NULL;     /* specific view only */
131  
132   #define DEF_RPICT_PATH  "rpict"         /* default rpict path */
133  
134 + #define R_CMDMAX        (5*PATH_MAX+512)
135                                  /* command paths */
136   char    c_oconv[256] = "oconv";
137   char    c_mkillum[256] = "mkillum";
# Line 528 | Line 529 | static void
529   oconv(void)                             /* run oconv and mkillum if necessary */
530   {
531          static char     illumtmp[] = "ilXXXXXX";
532 <        char    combuf[PATH_MAX], ocopts[64], mkopts[1024];
532 >        char    combuf[R_CMDMAX], ocopts[64], mkopts[1024];
533  
534          oconvopts(ocopts);              /* get options */
535          if (octreedate < scenedate) {   /* check date on original octree */
# Line 1415 | Line 1416 | rvu(                           /* run rvu with first view */
1416   )
1417   {
1418          char    *vw;
1419 <        char    combuf[PATH_MAX];
1419 >        char    combuf[R_CMDMAX];
1420                                          /* build command */
1421          if (touchonly || (vw = getview(0, NULL)) == NULL)
1422                  return;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines