Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 44243bbda7595a9d279b919246fe680769bd3c43
Ticket: 219254ffffffffffffffffffffffffffffffffff
[file executable file_name] always returns 1 when working fr
User & Date: vincentdarley on 2001-09-11 00:27:09
Changes

  1. assignee changed to: "hobbs"
  2. foundin changed to: "obsolete: 8.3.2"
  3. icomment:
    Logged In: YES 
    user_id=32170
    
    This bug will also impact the behaviour of glob when asking 
    for executable files only.  This means any fix should 
    change the following too (in tclUnixFile.c):
    
    ((types->perm & TCL_GLOB_PERM_X) &&
       (access(entryPtr->d_name, X_OK) != 0))
    )) {
    typeOk = 0;
    
    since a 'stat' buffer has already been filled in and is 
    available to this block of code, the change should be 
    easy.  I leave this to Jeff on un*x to create and test a 
    patch.
    
    
    
  4. login: "vincentdarley"
  5. mimetype: "text/plain"
  6. username: "vincentdarley"