ports/98590: [FIX] ports rxvt-devel on amd64 crashes inside rxvt_selection_send()

Pav Lucistnik pav at FreeBSD.org
Fri Jan 4 13:55:32 UTC 2008


Can you verify this does the right thing on both i386 and amd64?

Yoshiaki Kasahara píše v pá 04. 01. 2008 v 22:46 +0900:
> 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
> 
-- 
Pav Lucistnik <pav at oook.cz>
              <pav at FreeBSD.org>

Any Palm app requiring an 90+ page manual has lost its vision.
    -- words about DateBk4 on Action Names list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: Toto je digit?ln? podepsan? ??st zpr?vy
URL: <http://lists.freebsd.org/pipermail/freebsd-ports-bugs/attachments/20080104/94b064fa/attachment.sig>


More information about the freebsd-ports-bugs mailing list