Date: Fri, 04 Jan 2008 22:46:25 +0900 (JST) From: Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp> To: pav@FreeBSD.org Cc: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/98590: [FIX] ports rxvt-devel on amd64 crashes inside rxvt_selection_send() Message-ID: <20080104.224625.723503462517847649.kasahara@nc.kyushu-u.ac.jp> In-Reply-To: <200801041336.m04Davse003158@freefall.freebsd.org> References: <200801041336.m04Davse003158@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi. Here is the simplest patch. I'm not sure if hard-coded '32' is appropreate here. --- 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 == r->h->xa[XA_TIMESTAMP] && r->selection.text) { XChangeProperty(r->Xdisplay, rq->requestor, rq->property, XA_INTEGER, - (8 * sizeof(Time)), PropModeReplace, + 32, PropModeReplace, (unsigned char *)&r->h->selection_time, 1); ev.property = rq->property; } else if (rq->target == XA_STRING
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080104.224625.723503462517847649.kasahara>