Message-ID: <20041018085245.GD5001@pomme> Date: Mon, 18 Oct 2004 10:52:45 +0200 From: Matijs van Zuijlen <email address hidden> To: Sebastien Bacher <email address hidden> Cc: <email address hidden> Subject: Re: Bug#273729: oops
--0H629O+sVkh21xTi Content-Type: multipart/mixed; boundary="lc9FT7cWel8HagAv" Content-Disposition: inline
--lc9FT7cWel8HagAv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable
On Mon, Oct 18, 2004 at 08:28:38AM +0200, Sebastien Bacher wrote: > Where the patch ? It seems to be missing in the bug report ...
Yes, in addition to messing up the control commands, I forgot to attach the patch. *sigh*. Well, here it is.
--=20 Matijs van Zuijlen http://www.matijs.net/
--lc9FT7cWel8HagAv Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="librsvg2.patch"
--- rsvg-paint-server.c.orig 2004-10-17 20:27:15.958792130 +0200 +++ rsvg-paint-server.c 2004-10-17 20:24:18.963987685 +0200 @@ -240,6 +240,9 @@ scale = 0.; else scale = 1.0 / (dx * dx + dy * dy); + if (isnan(scale)) scale = 0.; + if (isnan(dx)) dx = 0.; + if (isnan(dy)) dy = 0.; agl->a = dx * scale; agl->b = dy * scale; agl->c = -(x1 * agl->a + y1 * agl->b);
--lc9FT7cWel8HagAv--
--0H629O+sVkh21xTi Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQFBc4Rdh3TgaXYDPEERAkj3AJkB6fF1u1HtNeuM7sCj1Cd0hycU1QCffqgo zlmB1Hox1yD7jqRqjyd93sE= =DB8X -----END PGP SIGNATURE-----
--0H629O+sVkh21xTi--
Message-ID: <20041018085245 .GD5001@ pomme>
Date: Mon, 18 Oct 2004 10:52:45 +0200
From: Matijs van Zuijlen <email address hidden>
To: Sebastien Bacher <email address hidden>
Cc: <email address hidden>
Subject: Re: Bug#273729: oops
--0H629O+sVkh21xTi "lc9FT7cWel8Hag Av" Disposition: inline
Content-Type: multipart/mixed; boundary=
Content-
--lc9FT7cWel8HagAv Disposition: inline Transfer- Encoding: quoted-printable
Content-Type: text/plain; charset=us-ascii
Content-
Content-
On Mon, Oct 18, 2004 at 08:28:38AM +0200, Sebastien Bacher wrote:
> Where the patch ? It seems to be missing in the bug report ...
Yes, in addition to messing up the control commands, I forgot to attach the
patch. *sigh*. Well, here it is.
--=20 www.matijs. net/
Matijs van Zuijlen http://
--lc9FT7cWel8HagAv Disposition: attachment; filename= "librsvg2. patch"
Content-Type: text/plain; charset=us-ascii
Content-
--- rsvg-paint- server. c.orig 2004-10-17 20:27:15.958792130 +0200
+++ rsvg-paint-server.c 2004-10-17 20:24:18.963987685 +0200
@@ -240,6 +240,9 @@
scale = 0.;
else
scale = 1.0 / (dx * dx + dy * dy);
+ if (isnan(scale)) scale = 0.;
+ if (isnan(dx)) dx = 0.;
+ if (isnan(dy)) dy = 0.;
agl->a = dx * scale;
agl->b = dy * scale;
agl->c = -(x1 * agl->a + y1 * agl->b);
--lc9FT7cWel8Ha gAv--
--0H629O+sVkh21xTi pgp-signature; name="signature .asc" Description: Digital signature Disposition: inline
Content-Type: application/
Content-
Content-
-----BEGIN PGP SIGNATURE-----
gaXYDPEERAkj3AJ kB6fF1u1HtNeuM7 sCj1Cd0hycU1QCf fqgo qjyd93sE=
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFBc4Rdh3T
zlmB1Hox1yD7jqR
=DB8X
-----END PGP SIGNATURE-----
--0H629O+ sVkh21xTi- -