Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 588a897119f3f765bfa0e52664f6c876797594fd
Ticket: 585178ffffffffffffffffffffffffffffffffff
test failures for cross-compiled HEAD
User & Date: pointsman on 2002-07-24 22:04:27
Changes

  1. icomment:
    Logged In: YES 
    user_id=13222
    
    Vince,
    
    thank you for jumping in !
    
    TclpObjLink() definitely is being called. 
    
    Assuming TCHAR is basically something like 'typedef char
    TCHAR' I inserted
    
        if (toPtr != NULL) {
            int res;
            TCHAR* LinkTarget = (TCHAR*)Tcl_FSGetNativePath(toPtr);
            TCHAR* LinkSource =
    (TCHAR*)Tcl_FSGetNativePath(pathPtr);
            fprintf (stderr, "LinkTarget: '%s' LinkSource: '%s'\n",
                         LinkTarget, LinkSource);
            if (LinkSource == NULL || LinkTarget == NULL) {
                return NULL;
            }
            /* etc. */
    
    Running the test, that gave me:
    
    LinkTarget: 'C' LinkSource: 'C'
    
    which looks strange. But if I inserted that debugging
    fprintf() from above also on my w2k box into the source, and
    compiled with VC++ 6.0, I got the same output!. Which
    datatype, the heck, has TCHAR ? tchars.h out of the VC++
    include dir seems to suggest, it's something like char, but
    I'm really not sure. 
    
    I also inserted
    
            fprintf (stderr, "LinkTarget: '%s' LinkSource: '%s'\n",
                          Tcl_GetString (toPtr), Tcl_GetString
    (pathPtr));
    
    This gave me absolute paths, in Tcl style, exactly the ones,
    that are also shown in the test output.
    
    Please, could you guide me a bit further?
    
    rolf
    
    
    
  2. login: "pointsman"
  3. mimetype: "text/plain"
  4. username: "pointsman"