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

Comparing ray/src/util/radcompare.c (file contents):
Revision 2.35 by greg, Mon Dec 9 00:29:30 2024 UTC vs.
Revision 2.36 by greg, Tue Jun 3 21:31:51 2025 UTC

# Line 101 | Line 101 | typedef struct {               /* dynamic line buffer */
101   #define MAXBUF          (100L<<20)
102  
103                                  /* input files */
104 char            *progname = NULL;
104   const char      stdin_name[] = "<stdin>";
105   const char      *f1name=NULL, *f2name=NULL;
106   FILE            *f1in=NULL, *f2in=NULL;
# Line 1061 | Line 1060 | main(int argc, char *argv[])
1060   {
1061          int     typ1, typ2;
1062          int     a;
1063 <
1064 <        progname = argv[0];
1063 >                                                /* set global progname */
1064 >        fixargv0(argv[0]);
1065          for (a = 1; a < argc && argv[a][0] == '-'; a++) {
1066                  switch (argv[a][1]) {
1067                  case 'h':                       /* ignore header info. */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines