Uwe Bonnes bon@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" == Alexandre Julliard julliard@winehq.com writes:
Alexandre> Uwe Bonnes bon@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@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.
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.
yes it does A+