Uwe Bonnes <bon(a)elektron.ikp.physik.tu-darmstadt.de> writes:
appended patch opens the devicefile connected to a drive as connected by the user in ~/.wine/config [Drive X] "Device" = "/dev/yyy". The appropriate action on that file ( read, write, set_file_pointer, ...) succeed according the the righte the user has on that device.
The device should be opened like a normal file, using the create_file request. Then there wouldn't be any need to change the server device object (which is a nasty hack that should be removed). -- Alexandre Julliard julliard(a)winehq.com
"Alexandre" == Alexandre Julliard <julliard(a)winehq.com> writes:
Alexandre> Uwe Bonnes <bon(a)elektron.ikp.physik.tu-darmstadt.de> writes: >> appended patch opens the devicefile connected to a drive as connected >> by the user in ~/.wine/config [Drive X] "Device" = "/dev/yyy". The >> appropriate action on that file ( read, write, set_file_pointer, ...) >> succeed according the the righte the user has on that device. Alexandre> The device should be opened like a normal file, using the Alexandre> create_file request. Then there wouldn't be any need to Alexandre> change the server device object (which is a nasty hack that Alexandre> should be removed). Alexandre: Do I understand your last sentence right? server/device.c should disapear? It will probably take some time until I understand the implications. Bye -- Uwe Bonnes bon(a)elektron.ikp.physik.tu-darmstadt.de Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt --------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
Uwe Bonnes <bon(a)elektron.ikp.physik.tu-darmstadt.de> writes:
Alexandre:
Do I understand your last sentence right?
server/device.c should disapear?
Yes, it's a temporary hack. Devices should be normal file handles. Eric's file management patch is going to take care of that I believe. -- Alexandre Julliard julliard(a)winehq.com
participants (3)
-
Alexandre Julliard -
Eric Pouech -
Uwe Bonnes