Re: [xproto: PATCH] Xmd.h: amd64-x32 ABI defines sizeof(long) == sizeof (void*) == 4

2011-12-28 Thread Alan Coopersmith
On 12/28/11 06:34, Lu, Hongjiu wrote: __AMD64__ is defined when 64bit x86 instruction set is used, which is true for x32. The difference is x32 doesn't define __LP64__. Then you have explictly designed your ABI to break existing software, and it is broken by design and should not be adopted.

RE: [xproto: PATCH] Xmd.h: amd64-x32 ABI defines sizeof(long) == sizeof (void*) == 4

2011-12-28 Thread Lu, Hongjiu
__AMD64__ is defined when 64bit x86 instruction set is used, which is true for x32. The difference is x32 doesn't define __LP64__. H.J. -Original Message- From: Alan Coopersmith [mailto:alan.coopersm...@oracle.com] Sent: Wednesday, December 21, 2011 11:33 AM To: Sergei Trofimovich

[PATCH xdm] Support reloading xdm through systemd.

2011-12-28 Thread Michał Górny
Signed-off-by: Michał Górny mgo...@gentoo.org --- xdm.service.in |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/xdm.service.in b/xdm.service.in index e782dd9..cf703c6 100644 --- a/xdm.service.in +++ b/xdm.service.in @@ -4,6 +4,7 @@ After=systemd-user-sessions.service

Re: [xproto: PATCH] Xmd.h: amd64-x32 ABI defines sizeof(long) == sizeof (void*) == 4

2011-12-28 Thread Alan Coopersmith
On 12/28/11 07:33, Lu, Hongjiu wrote: On 12/28/11 06:34, Lu, Hongjiu wrote: __AMD64__ is defined when 64bit x86 instruction set is used, which is true for x32. The difference is x32 doesn't define __LP64__. Then you have explictly designed your ABI to break existing software, and it is broken

RE: [xproto: PATCH] Xmd.h: amd64-x32 ABI defines sizeof(long) == sizeof (void*) == 4

2011-12-28 Thread Lu, Hongjiu
On 12/28/11 06:34, Lu, Hongjiu wrote: __AMD64__ is defined when 64bit x86 instruction set is used, which is true for x32. The difference is x32 doesn't define __LP64__. Then you have explictly designed your ABI to break existing software, and it is broken by design and should not be

Re: [xproto: PATCH] Xmd.h: amd64-x32 ABI defines sizeof(long) == sizeof (void*) == 4

2011-12-28 Thread Mark Kettenis
From: Lu, Hongjiu hongjiu...@intel.com Date: Wed, 28 Dec 2011 14:34:09 + __AMD64__ is defined when 64bit x86 instruction set is used, which is true for x32. The difference is x32 doesn't define __LP64__. Chapter 7, Development Environment, of the AMD64 ABI (the non-x32 version) does

[PATCH xdm] xdm.service: use WantedBy= in [Install].

2011-12-28 Thread Michał Górny
This syntax is a little shorter and more correct. Signed-off-by: Michał Górny mgo...@gentoo.org --- xdm.service.in |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/xdm.service.in b/xdm.service.in index cf703c6..c82a40a 100644 --- a/xdm.service.in +++ b/xdm.service.in @@

Re: [xproto: PATCH] Xmd.h: amd64-x32 ABI defines sizeof(long) == sizeof (void*) == 4

2011-12-28 Thread Alan Coopersmith
On 12/28/11 12:29, Lu, Hongjiu wrote: From: Lu, Hongjiuhongjiu...@intel.com Date: Wed, 28 Dec 2011 14:34:09 + __AMD64__ is defined when 64bit x86 instruction set is used, which is true for x32. The difference is x32 doesn't define __LP64__. Chapter 7, Development Environment, of the

Re: [PATCH 01/11] glx: Fix mishandling of shared contexts

2011-12-28 Thread Ian Romanick
On 12/24/2011 03:35 PM, Eric Anholt wrote: On Fri, 23 Dec 2011 15:18:19 -0800, Ian Romanicki...@freedesktop.org wrote: From: Ian Romanickian.d.roman...@intel.com Signed-off-by: Ian Romanickian.d.roman...@intel.com --- glx/glxcmds.c | 22 +++--- 1 files changed, 11

Re: xf86-input-evdev: Changes to 'master'

2011-12-28 Thread Peter Hutterer
On Tue, Dec 27, 2011 at 06:42:35PM -0800, Jeremy Huddleston wrote: This is causing the tinderbox to fail: http://tinderbox.x.org/builds/2011-12-27-0029/logs/xf86-input-evdev/#configure due to missing mtdev. Can you please update xorg.modules, so jhbuild will pull in mtdev? fixed with

[PATCH] Check MGAAllocAdaptor() for memory allocation failure

2011-12-28 Thread Alan Coopersmith
If it couldn't allocate memory, don't attempt to write a bunch of values to the NULL pointer before returning it, but just pass the NULL along right away. Resolves parfait warnings of the form: Error: Null pointer dereference (CWE 476) Write to null pointer 'adapt' at line 322 of

[PATCH:libX11] Add more Xkb man pages to the See Also lists for core keyboard functions

2011-12-28 Thread Alan Coopersmith
Signed-off-by: Alan Coopersmith alan.coopersm...@oracle.com --- man/IsCursorKey.man|1 + man/XChangeKeyboardControl.man |4 man/XChangeKeyboardMapping.man |1 + man/XLookupKeysym.man |2 ++ man/XStringToKeysym.man|1 + 5 files changed, 9

RE: [xproto: PATCH] Xmd.h: amd64-x32 ABI defines sizeof(long) == sizeof (void*) == 4

2011-12-28 Thread Lu, Hongjiu
From: Lu, Hongjiu hongjiu...@intel.com Date: Wed, 28 Dec 2011 14:34:09 + __AMD64__ is defined when 64bit x86 instruction set is used, which is true for x32. The difference is x32 doesn't define __LP64__. Chapter 7, Development Environment, of the AMD64 ABI (the non-x32