Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Apr 2004 23:03:38 -0700 (PDT)
From:      Andrew Belashov <bel@orel.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/66074: [PATCH] x11/wmcliphist: code cleanup for 64-bit platform sparc64
Message-ID:  <200404290603.i3T63cnX028763@www.freebsd.org>
Resent-Message-ID: <200404290610.i3T6AJf4093091@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         66074
>Category:       ports
>Synopsis:       [PATCH] x11/wmcliphist: code cleanup for 64-bit platform sparc64
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 28 23:10:18 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Andrew Belashov
>Release:        FreeBSD 5.2-CURRENT sparc64
>Organization:
JSC "CenterTelecom"
>Environment:
FreeBSD bel.localdomain 5.2-CURRENT FreeBSD 5.2-CURRENT #1: Thu Apr  8 16:58:57 MSD 2004     bel@bel.localdomain:/usr/obj/usr/src/sys/NOSMP  sparc64
Kernel build without SMP option for stability!     
>Description:
wmcliphist does not save/load clipboard history to/from file $HOME/.wmcliphist.data
Reason: wmcliphist store length of objects in 32-bit variable, but size_t is 64-bit.
>How-To-Repeat:
Build port and run wmcliphist. Copy any value to clipboard and exit. Then run wmcliphist again. wmcliphist exiting with error message "cannot load history".
>Fix:
Apply this patch <http://www.orel.ru/~bel/patches/wmcliphist.patch
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404290603.i3T63cnX028763>