ntdll/directory.c wine_nt_to_unix_file_name() parse string to int instead of cast char, where string may be passed

A C Hurst A.Hurst at sheffield.ac.uk
Wed Nov 19 08:58:59 CST 2008

Fixes a problem I noticed with EnumSerialPorts, when it tries to enumerate COM ports 1 - 255 using
e.g. dev = "com236" would succesfully find /dev/ttyS1 through the dev[3] cast passed to
get_default_com_device, when stat(.. "<configdir>/dosdevices/com236" ..) fails and falls though.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diff2.txt
Url: http://www.winehq.org/pipermail/wine-patches/attachments/20081119/d5d17c8f/attachment.txt 

More information about the wine-patches mailing list