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

Comparing ray/src/rt/rpict.c (file contents):
Revision 1.13 by greg, Tue Jan 9 09:07:29 1990 UTC vs.
Revision 1.14 by greg, Thu Jan 11 08:30:42 1990 UTC

# Line 15 | Line 15 | static char SCCSid[] = "$SunId$ LBL";
15   #ifdef BSD
16   #include  <sys/time.h>
17   #include  <sys/resource.h>
18 + #else
19 + #include  <signal.h>
20   #endif
21  
22   #include  "view.h"
# Line 85 | Line 87 | report()               /* report progress */
87          sprintf(errmsg, "%ld rays, %4.2f%% done after %5.4f CPU hours\n",
88                          nrays, pctdone, t/3600.0);
89   #else
90 +        signal(SIGALRM, report);
91          sprintf(errmsg, "%ld rays, %4.2f%% done\n", nrays, pctdone);
92   #endif
93          eputs(errmsg);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines