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.15 by schorsch, Thu Mar 10 18:25:46 2016 UTC vs.
Revision 2.17 by greg, Thu Nov 30 23:31:34 2017 UTC

# Line 180 | Line 180 | main(int argc, char *argv[])
180          progname = argv[0] = fixargv0(argv[0]);
181          gargv = argv;
182          gargc = argc;
183 + #if defined(_WIN32) || defined(_WIN64)
184 +        _setmaxstdio(2048);             /* increase file limit to maximum */
185 + #endif
186                                          /* initialize calcomp routines early */
187          initfunc();
188          setcontext(RCCONTEXT);
# Line 363 | Line 366 | main(int argc, char *argv[])
366  
367   badopt:
368          fprintf(stderr,
369 < "Usage: %s [-n nprocs][-V][-r][-e expr][-f source][-o ospec][-p p1=V1,p2=V2][-b binv][-bn N] {-m mod | -M file} [rtrace options] octree\n",
369 > "Usage: %s [-n nprocs][-V][-c count][-r][-e expr][-f source][-o ospec][-p p1=V1,p2=V2][-b binv][-bn N] {-m mod | -M file} [rtrace options] octree\n",
370                          progname);
371          sprintf(errmsg, "command line error at '%s'", argv[i]);
372          error(USER, errmsg);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines