http://bugs.winehq.org/show_bug.cgi?id=58598
--- Comment #6 from Janne janne.kekkonen@gmail.com --- I tried to make a patch which prevents creation of the PARALLEL_PORTS key into registry in case where char array devices is empty.
Made two test with patch:
1. Without symlink to lp0. Realterm starts. 2. With symlink to lp0. Key & content are created and Realterm starts.
diff --git a/dlls/mountmgr.sys/device.c b/dlls/mountmgr.sys/device.c index ba019cdb13d..26517597c68 100644 --- a/dlls/mountmgr.sys/device.c +++ b/dlls/mountmgr.sys/device.c @@ -1997,6 +1997,7 @@ static void create_port_devices( DRIVER_OBJECT *driver, const char *devices ) dosdev_fmt = "lpt%u"; windows_ports_key_name = L"HARDWARE\DEVICEMAP\PARALLEL PORTS"; port_prefix = L"LPT"; + if (strlen(devices)==0) return; }
/* @@ Wine registry key: HKLM\Software\Wine\Ports */