kfish / xsel

A command-line program for getting and setting the contents of the X selection

Home Page:http://www.kfish.org/software/xsel/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Portability issues to 64-bit systems

mdempsky opened this issue · comments

XGetWindowProperty and XChangeProperty are defined as using arrays of "long" when format==32, even on 64-bit systems where "long" is a 64-bit type. However, xsel.c uses "int" for format==32. OpenBSD's now including this patch for xsel in its ports tree to fix problems on LP64 platforms: http://www.openbsd.org/cgi-bin/cvsweb/ports/x11/xsel/patches/patch-xsel_c

Applied in commit 3254b78