Overview
| Artifact ID: | 7320b6934da748e8655f6a41dbea76a1f0412953 |
|---|---|
| Ticket: | 682500ffffffffffffffffffffffffffffffffff
speed up filesystem patch |
| User & Date: | hobbs on 2003-02-09 10:00:29 |
Changes
- icomment:
Logged In: YES user_id=72656 Note that this part of the patch looks highly suspicious to me, although the return does seem key to Win not going boom: @@ -3766,10 +3761,14 @@ if (objPtr->typePtr == &tclFsPathType) { FsPath *fsPathPtr = (FsPath*) objPtr- >internalRep.otherValuePtr; if (fsPathPtr->filesystemEpoch != theFilesystemEpoch) { + if (objPtr->bytes == NULL) { + + } FreeFsPathInternalRep(objPtr); objPtr->typePtr = NULL; return Tcl_ConvertToType(interp, objPtr, &tclFsPathType); } +return TCL_OK; if (fsPathPtr->cwdPtr == NULL) { return TCL_OK; } else { That's in tclIOUtil.c. Also, this patch blows the unix test suite (no crashes, just lots of errors), so something about it isn't correct. I've isolated it to the tclUnixFile.c change. That looks OK, but I had to revert to the old version for correctness. Note that one simple change erases all speedups on Linux. - login: "hobbs"
- mimetype: "text/plain"
- username: "hobbs"