Date: Fri, 04 Jan 2008 14:55:28 +0100 From: Pav Lucistnik <pav@FreeBSD.org> To: Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp> Cc: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/98590: [FIX] ports rxvt-devel on amd64 crashes inside rxvt_selection_send() Message-ID: <1199454928.1192.32.camel@pav.hide.vol.cz> In-Reply-To: <20080104.224625.723503462517847649.kasahara@nc.kyushu-u.ac.jp> References: <200801041336.m04Davse003158@freefall.freebsd.org> <20080104.224625.723503462517847649.kasahara@nc.kyushu-u.ac.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-PPSZe1D9clCkdqa6H/uP Content-Type: text/plain; charset=ISO8859-2 Content-Transfer-Encoding: quoted-printable Can you verify this does the right thing on both i386 and amd64? Yoshiaki Kasahara p=ED=B9e v p=E1 04. 01. 2008 v 22:46 +0900: > Hi. >=20 > Here is the simplest patch. I'm not sure if hard-coded '32' is > appropreate here. >=20 > --- src/screen.c.orig Fri Jan 4 22:41:14 2008 > +++ src/screen.c Fri Jan 4 22:41:45 2008 > @@ -3548,7 +3548,7 @@ > /* TODO: Handle MULTIPLE */ > } else if (rq->target =3D=3D r->h->xa[XA_TIMESTAMP] && r->selection.= text) { > XChangeProperty(r->Xdisplay, rq->requestor, rq->property, XA_INTE= GER, > - (8 * sizeof(Time)), PropModeReplace, > + 32, PropModeReplace, > (unsigned char *)&r->h->selection_time, 1); > ev.property =3D rq->property; > } else if (rq->target =3D=3D XA_STRING >=20 --=20 Pav Lucistnik <pav@oook.cz> <pav@FreeBSD.org> Any Palm app requiring an 90+ page manual has lost its vision. -- words about DateBk4 on Action Names list --=-PPSZe1D9clCkdqa6H/uP Content-Type: application/pgp-signature; name=signature.asc Content-Description: Toto je =?UTF-8?Q?digit=C3=A1ln=C4=9B?= =?ISO-8859-1?Q?_podepsan=E1?= =?UTF-8?Q?_=C4=8D=C3=A1st?= =?ISO-8859-1?Q?_zpr=E1vy?= -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQBHfjrQntdYP8FOsoIRAjtkAJ0WVJBKNXOzq2j/qOis35/mAhmpYgCePIfc 0u7jhAXjqcTMpEKQUK9jfiM= =d/Wj -----END PGP SIGNATURE----- --=-PPSZe1D9clCkdqa6H/uP--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1199454928.1192.32.camel>