Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 4e3712662b3ea3158d0813e620afc1ce9a19564d
Ticket: 2884203fffffffffffffffffffffffffffffffff
Crash in filesystem-9.5 test on Windows
User & Date: dgp on 2009-10-24 03:15:42
Changes

  1. icomment:
    
    Since HEAD is ok, see whether applying the
    patch below to 8-5-branch makes it ok as well.
    
    I still prefer to get a full understand to confirm the
    best fix, but if this works it can be a second-best
    solution to get 8.5.8 out.
    
    Index: tclPathObj.c
    ===================================================================
    RCS file: /cvsroot/tcl/tcl/generic/tclPathObj.c,v
    retrieving revision 1.66.2.9
    diff -u -r1.66.2.9 tclPathObj.c
    --- tclPathObj.c        20 Aug 2009 14:59:53 -0000      1.66.2.9
    +++ tclPathObj.c        23 Oct 2009 20:13:31 -0000
    @@ -1457,6 +1457,9 @@
    
            if (PATHFLAGS(pathPtr) != 0
                    && fsPathPtr->cwdPtr == cwdPtr) {
    +#if 1
    +           return fsPathPtr->normPathPtr
    +#else
                pathPtr = fsPathPtr->normPathPtr;
    
                /* TODO: Determine how much, if any, of this forcing
    @@ -1521,6 +1524,7 @@
                pathPtr->typePtr = &tclFsPathType;
    
                return pathPtr;
    +#endif
            }
         }
    
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. username: "dgp"