Overview
| Artifact ID: | 3b27e8d2828f012dc9001810da7f95eec469e003 |
|---|---|
| Ticket: | 879555ffffffffffffffffffffffffffffffffff
unix glob has inconsistent behavior |
| User & Date: | vincentdarley on 2004-01-22 17:44:18 |
Changes
- icomment:
Logged In: YES user_id=32170 I believe the fix is to insert 'oldDirSep = dirSep' as follows: again: if (IsSeparatorOrNull(dirSep[2])) { /* Need to skip '.' in the path */ if (retVal == NULL) { CONST char *path = Tcl_GetString(pathPtr); retVal = Tcl_NewStringObj(path, dirSep - path); Tcl_IncrRefCount(retVal); } dirSep += 2; oldDirSep = dirSep; if (dirSep[0] != 0 && dirSep[1] == '.') { goto again; } continue; } thanks for tracking this down, and please do test the above.... - login: "vincentdarley"
- mimetype: "text/plain"
- username: "vincentdarley"