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

Comparing ray/src/rt/pmapdiag.c (file contents):
Revision 2.1 by greg, Tue Feb 24 19:39:26 2015 UTC vs.
Revision 2.3 by rschregle, Wed Apr 22 20:28:16 2015 UTC

# Line 15 | Line 15
15   #include "pmapdiag.h"
16   #include "pmapdata.h"
17   #include "standard.h"
18 #include <signal.h>
18  
19  
20  
# Line 119 | Line 118 | void pmapBiasCompReport (char *stats)
118        eputs(errmsg);
119        fflush(stderr);
120        
121 <      #ifndef BSD
121 >      #ifdef SIGCONT
122           signal(SIGCONT, pmapPreCompReport);
123        #endif
124     }
# Line 180 | Line 179 | void pmapBiasCompReport (char *stats)
179        eputs(errmsg);
180        fflush(stderr);
181        
182 <      #ifndef BSD
182 >      #ifndef SIGCONT
183           signal(SIGCONT, pmapDistribReport);
184        #endif
185     }
# Line 190 | Line 189 | void pmapBiasCompReport (char *stats)
189     void pmapPreCompReport()
190     /* Report global photon precomputation progress */
191     {
192 +      char tmp [512];
193 +      
194        repLastTime = time(NULL);
195        sprintf(errmsg, "%lu precomputed, ", repProgress);
196  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines