Patch to fix the Linux 2.2 joysitck interface

Alexandre Julliard julliard at winehq.com
Tue Jul 31 13:12:09 CDT 2001


David Hagood <wowbagger at sktc.net> writes:

> To be done: the file descriptor is never closed under normal 
> circumstances - this might be a problem if a Wine app is opened and 
> accesses the stick, as the file descriptor will be open until that 
> process terminates. If this is viewed as a problem, it would be a simple 
> matter to add a device close function to the Wine driver to close the FD.

Shouldn't this be done in the driver DRV_OPEN/DRV_CLOSE calls then?
Any joystick experts out there?

(BTW please use diff -u to generate patches, the default diff format
is unreadable).

-- 
Alexandre Julliard
julliard at winehq.com




More information about the wine-devel mailing list