Subject: Re: DRI success on amd64
To: Juan RP <juan@xtrarom.org>
From: Christos Zoulas <christos@zoulas.com>
List: tech-x11
Date: 06/09/2007 11:23:50
On Jun 9, 2:29am, juan@xtrarom.org (Juan RP) wrote:
-- Subject: Re: DRI success on amd64
| On Sat, 9 Jun 2007 02:24:23 +0200
| Juan RP <juan@xtrarom.org> wrote:
|
| > On Sat, 9 Jun 2007 00:22:53 +0000 (UTC)
| > christos@astron.com (Christos Zoulas) wrote:
| >
| > > Can you send a patch? I don't understand this as off_t is 64 bits on
| > > all archs.
| >
| > The patch was already sent some weeks ago on that list by another
| > person.
|
| Here it is:
|
| http://mail-index.netbsd.org/tech-x11/2007/04/05/0001.html
|
| See the whole thread.
Does the following work?
christos
Index: uvm_device.c
===================================================================
RCS file: /cvsroot/src/sys/uvm/uvm_device.c,v
retrieving revision 1.49
diff -u -u -r1.49 uvm_device.c
--- uvm_device.c 22 Feb 2007 06:05:00 -0000 1.49
+++ uvm_device.c 9 Jun 2007 15:20:53 -0000
@@ -141,7 +141,7 @@
* Negative offsets on the object are not allowed.
*/
- if (off < 0)
+ if (off != UVM_UNKNOWN_OFFSET && off < 0)
return(NULL);
/*