Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: f585d91a321841d481b99bed6f01b858b81a594c
Ticket: 434876ffffffffffffffffffffffffffffffffff
glob of symlink returns incorrect err
User & Date: nobody on 2001-08-20 21:16:24
Changes

  1. icomment:
    Logged In: NO 
    
    I've found a sunos machine I have access to, on which this 
    fails, and have tried my patch below.  It works for me:
    
    sfi ~> ls -l bbb
    lrwxrwxrwx   1 vince    info            3 Aug 20 08:05 bbb -
    > aaa
    sfi ~> ls -l aaa
    ls: aaa: No such file or directory
    Exit 1
    sfi ~> ./tcl/tcl/unix/tclsh
    % info patchlevel
    8.4a4
    % parray tcl_platform
    tcl_platform(byteOrder) = bigEndian
    tcl_platform(machine)   = sun4u
    tcl_platform(os)        = SunOS
    tcl_platform(osVersion) = 5.7
    tcl_platform(platform)  = unix
    tcl_platform(user)      = vince
    % glob bbb*
    bbb
    % glob bbb
    bbb
    %
    
    
    Or, to give an example closer to yours:
    
    % ln -s foo /tmp/notthere
    % glob /tmp/notthere
    /tmp/notthere
    
    I think this means you've got a problem with the wrong 
    version of Tcl being picked up in your testing.  Unless 
    there are strenuous objections I'll mark this bug closed 
    when I apply the patch (along with a variety of other fs 
    changes) -- Vince..
    
    
    
  2. login: "nobody"
  3. mimetype: "text/plain"
  4. username: "nobody"