Re: [PATCH] Look up device file name on device_open

2013-09-09 Thread rekado
Hi Samuel, thank you for your comments. On 09/10/2013 03:03 AM, Samuel Thibault wrote: > - it should only reopen the master device if master_file is not NULL ; I assumed that master_file is always non-NULL when master_device is used, but I was wrong: I overlooked the call to get_privileged_port

Re: [PATCH] Look up device file name on device_open

2013-09-09 Thread Samuel Thibault
Hello, rekado, le Mon 09 Sep 2013 20:37:17 +0800, a écrit : > A fresh `master_device' port is now obtained when accessing the device > file, not only on translator startup. This ensures that the device > can be re-opened after netdde has died. This is indeed the intended fix, but it forgets a co

[PATCH] Look up device file name on device_open

2013-09-09 Thread rekado
A fresh `master_device' port is now obtained when accessing the device file, not only on translator startup. This ensures that the device can be re-opened after netdde has died. --- devnode/devnode.c | 4 1 file changed, 4 insertions(+) diff --git a/devnode/devnode.c b/devnode/devnode.c ind

[PATCH] Look up device file name on device_open

2013-09-09 Thread rekado
Hi, the following patch is supposed to be applied to the dde incubator branch. rekado (1): Look up device file name on device_open devnode/devnode.c | 4 1 file changed, 4 insertions(+) -- 1.8.3.1