.
D 2005-10-02T23:27:11
J assignee nobody
J cmimetype text/plain
J comment In\sthe\swinFile.test\sfor\stcl,\stest\swinFile-4.0\s(Enhanced\nNTFS\suser/group\spermissions:\stest\sno\sacccess)\suses\n[getuser]\sto\sfind\sto\sfind\sthe\sownership\sof\sa\sfile\s(set\nowner\s[getuser\s$fname]).\s[getuser]\swill\sfail\sif\sthe\nhostname\scontains\sdashes,\sand\spotentially\sother\slegal\ncharacters\n\nAround\sline\s115,\s[getuser]\suses\sthis\s[regexp]\sto\sfind\nthe\suser\n\n\s\s\s\sregexp\s{\s[A-Z]+\\\\.*$}\s$attrs\sowner\n\nA\shyphen\sis\sa\slegal\scharacter\son\sWindows\sXP,\sso\sthe\n[regexp]\sfails\sif\sthe\sowner\sis\ssomething\slike\n"SOCKET-ERROR\\wl".\n\nI\schanged\sthe\sRE\sbeing\sto\n\n\s\sregexp\s{\s[^\s\\\\]+\\\\.*$}\s$attrs\sowner\n\nwhich\sworks\sfor\sme.
J foundin obsolete:\s8.5a3
J priority 5\sMedium
J resolution None
J status Open
J submitter wliao
J subsystem 69.\sOther
J title winFile.test\sfails\swith\sif\shostname\scontains\shyphens
J type Bug
K 1311285fffffffffffffffffffffffffffffffff
U wliao
Z c2b1e45783b22e8d8fa1cd46314acdc8