Skip to content
Tcl Source Code Artifact [99edce3f83]
Login

Artifact [99edce3f83]

Artifact 99edce3f8333656cef8a580938a2453250745c69:

Ticket change [99edce3f83] - Ticket [879555ffffffffff|879555ffff] <i>unix glob has inconsistent behavior</i> status still Open with 4 other changes by vincentdarley on 2004-01-19 18:18:46.
D 2004-01-19T18:18:46
J icomment Logged\sIn:\sYES\s\nuser_id=32170\n\nAll\sof\sthese\swork\sfor\sme\son\sWindows:\n\n%\spwd\nC:/Documents\sand\sSettings/VinceD\n(VinceD)\s2\s%\sglob\s*\n.eclipse-platform\s.tkchatrc\sAlpha-v8\s{Bluetooth\sSoftware}\nCookies\sDesktop\sFavorites\sgsview32.ini\s{My\sDocuments}\nPUTTY.RND\s{Start\sMenu}\stmp\sUserData\sWINDOWS\n(VinceD)\s3\s%\sglob\s.tkchatrc\n.tkchatrc\n(VinceD)\s4\s%\sglob\s./.tkchatrc\n./.tkchatrc\n(VinceD)\s5\s%\sglob\s[pwd]/.tkchatrc\n{C:/Documents\sand\sSettings/VinceD/.tkchatrc}\n(VinceD)\s6\s%\sglob\s../VinceD/.tkchatrc\n../VinceD/.tkchatrc\n(VinceD)\s7\s%\s\n\nSo\sit\smust\sbe\ssomething\sin\sthe\sunix-specific\scode.\s\sNote\nthat\sthe\scode\spath\sused\shere\swill\sbe\s'pattern\s==\sNULL'\spath,\nI\sthink.\n\nThis\smeans\sthe\sbug\s(or\sat\sleast\ssome\svery\sgood\sinformation\nabout\sthe\sbug)\sshould\sbe\sin\sthese\sfew\slines:\n\n\s\s\s\sif\s(pattern\s==\sNULL\s||\s(*pattern\s==\s'\\0'))\s{\n/*\sMatch\sa\sfile\sdirectly\s*/\nnative\s=\s(CONST\schar*)\sTcl_FSGetNativePath(pathPtr);\nif\s(NativeMatchType(native,\stypes))\s{\n\s\s\s\sTcl_ListObjAppendElement(interp,\sresultPtr,\spathPtr);\n}\nTcl_DecrRefCount(fileNamePtr);\nreturn\sTCL_OK;\n\nin\stclUnixFile.c/TclpMatchInDirectory.\n\nSince\sI'm\snot\son\sunix,\scan\sI\sask\syou\sto\sdebug\swhat\sis\sgoing\non\sthere?\s\sIn\sparticular,\swhat\sis\s'native'\sin\sthese\scases?\n\n\n\n
J login vincentdarley
J mimetype text/plain
J username vincentdarley
K 879555ffffffffffffffffffffffffffffffffff
U vincentdarley
Z 8e63599c5ce274f65ba801c56c8f58bc