Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 32a6be2a02ad28f4124e7f6c32d7aace7a1249d5
Ticket: 529661ffffffffffffffffffffffffffffffffff
cmdMZ-1.4, http-4.14 failure in Solaris
User & Date: nobody on 2002-03-20 12:58:30
Changes

  1. icomment:
    Logged In: NO 
    
    Some more info...
    
    Using printf statements I tracked the problem down to 
    the getcwd call in tclUnixFile.c. For one directory path 
    getcwd returns NULL, as it should. For the other (mount 
    of mount) path getcwd returns the directory name. 
    Attempts to duplicate this behavior using a standalone 
    program failed, getcwd always worked.
    
    Configuring with --disable-shared produces an 
    executable that passes the test. This makes me think I 
    may be grabbing a bad getcwd in my build. Thinking 
    that gcc 3.0 was somehow responsible I then tried:
    
    1. build 8.3.1 using gcc 3.0 - tclsh works fine
    2. build 8.4 using gcc 2.95 - tclsh still fails
    
    It seems that the build/linking is what is causing the 
    bug as opposed to the code itself. Very strange. Maybe 
    I'll try the 8.3.1 Makefile with the 8.4 code and see what 
    happens.  
    
    
  2. login: "nobody"
  3. mimetype: "text/plain"
  4. username: "nobody"