On 12/23/10 04:20 PM, Julien Cristau wrote:
> can't this whole thing be replaced with
> 
>         kbdPath = xf86SetStrOption(pInfo->options, "Device", "/dev/kbd")
> 
> ?
> 
> AFAICT it should handle a NULL pInfo->options fine (returning the
> default).  Not tested though.

Yes it appears so.   Revised patch attached, but won't have a chance to
test it until next week.

-- 
        -Alan Coopersmith-        [email protected]
         Oracle Solaris Platform Engineering: X Window System

Attachment: 0001-sun_kbd-Replace-deprecated-xfree-xcalloc-with-free-c.patch
Description: application/mbox

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to