[cairo-commit] cairo/src cairo-matrix.c,1.33,1.33.2.1

Carl Worth commit at pdx.freedesktop.org
Mon Sep 12 11:11:51 PDT 2005


Committed by: cworth

Update of /cvs/cairo/cairo/src
In directory gabe:/tmp/cvs-serv32710/src

Modified Files:
      Tag: BRANCH_1_0
	cairo-matrix.c 
Log Message:

2005-09-12  Carl Worth  <cworth at cworth.org>

        Fix for bug #4401 as reported by Tim Mooney:

        * configure.in: Don't bother checking for sincos function.

        * src/cairo-matrix.c: (cairo_matrix_init_rotate): Don't use sincos
        function since it is apparently buggy on some platforms, (Tru64 at
        least).


Index: cairo-matrix.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo-matrix.c,v
retrieving revision 1.33
retrieving revision 1.33.2.1
diff -u -d -r1.33 -r1.33.2.1
--- cairo-matrix.c	23 Aug 2005 12:18:48 -0000	1.33
+++ cairo-matrix.c	12 Sep 2005 18:11:48 -0000	1.33.2.1
@@ -229,12 +229,10 @@
 {
     double  s;
     double  c;
-#if HAVE_SINCOS
-    sincos (radians, &s, &c);
-#else
+
     s = sin (radians);
     c = cos (radians);
-#endif
+
     cairo_matrix_init (matrix,
 		       c, s,
 		       -s, c,



More information about the cairo-commit mailing list