[PATCH] test/input: Replace negative architecture test by test for 64-bit

2013-02-12 Thread Geert Uytterhoeven
The test for double-aligned members in dix_valuator_alloc() currently depends on if !defined(__i386__) !defined(__sh__). This covers m68k, where it fails. According to the comment, the test should be limited to 64-bit platforms only. Hence check if sizeof(long) == 8 instead. Signed-off-by:

Re: BCM5974 touchpad issues...

2013-02-12 Thread Timo Aaltonen
On 12.02.2013 09:32, Daniel J Blueman wrote: On 12 February 2013 12:47, Peter Hutterer peter.hutte...@who-t.net wrote: please don't send out 4 emails for the same issue. My apologies; posting, subscribing and resubscribing to the right mailing list with you CCd was racing with quick moderator

Re: [PATCH] test/input: Replace negative architecture test by test for 64-bit

2013-02-12 Thread Michał Masłowski
Geert Uytterhoeven ge...@linux-m68k.org writes: The test for double-aligned members in dix_valuator_alloc() currently depends on if !defined(__i386__) !defined(__sh__). This covers m68k, where it fails. According to the comment, the test should be limited to 64-bit platforms only. Hence

Re: [PATCH] test/input: Replace negative architecture test by test for 64-bit

2013-02-12 Thread Mark Kettenis
From: Geert Uytterhoeven ge...@linux-m68k.org Date: Tue, 12 Feb 2013 11:17:22 +0100 The test for double-aligned members in dix_valuator_alloc() currently depends on if !defined(__i386__) !defined(__sh__). This covers m68k, where it fails. According to the comment, the test should be

Re: [PATCH] test/input: Replace negative architecture test by test for 64-bit

2013-02-12 Thread walter harms
Am 12.02.2013 13:40, schrieb Mark Kettenis: From: Geert Uytterhoeven ge...@linux-m68k.org Date: Tue, 12 Feb 2013 11:17:22 +0100 The test for double-aligned members in dix_valuator_alloc() currently depends on if !defined(__i386__) !defined(__sh__). This covers m68k, where it fails.

Re: [PATCH] test/input: Replace negative architecture test by test for 64-bit

2013-02-12 Thread Geert Uytterhoeven
On Tue, Feb 12, 2013 at 1:40 PM, Mark Kettenis mark.kette...@xs4all.nl wrote: From: Geert Uytterhoeven ge...@linux-m68k.org Date: Tue, 12 Feb 2013 11:17:22 +0100 The test for double-aligned members in dix_valuator_alloc() currently depends on if !defined(__i386__) !defined(__sh__). This

Re: [PATCH] test/input: Replace negative architecture test by test for 64-bit

2013-02-12 Thread Mark Kettenis
Sender: geert.uytterhoe...@gmail.com Date: Tue, 12 Feb 2013 14:03:50 +0100 On Tue, Feb 12, 2013 at 1:40 PM, Mark Kettenis mark.kette...@xs4all.nl wrote: From: Geert Uytterhoeven ge...@linux-m68k.org Date: Tue, 12 Feb 2013 11:17:22 +0100 The test for double-aligned members in

Re: [PATCH] test/input: Replace negative architecture test by test for 64-bit

2013-02-12 Thread Thorsten Glaser
Michał Masłowski dixit: MIPS N32 needs doubles to be 8 byte aligned, while it has 32 bit longs Hrm. Well, GCC has __alignof__ and, I think, so has C11… bye, //mirabilos -- mirabilos│ untested Natureshadow │ tut natürlich Natureshadow │ was auch sonst ... mirabilos│ fijn ☺

Nominations for X.Org Foundation Board of Directors are OPEN

2013-02-12 Thread Matt Dew
(This was posted separately to the general X.org list.) We are seeking nominations for candidates for election to the X.Org Foundation Board of Directors. All X.Org Foundation members are eligible for election to the board. Nominations for the 2012 election are now open and will remain open

[PATCH:makedepend] Bug 56091 - Unsafe use of strcpy() in makedepend

2013-02-12 Thread Alan Coopersmith
Use memmove for potentially overlapping copies. Reported-by: Laurence Jupp laure...@narya.org Signed-off-by: Alan Coopersmith alan.coopersm...@oracle.com --- parse.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parse.c b/parse.c index 2d7c95a..e5240c3 100644 ---

Re: [PATCH:makedepend] Bug 56091 - Unsafe use of strcpy() in makedepend

2013-02-12 Thread Matthieu Herrb
On Tue, Feb 12, 2013 at 06:39:07PM -0800, Alan Coopersmith wrote: Use memmove for potentially overlapping copies. Reported-by: Laurence Jupp laure...@narya.org Signed-off-by: Alan Coopersmith alan.coopersm...@oracle.com Reviewed-by: Matthieu Herrb matthieu.he...@laas.fr --- parse.c |