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

Comparing ray/src/rt/rcmain.c (file contents):
Revision 2.24 by greg, Thu Oct 20 17:18:32 2022 UTC vs.
Revision 2.25 by greg, Mon Feb 6 20:34:17 2023 UTC

# Line 197 | Line 197 | main(int argc, char *argv[])
197          gargc = argc;
198                                          /* feature check only? */
199          strcat(RFeatureList, RCONTRIB_FEATURES);
200 <        if (!strcmp(argv[1], "-features"))
200 >        if (argc == 2 && !strcmp(argv[1], "-features"))
201                  return feature_status(argc-2, argv+2);
202   #if defined(_WIN32) || defined(_WIN64)
203          _setmaxstdio(2048);             /* increase file limit to maximum */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines