Update of /cvsroot/ufraw/ufraw
In directory vz-cvs-2.sog:/tmp/cvs-serv30252

Modified Files:
        dcraw_indi.c 
Log Message:
Fix OpenMP build problem with Sun Studio (bug #3205673).

Index: dcraw_indi.c
===================================================================
RCS file: /cvsroot/ufraw/ufraw/dcraw_indi.c,v
retrieving revision 1.87
retrieving revision 1.88
diff -u -d -r1.87 -r1.88
--- dcraw_indi.c        27 Feb 2011 02:48:32 -0000      1.87
+++ dcraw_indi.c        13 Apr 2011 11:30:43 -0000      1.88
@@ -137,6 +137,10 @@
   default(none)                                                \
   shared(nc,image,size)                                        \
   private(c,i,hpass,lev,lpass,row,col,thold,fimg,temp)
+#ifdef __sun                   /* Fix bug #3205673 - NKBJ */
+#pragma omp parallel for                               \
+  shared(noise)
+#endif
 #endif
     FORC(nc) {                 /* denoise R,G1,B,G3 individually */
         fimg = (float *) malloc(size * 3 * sizeof * fimg);


------------------------------------------------------------------------------
Forrester Wave Report - Recovery time is now measured in hours and minutes
not days. Key insights are discussed in the 2010 Forrester Wave Report as
part of an in-depth evaluation of disaster recovery service providers.
Forrester found the best-in-class provider in terms of services and vision.
Read this report now!  http://p.sf.net/sfu/ibm-webcastpromo
_______________________________________________
ufraw-cvs mailing list
ufraw-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ufraw-cvs

Reply via email to