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

Comparing ray/src/hd/rholo.c (file contents):
Revision 3.81 by greg, Mon Oct 21 18:19:32 2019 UTC vs.
Revision 3.85 by greg, Thu Feb 6 21:45:00 2025 UTC

# Line 229 | Line 229 | resfmode(              /* restrict open file access mode */
229   static void
230   initrholo(void)                 /* get our holodeck running */
231   {
232        extern int      global_packet();
232          int     i;
233                                                  /* close holodeck on exec() */
234          fcntl(hdlist[0]->fd, F_SETFD, FD_CLOEXEC);
# Line 394 | Line 393 | setdefaults(                   /* set default values */
393          HDGRID  *gp
394   )
395   {
397        extern char     *atos();
396          int     i;
397          int     n;
398          double  len[3], d;
# Line 465 | Line 463 | creatholo(                     /* create a holodeck output file */
463                                          /* write information header */
464          newheader("RADIANCE", fp);
465          fprintf(fp, "SOFTWARE= %s\n", VersionID);
466 +        fputnow(fp);
467          printvars(fp);
468 +        fputendian(fp);
469          fputformat(HOLOFMT, fp);
470          fputc('\n', fp);
471          putw(HOLOMAGIC, fp);            /* put magic number */
# Line 631 | Line 631 | badvalue(                      /* report bad variable value and exit */
631  
632  
633   void
634 < eputs(s)                        /* put error message to stderr */
635 < char  *s;
634 > eputs(const char *s)            /* put error message to stderr */
635   {
636          static int  midline = 0;
637  
# Line 651 | Line 650 | char  *s;
650  
651  
652   void
653 < quit(ec)                        /* exit program gracefully */
655 < int     ec;
653 > quit(int ec)                    /* exit program gracefully */
654   {
655          int     status = 0;
656  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines