.
D 2008-12-11T14:21:21
J assignee andreas_kupries
J cmimetype text/plain
J comment This\spatch\srefers\sto\sID:\s2413550\n--------------------------------------------\n\nThe\sfollowing\spatch\sperformes\sa\s"name\shint"\sto\sdetect\snative\sWindows\sserial\sport\sname\sby\sone\sof\sthe\sfollowing\spatterns\s(case-insensitive).\sPattern\smatching\sis\schecked\squite\srestrictive,\sbecause\s*all\sopen-filenames*\sneed\sto\spass\sthis\stest.\n\nCOM[1-9]:?\n\\\\.\\COM[0-9]+\n//./COM[0-9]+\n\nFor\sall\sfilenames\snot\smatching\sthe\spatterns\sabove,\sthe\soriginal\sbehavior\sopen-close-reopen\sis\spreserved,\sthus\ssupporting\s(virtual)\scomports\sof\sany\sother\sname:\n1.\sOpen\schannel\swith\sNON-OVERLAPPED\sflag\n2.\sDetect\sserial\sport\sby\schecking\sGetCommState()\sresult\n3.\sReopen\sthe\sserial\sport\swith\sOVERLAPPED\sflag\nThis\sbehavior\scan\sbe\senforced\seven\sfor\snative\sWindows\sserial\sports\se.g.\swith\s\n\n[open\s/com1\sr+]\n\n
J foundin None
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter schroedter
J subsystem 27.\sChannel\sTypes
J title Avoid\sdouble-open\sof\sserial\sports\son\sWindows
J type Patch
K 2417238fffffffffffffffffffffffffffffffff
U schroedter
Z 15989bd29ab1a9549cc7c825c141eb1f