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

Comparing ray/src/gen/replmarks.c (file contents):
Revision 2.21 by greg, Wed Apr 23 01:57:04 2025 UTC vs.
Revision 2.23 by greg, Sat Jun 7 05:09:45 2025 UTC

# Line 14 | Line 14 | static const char RCSid[] = "$Id$";
14  
15   #include "platform.h"
16   #include "rtio.h"
17 #include "paths.h"
17   #include "fvect.h"
18  
19   #ifdef  M_PI
# Line 46 | Line 45 | int    nmarkers = 0;           /* number of markers */
45  
46   int     expand;                 /* expand commands? */
47  
49 char    *progname;
50
48   static void convert(char *name, FILE *fin);
49   static void cvcomm(char *fname, FILE *fin);
50   static void cvobject(char *fname, FILE *fin);
# Line 66 | Line 63 | main(
63          FILE    *fp;
64          int     i, j;
65  
66 <        progname = argv[0];
66 >        fixargv0(argv[0]);              /* sets global progname */
67          i = 1;
68          while (i < argc && argv[i][0] == '-') {
69                  do {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines